IPV6 Address via SLAAC on Bridge

domfi

New Member
Feb 28, 2016
4
0
1
52
Hello everybody,

I've just seen, that ProxmoxVE has SLAAC activated for vmbr*. If an interface is connected to a network with IPv6 RAs the bridge gets an IPv6 Address and the virthost is reachable from the ipv6 network. IMO this is a security risk. Is there a solution other than disable ipv6 manually on the virthost?

Kind regards,
Dominik
 
You can add `autoconf 0` to vmbr0's /etc/network/interfaces inet6 section.
You can also disable autoconf by default via `/etc/sysctl.conf` (by adding `net.ipv6.conf.default.autoconf = 0`)
 
Thank you for your answer. I've tried but this did not work:

/etc/network/interfaces:
(...)
auto eth0.10
iface eth0.10 inet manual
vlan-raw-device eth0

auto vmbr1
iface vmbr1 inet manual
bridge_ports eth0.10
bridge_stp off
bridge_fd 0

iface vmbr1 inet6 manual
autoconf 0
(...)


Am I missing something here?

Nevertheless using sysctl worked. Since I don't want any IP address on my
bridges beside of vmbr0, I used this:

/etc/sysctl.d/disable-ipv6-on-vmbr.conf:
net.ipv6.conf.vmbr1.disable_ipv6=1

Kind regards
Dominik
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!