Hi,
our Proxmox server is using two 10G networkin interfaces as bond0. vmbr0 is fine, because I can connect to the Proxmox server via SSH:
bond0 with LACP and vmbr1 is already working, because there is traffic on VLAN 501:
The interfaces are connected:
My VM with Ubuntu 16.04 has the interface 'ens18', so I created the interface ens18.501 for VLAN 501. Nevertheless I cannot ping the interface of that VM and my bridge is not seeing the IP or MAC address. I have attached screenshots of that VM.
What do I need to configure to connect my VM to vmbr1 so I can use VLAN 100, 501 and so on?
Thanks for your help,
Martin
our Proxmox server is using two 10G networkin interfaces as bond0. vmbr0 is fine, because I can connect to the Proxmox server via SSH:
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
auto eth4
iface eth4 inet manual
auto eth5
iface eth5 inet manual
iface eth6 inet manual
iface eth7 inet manual
auto bond0
iface bond0 inet manual
slaves none
bond_miimon 100
bond_mode balance-rr
bond-slaves eth4 eth5
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
auto vmbr0
iface vmbr0 inet static
address 172.21.0.16
netmask 255.255.255.0
gateway 172.21.0.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
#Proxmox-Management
auto vmbr1
iface vmbr1 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
#bond0, VM-Trunk
bond0 with LACP and vmbr1 is already working, because there is traffic on VLAN 501:
Code:
root@hn-vm06:~# tcpdump -n -i vmbr1 -e | grep 'vlan 501' | grep '172\.21\.0\.31'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:43:55.752030 00:1f:6d:c5:15:4a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 501, p 0, ethertype ARP, Request who-has 172.21.0.31 tell 172.21.0.1, length 46
16:44:00.751643 00:1f:6d:c5:15:4a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 501, p 0, ethertype ARP, Request who-has 172.21.0.31 tell 172.21.0.1, length 46
16:44:05.754825 00:1f:6d:c5:15:4a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 501, p 0, ethertype ARP, Request who-has 172.21.0.31 tell 172.21.0.1, length 46
16:44:15.750483 00:1f:6d:c5:15:4a > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 501, p 0, ethertype ARP, Request who-has 172.21.0.31 tell 172.21.0.1, length 46
The interfaces are connected:
Code:
root@hn-vm06:/etc/network# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:b3:ca:f0 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:b3:ca:f1 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:b3:ca:f2 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:b3:ca:f3 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 portid 0002c903004dac9c state UP mode DEFAULT group default qlen 1000
link/ether 00:02:c9:4d:ac:9c brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 portid 0002c903004d4f44 state UP mode DEFAULT group default qlen 1000
link/ether 00:02:c9:4d:ac:9c brd ff:ff:ff:ff:ff:ff
8: eth6: <BROADCAST,MULTICAST> mtu 1500 qdisc mq portid 0002c903004da6d4 state DOWN mode DEFAULT group default qlen 1000
link/ether 00:02:c9:4d:a6:d4 brd ff:ff:ff:ff:ff:ff
9: eth7: <BROADCAST,MULTICAST> mtu 1500 qdisc mq portid 0002c903004e83c4 state DOWN mode DEFAULT group default qlen 1000
link/ether 00:02:c9:4e:83:c4 brd ff:ff:ff:ff:ff:ff
10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1 state UP mode DEFAULT group default qlen 1000
link/ether 00:02:c9:4d:ac:9c brd ff:ff:ff:ff:ff:ff
13: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 7e:0f:45:97:4f:5b brd ff:ff:ff:ff:ff:ff
24: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:b3:ca:f0 brd ff:ff:ff:ff:ff:ff
25: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:02:c9:4d:ac:9c brd ff:ff:ff:ff:ff:ff
My VM with Ubuntu 16.04 has the interface 'ens18', so I created the interface ens18.501 for VLAN 501. Nevertheless I cannot ping the interface of that VM and my bridge is not seeing the IP or MAC address. I have attached screenshots of that VM.
What do I need to configure to connect my VM to vmbr1 so I can use VLAN 100, 501 and so on?
Thanks for your help,
Martin