Hi,
I have a proxmox-machine with six NICs, each with its vmbr.
I have set IPv4/6-addresses only on one vmbr because this is the managing vmbr. The other NICs/vmbrs are only for VMs with different networks.
IPv4: Everything worked as expected - none of the other vmbrs got an ipv4-address.
IPv6: Here, all vmbrs got IPv6 addresses, even if I did not set ipv6-addresses in System > Network. This is a problem because the hypervisor must not be reachable on other networks than the management network.
I solved this via sysctl:
Suggestion: It would be great if it's possible to disable IPv6 for the host per interface.
I have a proxmox-machine with six NICs, each with its vmbr.
I have set IPv4/6-addresses only on one vmbr because this is the managing vmbr. The other NICs/vmbrs are only for VMs with different networks.
IPv4: Everything worked as expected - none of the other vmbrs got an ipv4-address.
IPv6: Here, all vmbrs got IPv6 addresses, even if I did not set ipv6-addresses in System > Network. This is a problem because the hypervisor must not be reachable on other networks than the management network.
I solved this via sysctl:
Code:
# /etc/sysctl.d/80-local.conf
# Disable IPv6 and RA on all interfaces
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.all.accept_ra = 0
# Enable IPv6 on Loopback/vmbr0 and RA on vmbr0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.vmbr0.disable_ipv6 = 0
net.ipv6.conf.vmbr0.accept_ra = 1
Suggestion: It would be great if it's possible to disable IPv6 for the host per interface.