On Thu, May 15, 2008 at 01:20:02PM +0300, Denis Doroshenko wrote:
 
> that's it. but when i run ppp and issue "dial mobile" it connects and
> adds a default route:
> 
> $ netstat -rnf inet
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
> default            212.47.101.26      UH         0        0     -     4 tun0
> default            10.19.255.126      UGS        1       12     -     4 ath0
> ...
> 
> why does it do that? manual and google say that it would do that in
> case appropriate ppp.conf section included something like:
> 
> add default HISADDR
> 
> but in my case i don't want ppp to add a default route! not that there
> is no ppp.linkup and ppp.linkdown as well. this route is also tough
> enough to remove:
> 
> # route delete default 212.47.101.26
> route: writing to routing socket: No such process
> delete net default: gateway 212.47.101.26: not in table
> #
> 
> may be somebody has seen this before and knows how to say to ppp to
> stay away from the routing table?

Try adding the nodefaultroute option.  I agree that it shouldn't happen
if you don't specify the defaultroute option.

doug.

Reply via email to