This seems to work fine.
Please tell me where I may be in error or have a possible problem
waiting to happen.
>From DNS name is agzls008 with and IP address of 192.168.32.139
To DNS name is agsl013 with and IP of 192.168.127.5
Background
On agzls008 I have this ifconfig
eth0 Link encap:Ethernet HWaddr 02:EE:EE:00:00:08
inet addr:192.168.32.139 Bcast:192.168.32.255
Mask:255.255.255.0
inet6 addr: fe80::2ee:ee00:200:8/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1744660 errors:0 dropped:0 overruns:0 frame:0
TX packets:1750006 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2396827546 (2.2 GiB) TX bytes:299073761 (285.2 MiB)
hsi0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:12.1.102.9 Bcast:12.1.102.255 Mask:255.255.255.0
inet6 addr: fe80::ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:8192 Metric:1
RX packets:934 errors:0 dropped:0 overruns:0 frame:0
TX packets:1329 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1467473 (1.3 MiB) TX bytes:1755404 (1.6 MiB)
And route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
12.1.102.0 * 255.255.255.0 U 0 0 0
hsi0
192.168.32.0 * 255.255.255.0 U 0 0 0
eth0
169.254.0.0 * 255.255.0.0 U 0 0 0
hsi0
default 192.168.32.1 0.0.0.0 UG 0 0 0
eth0
On agzls013 I have this ifconfig
eth0 Link encap:Ethernet HWaddr 02:EE:EE:00:00:0D
inet addr:192.168.127.5 Bcast:192.168.127.255
Mask:255.255.255.0
inet6 addr: fe80::2ee:ee00:100:d/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:9364726 errors:0 dropped:0 overruns:0 frame:0
TX packets:9896086 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1245988200 (1.1 GiB) TX bytes:13804039577 (12.8 GiB)
hsi0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:12.1.102.14 Bcast:12.1.102.255 Mask:255.255.255.0
inet6 addr: fe80::ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:8192 Metric:1
RX packets:392 errors:0 dropped:0 overruns:0 frame:0
TX packets:449 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1229297 (1.1 MiB) TX bytes:1767379 (1.6 MiB)
And route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
12.1.102.0 * 255.255.255.0 U 0 0
0 hsi0
192.168.127.0 * 255.255.255.0 U 0 0
0 eth0
169.254.0.0 * 255.255.0.0 U 0 0
0 hsi0
default 192.168.127.1 0.0.0.0 UG 0 0 0
eth0
ping from agzls008 to agzls013 via eth0 - works fine as it should
(traceroute -I eth0 shows out and in the osa's)
PING agzls013 (192.168.127.5) from 192.168.32.139 eth0: 56(84) bytes of
data.
64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=59 time=2.58 ms
--- agzls013 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.588/2.588/2.588/0.000 ms, pipe 2
ping from agzls008 to agzls013 via hsi0 - fails
(traceroute -I hsi0 goes no where)
PING agzls013 (192.168.127.5) from 12.1.102.9 hsi0: 56(84) bytes of
data.
--- agzls013 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
Added to the route
route add -net 192.168.127.0 netmask 255.255.255.0 gw 12.1.102.1 dev
hsi0
route now shows
Destination Gateway Genmask Flags Metric Ref
Use Iface
12.1.102.0 * 255.255.255.0 U 0 0
0 hsi0
192.168.32.0 * 255.255.255.0 U 0 0
0 eth0
192.168.127.0 12.1.102.1 255.255.255.0 UG 0 0 0
hsi0
169.254.0.0 * 255.255.0.0 U 0 0
0 hsi0
default 192.168.32.1 0.0.0.0 UG 0 0
0 eth0
pings and trace routes now work fine via the path they should for the
same DNS name ...
ping -c 1 -I eth0 agzls013
PING agzls013 (192.168.127.5) from 192.168.32.139 eth0: 56(84) bytes of
data.
64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=59 time=2.44 ms
--- agzls013 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.446/2.446/2.446/0.000 ms, pipe 2
ping -c 1 -I hsi0 agzls013
PING agzls013 (192.168.127.5) from 12.1.102.9 hsi0: 56(84) bytes of
data.
64 bytes from agzls013 (192.168.127.5): icmp_seq=0 ttl=64 time=1.07 ms
--- agzls013 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.078/1.078/1.078/0.000 ms, pipe 2
Paul
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390