Messages in this thread | | | Date | Sun, 20 Jul 1997 10:31:58 -0700 (MST) | From | "Jeff Coy Jr." <> | Subject | adding localhost route |
| |
I'm sorry to be so late in this bug report, I did report it once before but not in as much detail. I hope that this is complete enough that someone with more network hacking exp. than I can fix this one.
I can't add localhost to my routing table with newer kernels. I am using net tools v1.41 and using the following lines:
/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up /sbin/route add -net 127.0.0.0 netmask 255.0.0.0
I get a "SIOCADDRT: No such device" when I run the route command. ifconfig shows the device:
ifconfig lo lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:46 errors:0 dropped:0 overruns:0 frame:0 TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 coll:0
I can still telnet to and use 127.0.0.1. This stopped working with 2.1.15 (2.1.14 does not have this problem). Attached is the output from `egrep '=(y|m)' /usr/src/linux/.config`, which is the most bare boned config setup I can run.
I have not narrowed this down to any one part of the patch, 2.1.15 was a fairly big change to the networking layer and to be honest, my networking skills aren't up to it (I tried).
jeff -- "UNIX is simple and coherent, but it takes a genius (or at any rate, a programmer) to understand and appreciate its simplicity"
-Dennis Ritchie [USENIX '87]
CONFIG_MODULES=y CONFIG_NET=y CONFIG_PCI=y CONFIG_SYSVIPC=y CONFIG_BINFMT_ELF=y CONFIG_M386=y CONFIG_BLK_DEV_FD=y CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_TRITON=y CONFIG_INET=y CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y CONFIG_NETDEVICES=y CONFIG_EXT2_FS=y CONFIG_PROC_FS=y CONFIG_SERIAL=y
| |