[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: eth0 and ppp0 routing issues



ppp will not set a default route if a default route currently exists.

Next time try this:-

route del default
route add -net 172.16.x.x  (172.16.0.0 if your netmask is 255.255.0.0)
pon

This time ppp will set a default route for you.

The above may not be exactly right as it makes an assumption or two, but
it will be close.  Contact me if you require further help.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <allen@cleo.murdoch.edu.au>  Perth, Western Australia
voice +61 8 316 2486    modem +61 8 364-9832      32S, 116E vk6lj
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Mon, 3 Aug 1998, Frederic Breitwieser wrote:

> Greetings,
> 
> Being new to Debian (as well as Linux in general), I've been suffering for
> a short while and was hoping you folks might be able to assist me.
> 
> I have successfully installed the rescue, drivers, base 1-5 diskettes, and
> was attempting to setup the debian box to dial my ISP and download the rest
> of the system via dselect.
> 
> Unfortunately, once connected, pinging "www.yahoo.com" or any other public
> address, results in the packet light on my hub to flash, which indicates
> that all of the data being routed is heading out my ethernet card (eth0)
> rather than the dial-up connection.  Internally, my network is the standard
> 172.16.x.x, and externally its whatever my ISP provides.
> 
> What would be the easiest way of ensuring that 172.16.x.x addresses get
> routed through eth0, and everything else gets routed out the ppp0
> connection?  I had the same issue with debian 1.3, so obviously, its
> something I'm doing, or not doing.  Any suggestions would be appreciated.
> 
> frederic.breitwieser@xephic.dynip.com
> Frederic Breitwieser
> Homebrew Automotive Mailing List
> Bridgeport, Connecticut
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 



--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: