When I try to add a bridge, it become in UP state without a fe80:: IPv6 address:
$ ip link add br0 type bridge $ ip link set br0 up $ ip address show br0 40: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether c2:c3:09:08:da:5b brd ff:ff:ff:ff:ff:ff
But when I try to do the same, but inside a network namespace the fe80:: address is assigned normally:
$ ip netns add nsx $ ip netns exec nsx ip link add br0 type bridge $ ip netns exec nsx ip link set br0 up $ ip netns exec nsx ip address show br0 2: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether aa:45:d1:77:37:b3 brd ff:ff:ff:ff:ff:ff inet6 fe80::a845:d1ff:fe77:37b3/64 scope link valid_lft forever preferred_lft forever
I also tested in a virtual machine and it has the same problem.
How can I make the newly created interfaces (bridge or tap) to have a fe80:: address when bringing them up?
PS: I'm using NetworkManager, both in host and the virtual machine and my kernel flag net.ipv6.conf.all.autoconf is 1.