Re: pppd "not replacing existing default route to eth0"
ah, same thinking :) didn't see your message before I replied then. Thanks. - Original Message - From: "Kevin Myers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 1:01 PM Subject: Re: pppd "not replacing existing default route to eth0" > On Mon, 12 Aug 2002 08:46:09 +0800, Kevin wrote: > > >When I run pppd, it's connecting to the ISP ok, but traffic doesn't go anywhere and in /var/log/messages, I'm getting "not replacing existing default route to eth0". I can see why outgoing traffic isn't going anywhere cause its trying to go out via eth0, but why is this? > > > >I *think* this has something to do with static-routes in /etc/sysconfig but I'm not sure. > > Why do you think that? > > The log file says that the problem is a routing one. There is no route to > the internet, as ppp has not replaced the default gateway that was already > in place. > > What you need to find out is where the current default route is coming from, > and why it's there. (169.254 is a windows auto config IP???) > > This would be easy to test, before you bring ppp up delete the default route > with: > > route del default > > and see what happens. > > You can check the routing table with: > > route > > and restore the old default gateway with > > route add default gw 169.254.236.254 > > (Though unless you know what this is for, it's not useful) > > HTH. > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: pppd "not replacing existing default route to eth0" [solved]
Thanks for the quick response Ed. I knew it had something to do with the routing, and I had had trouble with the static-routes file before but it didn't appear to be it this time.I dunno why I didn't think of this before, but a simple route del default and then route add default ppp0 sorted it out perfectly. Thanks anyway. Kevin GreenKD Micro Software :: "Servicing all ends of the evolutionary scale" - Frank Holmes[EMAIL PROTECTED] MP 107, Market City, 280 Bannister Road, Canning Vale WA 6155.Phone: 9256 1566 (2778 internal) Mobile: 0419 949 254. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 9:04 AM Subject: Re: pppd "not replacing existing default route to eth0" > On Mon, 12 Aug 2002, Kevin - KD Micro Software wrote:> > > When I run pppd, it's connecting to the ISP ok, but traffic doesn't go> > anywhere and in /var/log/messages, I'm getting "not replacing existing> > default route to eth0". I can see why outgoing traffic isn't going> > anywhere cause its trying to go out via eth0, but why is this?> > > > I *think* this has something to do with static-routes in /etc/sysconfig> > but I'm not sure.> > Do the static routes include a static default route? If so, then you are> probably correct in your guess.> > At this point the obvious answer is to "experiment". Making sure you keep> a copy of your configuration files, delete the static routes you guess may> be causing the problem. If that clears things up with regards to Internet> connectivity...then you may be all the way thereor part of the way > there. Depending on your network topology you may have to add additional > static routes to compensate for the new default route.> > Regards,> Ed> > -- > http://www.shorewall.net/ for all your firewall needs> http://www.greshko.com http://webcams.greshko.com> > > > -- > redhat-list mailing list> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe> https://listman.redhat.com/mailman/listinfo/redhat-list
Re: pppd "not replacing existing default route to eth0"
On Mon, 12 Aug 2002 08:46:09 +0800, Kevin wrote: >When I run pppd, it's connecting to the ISP ok, but traffic doesn't go anywhere and >in /var/log/messages, I'm getting "not replacing existing default route to eth0". I >can see why outgoing traffic isn't going anywhere cause its trying to go out via >eth0, but why is this? > >I *think* this has something to do with static-routes in /etc/sysconfig but I'm not >sure. Why do you think that? The log file says that the problem is a routing one. There is no route to the internet, as ppp has not replaced the default gateway that was already in place. What you need to find out is where the current default route is coming from, and why it's there. (169.254 is a windows auto config IP???) This would be easy to test, before you bring ppp up delete the default route with: route del default and see what happens. You can check the routing table with: route and restore the old default gateway with route add default gw 169.254.236.254 (Though unless you know what this is for, it's not useful) HTH. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: pppd "not replacing existing default route to eth0"
On Mon, 12 Aug 2002, Kevin - KD Micro Software wrote: > When I run pppd, it's connecting to the ISP ok, but traffic doesn't go > anywhere and in /var/log/messages, I'm getting "not replacing existing > default route to eth0". I can see why outgoing traffic isn't going > anywhere cause its trying to go out via eth0, but why is this? > > I *think* this has something to do with static-routes in /etc/sysconfig > but I'm not sure. Do the static routes include a static default route? If so, then you are probably correct in your guess. At this point the obvious answer is to "experiment". Making sure you keep a copy of your configuration files, delete the static routes you guess may be causing the problem. If that clears things up with regards to Internet connectivity...then you may be all the way thereor part of the way there. Depending on your network topology you may have to add additional static routes to compensate for the new default route. Regards, Ed -- http://www.shorewall.net/ for all your firewall needs http://www.greshko.com http://webcams.greshko.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
pppd "not replacing existing default route to eth0"
Hi all, When I run pppd, it's connecting to the ISP ok, but traffic doesn't go anywhere and in /var/log/messages, I'm getting "not replacing existing default route to eth0". I can see why outgoing traffic isn't going anywhere cause its trying to go out via eth0, but why is this? I *think* this has something to do with static-routes in /etc/sysconfig but I'm not sure. /var/log/messages Aug 12 08:39:02 mail pppd[17779]: pppd 2.4.1 started by root, uid 0Aug 12 08:39:34 mail pppd[17779]: Serial connection established.Aug 12 08:39:34 mail pppd[17779]: Using interface ppp0Aug 12 08:39:34 mail pppd[17779]: Connect: ppp0 <--> /dev/ttyS0Aug 12 08:39:42 mail pppd[17779]: not replacing existing default route to eth0 [169.254.236.254]Aug 12 08:39:42 mail pppd[17779]: local IP address XXX.XXX.XXX.XXXAug 12 08:39:42 mail pppd[17779]: remote IP address XXX.XXX.XXX.XXX TIA Kevin GreenKD Micro Software :: "Servicing all ends of the evolutionary scale" - Frank Holmes[EMAIL PROTECTED] MP 107, Market City, 280 Bannister Road, Canning Vale WA 6155.Phone: 9256 1566 (2778 internal) Mobile: 0419 949 254.