kernels > 2.1.14 can't /sbin/route add -net 127.0.0.0

David M. Meyer 541/346-1747 (meyer@antc.uoregon.edu)
Sun, 29 Dec 1996 16:12:34 -0800 (PST)


It looks like there is some problem with
kernels greater than 2.1.14 and the loopback:

[meyer@endor:~] 1% 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
[meyer@endor:~] 2%

[root@endor:/home/meyer] 4# /sbin/route add -net 127.0.0.0
SIOCADDRT: Invalid argument
[root@endor:/home/meyer] 5#

As a result, if I try to run a multicast application,
I get

[meyer@endor:~] 4% setsockopt - IP_ADD_MEMBERSHIP: Network is unreachable
setsockopt - IP_ADD_MEMBERSHIP: Network is unreachable

Dave

--------

David M. Meyer Voice: +1.541.346.1747
Director, Advanced Network Technology Center SkyPager: +1.888.691.7491
Office of University Computing Cellular: +1.541.954.1103
Computing Center FAX: +1.541.346.4397
University of Oregon Internet: meyer@antc.uoregon.edu
1225 Kincaid URL: www.antc.uoregon.edu
Eugene, OR 97403
PGP Fingerprint 9A 79 2B 07 9A D1 81 45 1A 99 74 59 4F A0 3E 43