LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-27-2009, 02:27 PM   #1
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Rep: Reputation: 15
Networking Bonding Isuue - Red Hat 5.3


I have three VLAN's tagged over the interface and have tried to setup Bonding on the two interfaces.... I can get out on two of the IP's that are tagged but not on the third..

I have following setup:

# cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias eth2 e1000e
alias eth3 e1000e
alias scsi_hostadapter megaraid_sas
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 usb-storage
alias bond0 bonding
options bond0 miimon=100 mode=0
#
The two interfaces I'm using are eth0 and eth3
# cat ./ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
MASTER=bond0
HWADDR=00:22:19:29:BE:E4
USERCTL=no
SLAVE=yes
ONBOOT=yes
TYPE=Ethernet
#

# cat ./ifcfg-eth3
DEVICE=eth3
BOOTPROTO=none
MASTER=bond0
HWADDR=00:15:17:A8:B4:43
USERCT=no
SLAVE=yes
ONBOOT=yes
TYPE=Ethernet
#

The bond0 setup is as follows:
# cat ./ifcfg-bond0
DEVICE=bond0
TYPE=Bonding
BOOTPROTO=none
USERCTL=no
ONBOOT=yes

# cat ./ifcfg-bond0.677
DEVICE=bond0.677
BOOTPROTO=none
BROADCAST=192.168.35.255
IPADDR=192.168.35.249
NETMASK=255.255.255.0
NETWORK=192.168.35.0
ONBOOT=yes
TYPE=Ethernet
VLAN=yes

# cat ./ifcfg-bond0.874
DEVICE=bond0.874
BOOTPROTO=none
BROADCAST=155.90.114.63
IPADDR=155.90.114.49
NETMASK=255.255.255.224
NETWORK=155.90.114.32
ONBOOT=yes
TYPE=Ethernet
VLAN=yes

# cat ./ifcfg-bond0.875
DEVICE=bond0.875
BOOTPROTO=none
BROADCAST=192.168.42.63
IPADDR=192.168.42.49
NETMASK=255.255.255.224
NETWORK=192.168.42.32
ONBOOT=yes
TYPE=Ethernet
VLAN=yes
#

I can get out on the bond0.874 and bond0.875, but not on the bond0.677 LAN....

less /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)

Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:22:19:29:be:e4

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:a8:b4:43

# ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:22:19:29:BE:E4
inet6 addr: fe80::222:19ff:fe29:bee4/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:15096 errors:0 dropped:0 overruns:0 frame:0
TX packets:1078 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1501571 (1.4 MiB) TX bytes:143146 (139.7 KiB)

bond0.677 Link encap:Ethernet HWaddr 00:22:19:29:BE:E4
inet addr:192.168.35.249 Bcast:192.168.35.255 Mask:255.255.255.0
inet6 addr: fe80::222:19ff:fe29:bee4/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:8994 (8.7 KiB)

bond0.874 Link encap:Ethernet HWaddr 00:22:19:29:BE:E4
inet addr:155.90.114.49 Bcast:155.90.114.63 Mask:255.255.255.224
inet6 addr: fe80::222:19ff:fe29:bee4/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:710 errors:0 dropped:0 overruns:0 frame:0
TX packets:627 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:67802 (66.2 KiB) TX bytes:80719 (78.8 KiB)

bond0.875 Link encap:Ethernet HWaddr 00:22:19:29:BE:E4
inet addr:192.168.42.49 Bcast:192.168.42.63 Mask:255.255.255.224
inet6 addr: fe80::222:19ff:fe29:bee4/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:240 errors:0 dropped:0 overruns:0 frame:0
TX packets:370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:29834 (29.1 KiB) TX bytes:44338 (43.2 KiB)

eth0 Link encap:Ethernet HWaddr 00:22:19:29:BE:E4
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:7543 errors:0 dropped:0 overruns:0 frame:0
TX packets:537 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:768356 (750.3 KiB) TX bytes:73305 (71.5 KiB)
Interrupt:169 Memory:da000000-da012100

eth1 Link encap:Ethernet HWaddr 00:22:19:29:BE:E6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169 Memory:d6000000-d6012100

