LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-06-2013, 09:42 AM   #1
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 102

Rep: Reputation: 16
Can i choose a specific bonded interface per vlan


Hi,

I am working with some machines that only have two nics available. What I really would like to do requires 4 nics. If i had four nics, i would set up bond0 for network A traffic, and bond1 for network B traffic.

Since I only have two nics, here is what I would like to accomplish. I don't know if it is doable.
1. Setup bonded interface with vlans. (simple enough, i do it all the time).
- em1 and em2 become bond0.
- bond0 has two sub interfaces, bond0.100, and bond0.300

2. The tricky part that I don't know if it can be done.
- Have traffic for vlan 100 use bond0.100 and prefer to use em1
- Have traffic for vlan 300 use bond0.300 and prefer to use em2.
- In the event that one link goes down, then all traffic would go through a single interface.

I know i can set a priority for the bond0 interface to prefer a nic. But is there any way to have each vlan prefer a different sub interface? I imagine, that bond0.x would each need to have their own fake mac address.
 
  


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
[SOLVED] ping fails for specific slave interface in bonded pair bl_hawkeye Linux - Networking 4 05-05-2015 01:34 PM
[SOLVED] Creating a VLAN interface on top of another VLAN interface jbbroccard2 Linux - Networking 1 05-22-2013 02:25 AM
Route non-vlan packet to a vlan interface mic.sed Linux - Networking 2 04-23-2010 03:39 AM
Netdump over bonded interface ? shriyer Linux - Software 0 07-22-2009 09:45 AM
kickstart with bonded interface bajones Linux - Newbie 6 07-29-2008 12:43 PM

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

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