I got another twister for ya'll.

I have 2 clients which I dial via PPP which run on the same subnet.
This isn' too bad until you see the IPs I have to play with.

--------------------                ----------------------
|  client1         |                |   Client2          |
--------------------                ----------------------
          | 192.168.0.1                      | 192.168.0.2
          |                                  |
          | 192.168.0.2                      | 192.168.0.200
-------------------------------------------------------------
|                    Linux PPP server                       |
-------------------------------------------------------------
Now that my diagram looks piccaso-ish and hope it looks OK on your end, the
problem is that I cannot route to Client2's network via 192.168.0.2 as this
is my IP on Client1's link.

The only way I have found to stop this (besides trying to convince Client1
to change my IP) is to use "route add -net 192.168.0.13/32 dev pppX" where X
is the ppp device which has connected.
Thing is that pppX changes when connected, in other words I may use "ifup
ppp3" but when it connects it's called ppp0.

The only way around this is to script /etc/ppp/ipup.local to check if it's
ppp3 coming up and if so check what name has it become and route it... bit
crude way to do something which should be easy.
Got it? 
I've been nagging Client1 to change my IP but they are hopeless....

Any other ideas around this?


thanks,
George Vieira
Network Administrator
Citadel Computer Systems P/L
http://www.citadelcomputer.com.au


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to