eth2 Link encap:Ethernet HWaddr 00:15:17:A8:B4:42
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:d5ee0000-d5f00000

eth3 Link encap:Ethernet HWaddr 00:22:19:29:BE:E4
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:7555 errors:0 dropped:0 overruns:0 frame:0
TX packets:546 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:733341 (716.1 KiB) TX bytes:70571 (68.9 KiB)
Memory:d5ea0000-d5ec0000

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:3710 errors:0 dropped:0 overruns:0 frame:0
TX packets:3710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7369777 (7.0 MiB) TX bytes:7369777 (7.0 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

#

Not sure where to go at this point to resolve the issue...

Any assistance would be appreciated....
 
Old 07-28-2009, 09:29 AM   #2
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
What happens when you arping the gateway that's defined for VLAN 677, through that VLAN interface?
 
Old 07-30-2009, 09:20 AM   #3
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Original Poster
Rep: Reputation: 15
[root@cvoicch4 ~]# arping -D -I eth0 -c 2 155.90.114.40
ARPING 155.90.114.40 from 0.0.0.0 eth0
Unicast reply from 155.90.114.40 [00:15:17:A8C:3B] for 155.90.114.40 [00:15:17:A8C:3B] 0.649ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
[root@cvoicch4 ~]# arping -D -I eth0 -c 2 192.168.42.40
ARPING 192.168.42.40 from 0.0.0.0 eth0
Unicast reply from 192.168.42.40 [00:15:17:A8C:3B] for 192.168.42.40 [00:15:17:A8C:3B] 0.620ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
[root@cvoicch4 ~]# arping -D -I eth0 -c 2 192.168.35.40
ARPING 192.168.35.40 from 0.0.0.0 eth0
Sent 2 probes (2 broadcast(s))
Received 0 response(s)
[root@cvoicch4 ~]#
 
Old 07-30-2009, 09:27 AM   #4
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
arping -D -I bond0.677 [gateway]?
 
Old 07-31-2009, 07:38 AM   #5
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Original Poster
Rep: Reputation: 15
[root@cvoicch4 ~]# arping -c 3 -D -I bond0.677 192.168.35.47
ARPING 192.168.35.47 from 0.0.0.0 bond0.677
Sent 3 probes (3 broadcast(s))
Received 0 response(s)
[root@cvoicch4 ~]#
 
Old 07-31-2009, 07:55 AM   #6
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
Do you get an arping response through bond0.874 and bond0.875 interfaces?
 
Old 07-31-2009, 07:57 AM   #7
Mr. ameya sathe
Member
 
Registered: Jul 2007
Distribution: RedHat Enterprise 5 Server Edition; Ubuntu 8.04 ; RHCE Certificate number: 805008741034103
Posts: 78
Blog Entries: 8

Rep: Reputation: Disabled
Meaning of USERCT directive

Quote:
Originally Posted by lensem View Post
# cat ./ifcfg-eth3
DEVICE=eth3
BOOTPROTO=none
MASTER=bond0
HWADDR=00:15:17:A8:B4:43
USERCT=no
SLAVE=yes
ONBOOT=yes
TYPE=Ethernet
#
The underlined word may be causing problem.
 
Old 08-05-2009, 10:00 AM   #8
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Original Poster
Rep: Reputation: 15
Our network group found the problem within the switches, had something to do with the way they had the trunking setup....

Thanks for everyones help....
 
Old 08-11-2009, 02:46 PM   #9
Mr. ameya sathe
Member
 
Registered: Jul 2007
Distribution: RedHat Enterprise 5 Server Edition; Ubuntu 8.04 ; RHCE Certificate number: 805008741034103
Posts: 78
Blog Entries: 8

Rep: Reputation: Disabled
Please mark it as solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Red Hat Networking ciberrust Linux - Networking 4 11-18-2004 12:27 PM
XP and Red Hat 8.0 Networking kodiak Linux - Networking 2 04-12-2003 02:22 AM
Networking Red Hat 7.2 Laura043 Linux - Networking 1 02-20-2002 08:05 PM
Help with Red Hat Networking AlanLip Linux - Networking 3 08-27-2001 07:15 AM
Networking w/ Red Hat 7.0 mahoney Linux - Networking 4 07-25-2001 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 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