Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: 2.2.2 and networks, last time



Still trying to solve my 2.2.2 network problem. Have discovered problems
start much earlier in the configuration sequence than I thought, when
trying to add the loopback network. Below I contrast this between 2.0.36
and 2.2.2. This also shows something about the 2.2.2 auto-routing
capabilities.

2.0.36 (works fine)
------

[root@example.com /root]# /etc/rc.d/init.d/network stop  
Disabling IPv4 packet forwarding.
[root@example.com /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
[root@example.com /root]# ifconfig lo 127.0.0.1
[root@example.com /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
[root@example.com /root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 127.0.0.1 64 chars, ret=-1
...
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
[root@example.com /root]# route add -net 127.0.0.0
[root@example.com /root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.2 ms

2.2.2 (auto routing, but problems)
-----
[root@example.com /root]# /etc/rc.d/init.d/network stop
Disabling IPv4 packet forwarding.
[root@example.com /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
[root@example.com /root]# ifconfig lo 127.0.0.1
[root@example.com /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
[root@example.com /root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.2 ms
...
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.2 ms
[root@example.com /root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
[root@example.com /root]# route add -net 127.0.0.0
SIOCADDRT: Invalid argument

I get this SIOCADDRT error when trying to add a loopback route, and I
have no idea what it means.  Is the above any clue to anyone as to
what's going wrong?

Cheers,

Neil.
-------------------------------------------------------------------
Next Nomikai: March 19 (Fri), 19:30  Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links