Gerald Walls wrote:
> 
> > If you're using kernel 2.2 and diald-0.99.x, you must have
> > masquerading off and
> > forwarding on while the link is down. Check 'route -n' to make
> > sure you've got
> > the default routes you think you do. Here're scripts that work for me.
> 
> Everything seems to work for me now, but does this look normal?  It seems
> odd to see apparent duplicates.
> 
> [root@linuxgrw ppp]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 168.121.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 168.121.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.1.0     192.168.1.1     255.255.255.0   UG    0      0        0 eth0
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
> 0.0.0.0         127.0.0.1       0.0.0.0         UG    0      0        0 lo
> 

I don't know if it is correct or not but, although I don't 
have the duplicates on eth0 or lo, mine is similar for ppp0:

home:~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
206.127.27.65   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
206.127.27.65   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0

Looks like you might have designated yourself as your own gateway 
on eth0 and lo, but I'm no expert! I posted a similar question 
about my duplicate ppp0 but the couple of responses I got didn't 
solve my problem (if I actually do have a problem).

In case those responses might solve *your* (possible) problem, 
here is a summary:

1) check to see if you have a script /etc/rc.d/init.d/network/if-up.
If so it might be adding routes which are later duplicated by pppd 
and/or diald.

2) Compare the script /sbin/init.d/route with the configuration
file /etc/route.conf and be sure there aren't duplicate entries.

-- 
____________________________________________________________________
Robert Paulsen                         http://paulsen.home.texas.net
If my return address contains "ZAP." please remove it. Sorry for the
inconvenience but the unsolicited email is getting out of control.

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to