Hey there,
I am hosting my Proxmox instance on a Zotac All in One PC with two 1Gbit NICs. In the past I had one Nic dedicated for the Proxmox Management and VMs which are located in the same network, which runs on VLAN 40. It was just a basic Bridge where the VLAN 40 tagging was on the switch side.
The other Nic was defined a a trunk and also was just a VLAN aware bridge.
For the sake of SMB multi-channeling I wanted to combine both Nics to one bond. The basic things were easy and resulted in the following configuration:
enp2s0 and enp3s0 are the two onboard Nics and enxa8637d613f4e is a temporary USB to RJ45 Network adapter so I don't lose management access.
Now I want to reach Proxmox over the old IP "10.0.40.1" which is located the the VLAN 40 Network, so I added the following:
(Of course I remove the gateway from vmbr1). In this configuration everything works as expected. Proxmox is reachable over 10.0.50.1 and 10.0.40.1 (as long I am in the 10.0.50.0/24 network), VMs with VLAN 40 are reachable.
As soon as I remove the link to enxa8637d613f4e, I loose access to 10.0.50.1 (Which is expected) and 10.0.40.1 (which is not expected).
"ip routes" shows the following:
So I have two questions:
Why do I loose access to 10.0.40.1 when I remove the link on enxa8637d613f4e?
What should I do, so Proxmox has it's IP on 10.0.40.1 and VLAN 40?
I am hosting my Proxmox instance on a Zotac All in One PC with two 1Gbit NICs. In the past I had one Nic dedicated for the Proxmox Management and VMs which are located in the same network, which runs on VLAN 40. It was just a basic Bridge where the VLAN 40 tagging was on the switch side.
The other Nic was defined a a trunk and also was just a VLAN aware bridge.
For the sake of SMB multi-channeling I wanted to combine both Nics to one bond. The basic things were easy and resulted in the following configuration:
Code:
auto lo
iface lo inet loopback
auto enp2s0
iface enp2s0 inet manual
auto enp3s0
iface enp3s0 inet manual
auto enxa8637d613f4e
iface enxa8637d613f4e inet manual
auto bond0
iface bond0 inet manual
bond-slaves enp2s0 enp3s0
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer3+4
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 1
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr1
iface vmbr1 inet static
address 10.0.50.1/24
gateway 10.0.50.254
bridge-ports enxa8637d613f4e
bridge-stp off
bridge-fd 0
enp2s0 and enp3s0 are the two onboard Nics and enxa8637d613f4e is a temporary USB to RJ45 Network adapter so I don't lose management access.
Now I want to reach Proxmox over the old IP "10.0.40.1" which is located the the VLAN 40 Network, so I added the following:
Code:
auto vmbr0.40
iface vmbr0.40 inet static
address 10.0.40.1/24
gateway 10.0.40.254
As soon as I remove the link to enxa8637d613f4e, I loose access to 10.0.50.1 (Which is expected) and 10.0.40.1 (which is not expected).
"ip routes" shows the following:
Code:
default via 10.0.40.254 dev vmbr0.40 proto kernel onlink
10.0.40.0/24 dev vmbr0.40 proto kernel scope link src 10.0.40.1
10.0.50.0/24 dev vmbr1 proto kernel scope link src 10.0.50.1
So I have two questions:
Why do I loose access to 10.0.40.1 when I remove the link on enxa8637d613f4e?
What should I do, so Proxmox has it's IP on 10.0.40.1 and VLAN 40?