How run tagged (vlans) & untagged (public) packets across same set of bonded NICs

stefws

Renowned Member
Jan 29, 2015
302
4
83
Denmark
siimnet.dk
Wanting to play with pve4 and have public traffic untagged coming in over a lacp bonded set of NICs, is this possible?

Trying with these /etc/network/interfaces

Code:
auto lo
iface lo inet loopback


auto bond0
iface bond0 inet manual
        up ifconfig bond0 0.0.0.0 up
        slaves eth4 eth0
# bond-mode 4 = 802.3ad
        bond-mode 4
        bond-miimon 100
        bond-downdelay 200
        bond-updelay 200
        bond-lacp-rate 1
        bond-xmit-hash-policy layer2+3
        post-up ifconfig bond0 mtu 9000


auto vlan3
iface vlan3 inet static
        address 10.3.0.3
        netmask 255.255.255.0
        vlan-raw-device bond0
        mtu 9000
        post-up ifconfig vlan3 mtu 9000


auto pubbr0
iface pubbr0 inet static
        address PUB-IP
        netmask 255.255.255.240
        gateway PUB-GW-IP
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0

Should this be able to work and possibly how need my virtual chassis of 2x switches (juniper ex2200 w/JunOS 12.3R8.7) to be configured?

Hints much appreciated!

TIA