another bonded interfaces with VLANS question.

ggw

New Member
Mar 1, 2017
1
0
1
57
Toronto
Hello,

I have a pair of proxmox servers I'm attempting to configure to supply multiple VLANS over a pair of bonded interfaces to the hosted guest VMs.

If I give the sub interfaces an IP within the respective VLAN things work as expected. I don't want to number the interfaces but am unable the have them come up at system initialization time without an IP assigned. I have tried a few things within /etc/network/interfaces.

Is there a method to have these unnumbered interfaces come up via the interfaces file at boot time?

If I manually ifconfig up the sub-interface, it comes up and starts passing traffic. I'd like to have this happen automagically at boot time.


some info:

I tried using the variable and real name of the interface on both the sub and bond using documentation found both on proxmox and debian wikis. Not having any luck at all..

pre-up ifconfig $IFACE up

and
pre-up ifconfig bond0.140 up

as an example if I configure interfaces as below, they come up and are usable.

auto bond0.110
iface bond0.110 inet static
address 1.1.1.1
mask 255.255.255.255


All the other defined VLANs work as expected as well (if they also have an IP configured).

The managment network (10.101.8.x below) is not part of any of the defined VLANS.



Below is some information, if there is something you would like to see let me know and thanks in advance.

_greg



__SNIP__
iface ixgbe0 inet manual
# pre-up ifconfig ixgbe0 up
# post-down ifconfig ixgbe0 down

iface ixgbe1 inet manual
# pre-up ifconfig ixgbe1 up
# post-down ifconfig ixgbe1 down

auto bond0
iface bond0 inet static
address none
slaves ixgbe0 ixgbe1
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer2+3
bond_lacp_rate fast
#Production Interface

auto vmbr0
iface vmbr0 inet static
address 10.101.8.28
netmask 255.255.252.0
gateway 10.101.8.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto bond0
iface bond0 inet manual
iface bond0 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge-vlan-aware yes

auto bond0.140
iface bond0.140 inet static
post-up ifconfig bond0.140 up
pre-down ifconfig bond0.140 down

auto bond0.110
iface bond0.110 inet static
post-up ifconfig bond0.110 up
pre-down ifconfig bond0.110 down

auto bond0.160
iface bond0.160 inet static
post-up ifconfig bond0.160 up
pre-down ifconfig bond0.160 down

__SNIP__

Additional information:

Proxmox version 4.4
LACP pairs are terminated on 2 different switches.
interfaces are Intel 5xx's connected via twinax.
48 CPU cores with 396 Gigs DRAM.
2 1 Gbit interfaces in addition to 2 10Gbit. 1 is on the management VLAN, the other unused.


root@tor-svr-proxmox1:~# lldpcli show neighbors
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface: ixgbe0, via: LLDP, RID: 2, Time: 0 day, 00:16:21
Chassis:
ChassisID: mac 14:18:77:06:77:00
SysName: CORE0-1
SysDescr: Dell Real Time Operating System Software. Dell Operating System Version: 2.0. Dell Application Software Version: 9.9(0.0) Copyright (c) 1999-2015 Dell Inc. All Rights Reserved.Build Time: Tue Sep 8 03:51:15 2015
Capability: Repeater, on
Capability: Bridge, on
Capability: Router, on
Port:
PortID: ifname TenGigabitEthernet 1/13
-------------------------------------------------------------------------------
Interface: ixgbe1, via: LLDP, RID: 1, Time: 0 day, 00:16:21
Chassis:
ChassisID: mac 14:18:77:06:70:00
SysName: CORE0-2
SysDescr: Dell Real Time Operating System Software. Dell Operating System Version: 2.0. Dell Application Software Version: 9.9(0.0) Copyright (c) 1999-2015 Dell Inc. All Rights Reserved.Build Time: Tue Sep 8 03:51:15 2015
Capability: Repeater, on
Capability: Bridge, on
Capability: Router, on
Port:
PortID: ifname TenGigabitEthernet 1/13
-------------------------------------------------------------------------------
root@tor-svr-proxmox1:~#