Route

Alp Dibirdi (aids@arf.math.metu.edu.tr)
Fri, 3 Jan 1997 11:38:33 +0200 (EET)


Hi All,
I was using kernel 2.0.27 with no problem. Then I upgraded it to
2.1.20 and got the following error while booting:
SIOCADDRT: No such device
route forgot to specify route netmask
My rc.inet1 is:
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
^^^^^^^^^^^^^^^^^^^^
this part I added.
I can see that it recognizes localhost.(in ifconfig)
But in routing table, I can not see loopback.
route:

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window Use Iface
localnet * 255.255.255.0 U 1500 0 0 eth0
default router.math.met * UG 1500 0 0 eth0

Thanks in advance.

Alp Dibirdi
aids@math.metu.edu.tr