[rhelv6-beta-list] Problem with 2 interfaces on the same network with rh6 beta2
Pasi Kärkkäinen
pasik at iki.fi
Fri Sep 3 10:16:21 UTC 2010
On Thu, Sep 02, 2010 at 06:07:36PM +0200, Gianluca Cecchi wrote:
> Hello,
> trying to configure iSCSI against a Dell Equallogic I get some
> problems in rh el 6 beta2 vs rh el 5.5
>
> Only one network card at a time can reach another ip on the same lan.....
>
> [root at testrh6 ~]# uname -r
> 2.6.32-44.2.el6.x86_64
>
> This is the current situation
> [root at testrh6 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth4
> # Broadcom Corporation NetXtreme II BCM57711 10-Gigabit PCIe
> DEVICE=eth4
> HWADDR=00:10:18:58:E9:60
> ONBOOT=yes
> BOOTPROTO=static
> TYPE=Ethernet
> IPADDR=10.10.100.176
> NETMASK=255.255.255.0
> MTU=9000
>
> [root at testrh6 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth5
> # Broadcom Corporation NetXtreme II BCM57711 10-Gigabit PCIe
> DEVICE=eth5
> HWADDR=00:10:18:58:E9:62
> ONBOOT=yes
> BOOTPROTO=static
> TYPE=Ethernet
> IPADDR=10.10.100.177
> NETMASK=255.255.255.0
> MTU=9000
>
>
> [root at testrh6 ~]# ifconfig eth4
> eth4 Link encap:Ethernet HWaddr 00:10:18:58:E9:60
> inet addr:10.10.100.176 Bcast:10.10.100.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
> RX packets:143662 errors:0 dropped:0 overruns:0 frame:0
> TX packets:141329 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:15799190 (15.0 MiB) TX bytes:13294542 (12.6 MiB)
> Interrupt:40 Memory:dc800000-dcffffff
>
> [root at testrh6 ~]# ifconfig eth5
> eth5 Link encap:Ethernet HWaddr 00:10:18:58:E9:62
> inet addr:10.10.100.177 Bcast:10.10.100.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
> RX packets:73053 errors:0 dropped:0 overruns:0 frame:0
> TX packets:157 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:7317830 (6.9 MiB) TX bytes:12806 (12.5 KiB)
> Interrupt:50 Memory:dd800000-ddffffff
>
> [root at testrh6 ~]# cat /etc/sysconfig/network
> NETWORKING=yes
> HOSTNAME=testrh6
> GATEWAY=10.4.5.250
> NOZEROCONF=yes
> NETWORKING_IPV6=no
>
> In /etc/modprobe.d/local.conf
> alias net-pf-10 off
> #alias ipv6 off
> options ipv6 disable=1
>
> [root at testrh6 ~]# netstat -rn
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 10.4.5.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
> 10.10.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4
> 10.10.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth5
> 0.0.0.0 10.4.5.250 0.0.0.0 UG 0 0 0 bond0
>
> [root at testrh6 ~]# ping -I eth4 10.10.100.30
> PING 10.10.100.30 (10.10.100.30) from 10.10.100.176 eth4: 56(84) bytes of data.
> 64 bytes from 10.10.100.30: icmp_seq=1 ttl=255 time=0.485 ms
> 64 bytes from 10.10.100.30: icmp_seq=2 ttl=255 time=0.101 ms
> 64 bytes from 10.10.100.30: icmp_seq=3 ttl=255 time=0.096 ms
>
> [root at testrh6 ~]# ping -I eth5 10.10.100.30
> PING 10.10.100.30 (10.10.100.30) from 10.10.100.177 eth5: 56(84) bytes of data.
>
> No way with eth5....
>
> now:
> [root at testrh6 ~]# ifdown eth4
> [root at testrh6 ~]# ping -I eth5 10.10.100.30
> PING 10.10.100.30 (10.10.100.30) from 10.10.100.177 eth5: 56(84) bytes of data.
> 64 bytes from 10.10.100.30: icmp_seq=1 ttl=255 time=0.177 ms
> 64 bytes from 10.10.100.30: icmp_seq=2 ttl=255 time=0.079 ms
> 64 bytes from 10.10.100.30: icmp_seq=3 ttl=255 time=0.065 ms
> ^C
> --- 10.10.100.30 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2171ms
> rtt min/avg/max/mdev = 0.065/0.107/0.177/0.049 ms
> [root at testrh6 ~]# ifup eth4
> [root at testrh6 ~]# ping -I eth5 10.10.100.30
> PING 10.10.100.30 (10.10.100.30) from 10.10.100.177 eth5: 56(84) bytes of data.
> ^C
> --- 10.10.100.30 ping statistics ---
> 6 packets transmitted, 0 received, 100% packet loss, time 5324ms
> no way...
> [root at testrh6 ~]# ping -I eth4 10.10.100.30
> PING 10.10.100.30 (10.10.100.30) from 10.10.100.176 eth4: 56(84) bytes of data.
> 64 bytes from 10.10.100.30: icmp_seq=1 ttl=255 time=0.112 ms
> 64 bytes from 10.10.100.30: icmp_seq=2 ttl=255 time=0.127 ms
> 64 bytes from 10.10.100.30: icmp_seq=3 ttl=255 time=0.130 ms
>
> [root at testrh6 ~]# netstat -rn
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 10.4.5.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
> 10.10.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth5
> 10.10.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4
> 0.0.0.0 10.4.5.250 0.0.0.0 UG 0 0 0 bond0
>
> Any hint or any information on things changed between 5.5 and 6 that
> could cause this?
> I want to reach from both interfaces, so that I can establish iSCSI
> connections and use multipath....
>
Maybe you need to disable the arp replies on other interfaces..
as a default Linux replies to arp request on *any* interface,
ie. on a wrong interface on this case..
-- Pasi
More information about the rhelv6-beta-list
mailing list