Ok I found a solution, thanks to George route add -net X.X.104.0/24 gw X.X.143.187
and this puts everything on X.X.0.0 through the X.X.143.187 ppp0 Cheers Chris On Fri, 1 Feb 2002 10:51:27 +1100 "George Vieira" <[EMAIL PROTECTED]> wrote: > You probably find that it's not routing the whole network via the dialup > device.. > > Other words your dial up device only sees X.X.143.YY which is the dial up > server... > > in your ip-up.local , try detecting that dial up connection and route the > network through it.. > > route add -net X.X.143.0/24 gw $5 # (or was it $6).. > > try that... > > > I'd firstly add the route manually and see if that fixes it.. > > thanks, > George Vieira > Systems Manager > Citadel Computer Systems P/L > http://www.citadelcomputer.com.au > > > -----Original Message----- > From: Booth, Christopher (Aus) - ATP > [mailto:[EMAIL PROTECTED]] > Sent: Friday, 01 February 2002 10:33 AM > To: '[EMAIL PROTECTED]' > Subject: [SLUG] routing > > > Hi guys > > At work I have my Linux laptop on the network with a static IP > > X.X.105.30 > > When I dial-in I am given another IP address > > X.X.143.187 > > Most things work, PROXY for websurfing, DNS, but if I wan't to access my > email thorugh sylpheed, or ping the mail server > X.X.104.13 it always trys to connect through eth0 (X.X.105.30). > > If I ifdown eth0 then it only uses ppp0, which is fine unless I want to > access something via eth0. > > What IPTABLES or route commands would I need to use to enable it to use ppp0 > as the interface that it connects through instead ? > > I have the same problem, if I use my home box for internet connection > sharing from Win 2000, via a network crossover cable to my laptop. This > uses 192.168.0.1 for the Win 2K and an IP alias on my laptop 192.168.0.4 on > eth0:0 > Obviously I can't ifdown eth0 as I lose all connectivity. > > TIA > > Chris > > > > -- > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
