From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4a9dbd86f745178a271973c6427ec19d.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701072354.HAA02553@tapa.admu.edu.ph> Date: Wed, 8 Jan 1997 07:54:56 +0800 (PST) From: Pablo Manalastas Subject: /sbin/route and 2.1.20 kernel I compiled the new 2.1.20 kernel on both our Jensen box and our 486. The compiles succeeded without problems. On booting with the new kernel, the following 'route add' commands in the network setup scripts produced warning messages /sbin/ifconfig lo ... >>> /sbin/route add -net ... /sbin/ifconfig eth0 ... >>> /sbin/route add -net ... I am using RedHat 4.0 on our Jensen box, and Slackware 3.1 on the 486. The warning messages are: SIOCADDRT: no such device route forgot to specify route netmask for each of the two 'route add' commands. So I decided to revise the route add commands as follows: /sbin/ifconfig lo ... /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo /sbin/ifconfig eth0 ... /sbin/route add -net a.b.c.0 netmask 255.255.255.0 dev eth0 Now the warning messages disappeared on both the Jensen and the 486. But now I can only access hosts on our local net, but not hosts on the internet. I must be doing something wrong here. Please tell me. Thanks. -Pablo- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com