I have 4 ethernet ports, 1 as management and 3 bonded for VM, added to the relevant bridges.
The management bridge uses DHCP (all IPs are statically assigned/managed on the router) but it picks up the DNS address handed out by the VM that manages the VM network. Now I will in the fullness of time be using the firewall and/or VLANs but this is how it is for now. The management port receives the correct address but the DNS is always wrong. If I set it manually in the GUI or edit
Results of
I thought I had hit upon the solution here but it again gets reverted almost instantly after displaying correctly the contents of my manual edit to
My "simple" question is, why won't Proxmox just use the DNS server given to it via the DHCP server on the management port?
Also why do all network ports and
Bash:
auto lo
iface lo inet loopback
auto enp3s0f0
iface enp3s0f0 inet manual
#Port 1 - Management
auto enp3s0f1
iface enp3s0f1 inet manual
#Port 2 - Bridge Port 1
auto enp4s0f0
iface enp4s0f0 inet manual
#Port 3 - Bridge Port 2
auto enp4s0f1
iface enp4s0f1 inet manual
#Port 4 - Bridge Port 3
auto vmbr1
iface vmbr1 inet dhcp
bridge-ports enp3s0f0
bridge-stp off
bridge-fd 0
#Management Bridge
auto bond0
iface bond0 inet manual
bond-slaves enp3s0f1 enp4s0f0 enp4s0f1
bond-miimon 100
bond-mode balance-alb
#VM Port Bonding
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
#VM Bridge
source /etc/network/interfaces.d/*
The management bridge uses DHCP (all IPs are statically assigned/managed on the router) but it picks up the DNS address handed out by the VM that manages the VM network. Now I will in the fullness of time be using the firewall and/or VLANs but this is how it is for now. The management port receives the correct address but the DNS is always wrong. If I set it manually in the GUI or edit
/etc/resolv.conf
it changes back to the VM DHCP address almost immediately.Results of
ip -4 -p -br a
Bash:
lo UNKNOWN 127.0.0.1/8
enp3s0f0 UP 172.16.200.203/24
enp3s0f1 UP 192.168.99.78/24
enp4s0f0 UP 192.168.99.70/24
enp4s0f1 UP 192.168.99.68/24
bond0 UP 192.168.99.78/24
vmbr0 UP 192.168.99.78/24 192.168.99.72/24
veth109i0@if2 UP 192.168.99.64/24
fwbr100i0 UP 192.168.99.114/24
fwln100i0@fwpr100p0 UP 192.168.99.114/24
fwbr100i1 UP 192.168.99.116/24
fwln100i1@fwpr100p1 UP 192.168.99.116/24
fwbr100i2 UP 192.168.99.127/24
fwln100i2@fwpr100p2 UP 192.168.99.127/24
vmbr1 UP 172.16.200.203/24
I thought I had hit upon the solution here but it again gets reverted almost instantly after displaying correctly the contents of my manual edit to
/etc/resolv.conf
.My "simple" question is, why won't Proxmox just use the DNS server given to it via the DHCP server on the management port?
Also why do all network ports and
vmbr0
grab an IP when there is no IP setting in /etc/network/interfaces
telling it to do so?
Last edited: