LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-19-2015, 01:43 PM   #1
deepak_ibm123
LQ Newbie
 
Registered: Apr 2015
Posts: 2

Rep: Reputation: Disabled
Exclamation RHEL 6 - Routing issue


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
 
Old 04-20-2015, 03:46 AM   #2
linswap
LQ Newbie
 
Registered: Apr 2015
Distribution: Fedora
Posts: 3

Rep: Reputation: Disabled
Hello,

[1] In Red Hat Enterprise Linux 6, interface-specific parameters for the bonding kernel module must be specified as a space-separated list in the BONDING_OPTS="bonding parameters" directive in the ifcfg-bondN interface file. Do not specify options specific to a bond in /etc/modprobe.d/bonding.conf, or in the deprecated /etc/modprobe.conf file.

Also, as you mentioned bond is suddenly disconnecting, please check 'dmesg' and '/var/log/messages' for any link failures or NIC driver errors.

- 0_swap_0

[1] https://access.redhat.com/documentat...aces-chan.html
 
1 members found this post helpful.
Old 04-20-2015, 08:33 AM   #3
deepak_ibm123
LQ Newbie
 
Registered: Apr 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks ... I have remove the Gateway line from ifcfg-eth1...and problem resolved... for route of private ip was creating problem.

Last edited by deepak_ibm123; 04-20-2015 at 08:35 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rhel 6 network routing cdcon Red Hat 3 08-16-2013 03:19 AM
RHEL Routing awilisch Linux - Networking 2 05-21-2012 07:07 PM
Routing via aliased interfaces in RHEL earthlink Linux - Networking 4 04-15-2011 04:06 PM
RHEL Static Routing Best Practice? wischad Linux - Networking 1 01-25-2011 10:09 PM
[SOLVED] RHEL 5 Routing int.ip to ext.ip not working need help pls! mcsaky Linux - Networking 9 06-06-2010 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration