[SOLVED] How to bond eth0.1 w/ vmbr5 to put a vlan on an internal-only bridge

JustaGuy

Renowned Member
Jan 1, 2010
324
2
83
I want to give eth0.1 its own internal bridge so I can give a KVM guest eth1 to access eth0.1.

What I tried already broke networking completely & I had to fix it w/ a Live CD- all that will remain unsaid... (I should've known it wouldn't work)

I'd like to run my next idea past the community before I try it, to prevent another Live CD adventure. (I learned the physical machine's login screen resets to the 'login:' prompt after approximately 25 of 75 characters of the password are entered) :-)

Here's what I have in mind:

Code:
auto vmbr5    
    
auto bond0
iface bond0 inet manual
        slaves eth0 vmbr5
        bond_miimon 100
        bond_mode 4


auto vmbr5
iface vmbr5 inet static
    address  x.x.x.x
    netmask  255.255.255.0
    bridge_ports bond0.1
    bridge_stp off
    bridge_fd 0
        
auto bond0.1
iface bond0.1 inet manual
        vlan-raw-device bond0

Will it work? If not, what can I do to get this?
-
Thanks.
 
Last edited: