Hello,
I have an OpenFiler server that appears to be having some issues with some routing.
The Setup
The server has two NIC's on two subnets. eth0 can ping off subnet as it is does need to due to web management. eth0 can also ping on subnet as it needs to for iSCSI to VMware. eth1 only needs to communicate on its own subnet for iSCSI to VMware. Just to be clear on the other side, VMware also has two NIC's - one on each of the referenced subnets.
ifconfig:
[root@openfiler0 network-scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr C8:60:00:0F:F9:19
inet addr:192.168.0.130 Bcast:192.168.0.143 Mask:255.255.255.240
inet6 addr: fe80::ca60:ff:fe0f:f919/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87497733 errors:0 dropped:188235 overruns:0 frame:0
TX packets:121869021 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95720802143 (89.1 GiB) TX bytes:130925667710 (121.9 GiB)
Interrupt:16 Memory:fbee0000-fbf00000
eth1 Link encap:Ethernet HWaddr C8:60:00:0F:F8D
inet addr:192.168.0.146 Bcast:192.168.0.159 Mask:255.255.255.240
inet6 addr: fe80::ca60:ff:fe0f:f8dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5229 errors:0 dropped:0 overruns:0 frame:0
TX packets:1812 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:364174 (355.6 KiB) TX bytes:211576 (206.6 KiB)
Interrupt:17 Memory:fbde0000-fbe00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26186 (25.5 KiB) TX bytes:26186 (25.5 KiB)
[root@openfiler0 network-scripts]#
Route Table
[root@openfiler0 network-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.144 * 255.255.255.240 U 0 0 0 eth1
192.168.0.128 * 255.255.255.240 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
link-local * 255.255.0.0 U 1003 0 0 eth1
default 192.168.0.129 0.0.0.0 UG 0 0 0 eth0
[root@openfiler0 network-scripts]#
Ping Example for eth1 (.145 is default gateway, .150 is VMware):
[root@openfiler0 network-scripts]# ping -I 192.168.0.146 192.168.0.145
PING 192.168.0.145 (192.168.0.145) from 192.168.0.146 : 56(84) bytes of data.
From 192.168.0.146 icmp_seq=2 Destination Host Unreachable
From 192.168.0.146 icmp_seq=3 Destination Host Unreachable
From 192.168.0.146 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.0.145 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4001ms
, pipe 3
[root@openfiler0 network-scripts]# ping -I 192.168.0.146 192.168.0.150
PING 192.168.0.150 (192.168.0.150) from 192.168.0.146 : 56(84) bytes of data.
From 192.168.0.146 icmp_seq=2 Destination Host Unreachable
From 192.168.0.146 icmp_seq=3 Destination Host Unreachable
From 192.168.0.146 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.0.150 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
[root@openfiler0 network-scripts]#
.146 (openfiler eth1) can ping itself. The default gateway and VMware can ping each other. Switch VLAN has been verified (twice
)
Any suggestions to allow eth1 (192.168.0.146) to ping on its own subnet?
Thanks!