On Sat, 13 Nov 2010, bored_dev wrote:
> In my experience, pppd will not replace an existing default route from
> another interface. If you first remove the default route to eth0, and
> then fire up pppd, you will see that pppd correctly creates a default
> route to your ppp0 interface.
Surely it depends on what options it has been set up with. From the pppd
manual page, detailing what options pppd can be given...
defaultroute
Add a default route to the system routing tables, using the peer
as the gateway, when IPCP negotiation is successfully completed.
This entry is removed when the PPP connection is broken. This
option is privileged if the nodefaultroute option has been spec-
ified.
replacedefaultroute
This option is a flag to the defaultroute option. If default-
route is set and this flag is also set, pppd replaces an exist-
ing default route with the new default route.
So the OP needs to check what options are specified when pppd is invoked.
>
> --- In "sekharss" <> wrote:
> >
> > hi,
> >
> > I am getting above message when I am trying to connect through pppd. The
> > same script is running fine in Redhat Linux, I am able to get IP, DNS,
> > gateway.
> >
> > As I proven the script in Redhat I ran the same script in TS-7200. I am
> > able to get IP, DNS address but not Gateway. I am getting message on
> > terminal as "not replacing existing default route to eth0" and ip-up is
> > getting terminated with status = 0xff.
> >
> > Please suggest
> >
> > regards
> > sekhar
> >
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|