LinuxQuestions.org
Help answer threads with 0 replies.
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 01-28-2011, 08:35 AM   #1
pat_33
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
vlan tagging with bonding not reaching gateway


I am running RHEL 5.3 on a blade server w/ 2 NICs that are bonded. I have 2 VLANs that I am trying to configure. I have created the network-scripts ifcfg-bond0.<vlan#>. I can ping the device but the gateway won't ping. I am in console mode so cutting and pasting output doesn't work. Does anyone have any ideas or something to check?
thanks.
 
Old 01-29-2011, 02:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well you need to show us the ifconfig outputs for the bond, the eth's and the vlans. Check if the counters on the vlan interfaces are increasing (TX / RX) and check your arp tables for entries on your chosen vlans. Also you've not mentioned a single thing about your switch configs, which is the majority of the relevant tech in a vlan solution.
 
Old 01-31-2011, 09:25 AM   #3
pat_33
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply.
output of ifconfig -a:
bond0
link encap:ethernet hwaddr 00:23:7d:e5:cb:a6
inet addr:10.142.61.30 bcast 10.142.61.255 mask:255.255.255.0
up broadcast running master multicast mtu:1500 metric:1
rx packets:8482 errors:0 dropped:0 overruns:0 frame:0
tx packets:828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:609338 (595.0 kib) tx bytes:52992 (51.7 kib)

bond0.171
link encap:ethernet hwaddr 00:23:7d:e5:cb:a6
inet addr:10.142.61.30 bcast 10.142.61.255 mask:255.255.255.0
up broadcast running master multicast mtu:1500 metric:1
rx packets:4239 errors:0 dropped:0 overruns:0 frame:0
tx packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:211275 (206.3 kib) tx bytes:252 (252.0 b)

bond0.2205
link encap:ethernet hwaddr 00:23:7d:e5:cb:a6
inet addr:192.168.1.211 bcast 192.168.1.255 mask:255.255.255.0
up broadcast running master multicast mtu:1500 metric:1
rx packets:0 errors:0 dropped:0 overruns:0 frame:0
tx packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:0 (0.0 kib) tx bytes:252 (252.0 b)

eth0
link encap:ethernet hwaddr 00:23:7d:e5:cb:a6
up broadcast running slave multicast mtu:1500 metric:1
rx packets:4238 errors:0 dropped:0 overruns:0 frame:0
tx packets:828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
rx bytes:304465 (297.3 kib) tx bytes:52992 (51.7 kb)
interrupt:169 memory:f8000000-f8012100

eth1
link encap:ethernet hwaddr 00:23:7d:e5:cb:a6
up broadcast running slave multicast mtu:1500 metric:1
rx packets:7190 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:507580 (495.6 kib) tx bytes:0 (0 kb)
interrupt:177 memory:fa000000-fa012100

lo
link encap:local loopback
inet addr:127.0.0.1 mask:255.0.0.0
up loopback running mtu:16436 metric:1
rx packets:1567 errors:0 dropped:0 overruns:0 frame:0
tx packets:1567 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:262313 (256.1 kib) tx bytes:262313 (256.1 kb)

I don't know why both eth0 and eth1 have the same mac address. I tried hardcoding it in the network-scripts/ifcfg-ethX but it won't take.

output from netstat -rn:
destination gateway genmask flags mss window irtt iface
192.168.1.0 0.0.0.0 255.255.255.0 u 0 0 0 bond0.2205
10.142.61.0 0.0.0.0 255.255.255.0 u 0 0 0 bond0
10.142.61.0 0.0.0.0 255.255.255.0 u 0 0 0 bond0.171
169.254.0.0 0.0.0.0 255.255.0.0 u 0 0 0 bond0.2205
0.0.0.0 10.142.61.1 0.0.0.0 ug 0 0 0 bond0

Unfortunately I can't access any switch settings. Out network dept handles that and I was assured that they have it set up correctly.

Is there anything that stands out as being wrong? or does it look right and does in fact need to be checked on the switch side?

thanks.
 
  


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
Opinions on Best Way to Combine Tagging and Bonding ferricoxide Linux - Networking 0 12-20-2010 11:54 PM
Lenny Debian VLAN tagging Q Allanon_TB Linux - Networking 1 05-30-2010 08:12 AM
802.1Q vlan tagging help td3201 Linux - Networking 1 09-23-2009 06:39 PM
Catalyst 2924, DMZ and VLAN Tagging metallica1973 Linux - Networking 28 02-22-2008 07:14 AM
VLAN Tagging and Cisco 2924XL EN questions metallica1973 Linux - Networking 4 01-29-2008 12:08 PM

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

All times are GMT -5. The time now is 11: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration