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 10-16-2013, 06:55 AM   #1
hilou
Member
 
Registered: May 2013
Posts: 93

Rep: Reputation: Disabled
the bonding doesn't take effect after configuration changed.


Hi All,

Here is the problem.
Currently we have 4 NICs on my server:
eth0 eth1 bond to bond0
eth2 eth3 bond to bond1

First of all, I configured a 4 vlans vlan20-vlan23
like this: ifcfg-bond0.20
ifcfg-bond0.21
ifcfg-bond0.22
ifcfg-bond0.23

But, vlan22 and vlan 23 doesn't work after restarting network and I find the mistake is the vlan 22 and vlan 23 should under bond1. so I changed ifcfg-bond0.22 and ifcfg-bond0.23 to ifcfg-bond1.22 ifcfg-bond1.23, but this change doesn't take effect after network restarted. The interfaces are still under bond0.

Please help. Thanks in advance.

Last edited by hilou; 10-16-2013 at 06:57 AM.
 
Old 10-16-2013, 02:23 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
You shouldn't move ifcfg-bond0.22 to ifcfg-bond1.22 and should do like following.
1)Delete vlan22 and vlan23
2)Create them again under bond1.
 
Old 10-17-2013, 12:02 AM   #3
hilou
Member
 
Registered: May 2013
Posts: 93

Original Poster
Rep: Reputation: Disabled
Yes, This works Thanks.
 
  


Reply

Tags
bonding, vlans



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
Bonding 4 nics in one bond configuration rhbegin Linux - Networking 2 09-07-2013 05:40 PM
Configuration of bonding on Xen chandu.bezawada Linux - Virtualization and Cloud 0 02-21-2011 10:19 AM
Problems with bonding configuration v_fone Linux - Networking 7 02-26-2009 01:49 AM
Problems with bonding configuration v_fone Linux - Newbie 4 02-25-2009 05:23 AM
vimrc doesn't have effect, partially. Why? hottdogg Slackware 11 07-26-2006 03:41 AM

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

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