route forgot to specify route netmask.

route forgot to specify route netmask.

Post by ??? » Sat, 11 Jan 1997 04:00:00



My linux-2.1.20 use ppp connet to INTERNET
but I only can telnet to my ppp server than telnet other servers
I can't telnet other server ditectly

/var/adm/messages or syslog:
pppd[105]: ppp not replacing existing default route to eth0[140.124.80.254]
pppd[105]: ppp not replacing existing default route to eth0[140.124.80.254]
Jan  8 22:21:18 Egg kernel: route forgot to specify route netmask.
Jan  8 22:21:18 Egg kernel: route forgot to specify route netmask.

/var/adm/debug:
kernel: lo UP fl=0000004b pa=0100007F/000000FF brd=FFFFFF7F dst=00000000
Egg kernel: eth0 UP fl=00001043 pa=B1507C8C/0000FFFF brd=FFFF7C8C dst=00000000
Egg kernel: eth0 changes brd FFFF7C8C -> FF507C8C
Egg kernel: eth0 changes netmask 0000FFFF -> 00FFFFFF
Egg kernel: ppp0 UP fl=00000051 pa=B1507C8C/FFFFFFFF brd=00000000 dst=B2507C8C

 
 
 

route forgot to specify route netmask.

Post by Bob Hau » Sat, 11 Jan 1997 04:00:00




Quote:> My linux-2.1.20 use ppp connet to INTERNET
> but I only can telnet to my ppp server than telnet other servers
> I can't telnet other server ditectly

Routing problem.

Quote:> /var/adm/messages or syslog:
> pppd[105]: ppp not replacing existing default route to eth0[140.124.80.254]
> pppd[105]: ppp not replacing existing default route to eth0[140.124.80.254]

Ah, this is the trouble.  You already have a default route, so pppd
is not replacing it.  You want to make your ethernet a network route,
not a default one, and then it'll work.  You may need to modify
your startup scripts to do this.  OTOH, some systems (e.g. Red Hat)
are smart enough to do it right if you just don't specify a gateway
in the config tool.

---

 Wasatch Communications Group               http://www.wasatch.com