The RHEL 6.6 suddenly getting disconnect from outside network ( Ext server ip 10.177.101.51/255.255.0.0 & Outside network like 10.177.*.*)
I have configured the gw(route 10.177.0.1/255.255.0.0) in /etc/rc.local for bond0(eth0 & eth2) , It was not working with any other way. but running server suddenly getting disconnect from any machine which is not having ip pool (10.177.101.*).
eth1 has the private ip for heart bit between RAC servers
Here is the below configuration
--------------------------------
--------------------------------
[root@server1 ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: ac:16:2d:8c:4e:b0
Slave queue ID: 0
Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: ac:16:2d:8c:4e:b2
Slave queue ID: 0
[root@server1 ~]#
[root@server1 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.177.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 bond0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.177.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bond0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.177.0.1 0.0.0.0 UG 0 0 0 bond0
0.0.0.0 192.168.10.11 0.0.0.0 UG 0 0 0 eth1
[root@server1 ~]#
[root@server1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=10.177.101.51
NETMASK=255.255.0.0
USERCTL=no
BOOTPROTO=static
ONBOOT=yes
GATEWAY=10.177.0.1
ARPCHECK=no
#BONDING_OPTS="mode=1 miimon=100 lacp_rate=1"
[root@server1 ~]#
[root@server1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Ethernet
[root@server1 ~]#
[root@server1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Ethernet
[root@server1 ~]#
[root@server1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
IPADDR=192.168.10.10
NETMASK=255.255.255.0
USERCTL=no
BOOTPROTO=static
ONBOOT=yes
GATEWAY=192.168.10.11
[root@server1 ~]#
[root@server1 ~]# cat /etc/modprobe.conf
alias bond0 bonding
options bonding mode=1 miimon=100
[root@server1 ~]#
[root@server1 ~]# ifconfig
bond0 Link encap:Ethernet HWaddr AC:16:2D:8C:4E:B0
inet addr:10.177.101.51 Bcast:10.177.255.255 Mask:255.255.0.0
inet6 addr: fe80::ae16:2dff:fe8c:4eb0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:377599 errors:0 dropped:0 overruns:0 frame:0
TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41265115 (39.3 MiB) TX bytes:208438 (203.5 KiB)
eth0 Link encap:Ethernet HWaddr AC:16:2D:8C:4E:B0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:186737 errors:0 dropped:0 overruns:0 frame:0
TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20465816 (19.5 MiB) TX bytes:208438 (203.5 KiB)
Interrupt:32
eth1 Link encap:Ethernet HWaddr AC:16:2D:8C:4E:B1
inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::ae16:2dff:fe8c:4eb1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:72819 errors:0 dropped:0 overruns:0 frame:0
TX packets:123719 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42160394 (40.2 MiB) TX bytes:123122516 (117.4 MiB)
Interrupt:36
eth2 Link encap:Ethernet HWaddr AC:16:2D:8C:4E:B0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:190862 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20799299 (19.8 MiB) TX bytes:0 (0.0 b)
Interrupt:32
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:65536 Metric:1
RX packets:22029 errors:0 dropped:0 overruns:0 frame:0
TX packets:22029 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13225080 (12.6 MiB) TX bytes:13225080 (12.6 MiB)
[root@server1 ~]#
One more important thing. I tried by removing the bond and configure the single NIC ... there is same problem but if I am using the NetworkManager (which is disabled now) to configure single nic without bonding, there is no any network issue. Everyting is working fine. I have tested bonding with all possible modes and switch ports configuration also.
Please suggest if I am doing any mistake in configuration.
Thanks is advance.
Regards,
Deepak
deepak_jobs@ymail.com