Messages in this thread |  | | Date | Sun, 29 Dec 1996 18:11:42 -0800 (PST) | From | "David M. Meyer 541/346-1747" <> | Subject | Re: kernels > 2.1.14 can't /sbin/route add -net 127.0.0.0 |
| |
All,
Well, I had a few suggestions (thanks), but:
>> > [root@endor:/home/meyer] 4# /sbin/route add -net 127.0.0.0 >> > SIOCADDRT: Invalid argument >> >> Add 'netmask 255.0.0.0' to the command.
# /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 SIOCADDRT: No such device
>> have you tried >> >> # /sbin/route add -net 127.0.0.0 dev [presumably lo]
# /sbin/route add -net 127.0.0.0 dev lo SIOCADDRT: Invalid argument
>> You might want to route add -net 127.0.0.0 lo
# /sbin/route add -net 127.0.0.0 lo SIOCADDRT: Invalid argument
Also,
# /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo SIOCADDRT: File exists
All this with
# ifconfig -a 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:12 errors:0 dropped:0 overruns:0 TX packets:12 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:C0:4F:D9:46:AB inet addr:128.223.72.29 Bcast:128.223.72.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12471 errors:0 dropped:0 overruns:0 TX packets:3177 errors:0 dropped:0 overruns:0 Interrupt:11 Base address:0xdce0
and
# netstat -rn Kernel routing table Destination Gateway Genmask Flags Metric Ref Use Iface 128.223.72.0 0.0.0.0 255.255.255.0 U 32767 0 0 eth0 0.0.0.0 128.223.72.1 0.0.0.0 UG 1 0 0 eth0
Confused.
Dave
|  |