route add -net not automatically done for lo(2.2.1)

Adam Heath (doogie@debian.org)
Thu, 4 Feb 1999 20:15:42 -0600 (CST)


---
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
default         outrout.private 0.0.0.0         UG    0      0        0 eth0
# ifconfig lo 127.0.0.1 netmask 255.0.0.0
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
default         outrout.private 0.0.0.0         UG    0      0        0 eth0
# route add -net 127.0.0.0 netmask 255.0.0.0
SIOCADDRT: Operation not supported by device
# route add -net 127.0.0.0 netmask 255.0.0.0 lo
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         outrout.private 0.0.0.0         UG    0      0        0 eth0
---

????

Adam

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/