Results 1 to 1 of 1
Hi,
My server has 2 network cards. I have SLES 10 SP2 installed on this server.
I had configured Ethernet bonding on this machine using 2 NICs.
Now I want ...
- 06-17-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 2
Strange issue - Multiple IP configuration
Hi,
My server has 2 network cards. I have SLES 10 SP2 installed on this server.
I had configured Ethernet bonding on this machine using 2 NICs.
Now I want to assign 2 different IP’s to 2 different NICs. I am able to do this without any issue using yast. ifconfig command shows that eth0 has 192.168.1.10 and eth1 has 192.168.1.12. Rest all networking details are same (netmask, gateway, DNS)
Strange thing:
When I unplug eth0, I am not able to ping any IP. Even eth1 is plugged in correctly.
If I unplug only eth1, (eth0 is plugged in) I am able to ping both IP’s.
Other info:
When I do “ifdown eth0”, I am able to ping eth1 ip. I am not able to ping eth0 ip. An expected behavior.
When I do “ifdown eth1”, I am able to ping eth0 ip. I am not able to ping eth1 ip. An expected behavior.
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:5E:C6:15:98
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:5eff:fec6:1598/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56341 errors:0 dropped:0 overruns:0 frame:0
TX packets:1818 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5610972 (5.3 Mb) TX bytes:148608 (145.1 Kb)
Interrupt:169 Memory:92000000-92012100
eth1 Link encap:Ethernet HWaddr 00:21:5E:C6:15:9A
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:5eff:fec6:159a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32561 errors:0 dropped:0 overruns:0 frame:0
TX packets:4441 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2927131 (2.7 Mb) TX bytes:884351 (863.6 Kb)
Interrupt:106 Memory:94000000-94012100
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:805 errors:0 dropped:0 overruns:0 frame:0
TX packets:805 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:77751 (75.9 Kb) TX bytes:77751 (75.9 Kb)
# cat ifcfg-eth-id-00\:21\:5e\:c6\:15\:98
BOOTPROTO='static'
NAME='Broadcom NetXtreme II BCM5709 Gigabit Ethernet'
STARTMODE='auto'
UNIQUE='rBUF.5w4+Xu1Jzo9'
USERCONTROL='no'
_nm_name='bus-pci-0000:0b:00.0'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.1.10'
MTU=''
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPAD
I want to measure bandwidth on each NIC so want to divert traffic on both as per IP’s.
What might be the issue? Why is it listing only on eth0 when both cards are up?
Let me know of you need any info on this.
Thanks and Regards,
-Shashank


Reply With Quote