Re: NetworkManager & tun/br enigma
Johannes Graumann wrote:
> Hello,
>
> I'm trying to get a NetworkManager-independent bridg up and running to be
> able to have my firewall manage traffic to/from lxc containers.
>
> My '/etc/network/interfaces' looks like this:
>> auto lo
>> iface lo inet loopback
>>
>> # tun/tap/bridge combo for lxc container networking
>> auto tun0
>> iface tun0 inet manual
>> tunctl_user root
>> up ip link set tun0 up
>> down ip link set tun0 down
>> auto br0
>> iface br0 inet static
>> bridge_ports tun0
>> bridge_maxwait 0
>> bridge_stp off
>> address 172.16.0.1
>> netmask 255.255.255.0
>> dns-search virt.local
>
> No matter what I do to the
>> [ifupdown]
>> managed=true/false
> parameter in '/etc/NetworkManager/NetworkManager.conf', 'ifconfig' doesn't
> show me the tun0/br0 interfaces.
>
> When I manually call 'service networking re/start', the process gets stuck
> unresponsively. 'CTRL-C'ing out 'ifconfig' now shows the tun/br
> interfaces. 'tail /var/log/messages' reports:
>> IPv6: ADDRCONF(NETDEV_UP): tun0: link is not ready
>
> Any hints on what may be wrong and how to proceed?
>
> Sincerely, Joh
Turns out this was a (shot?) systemd issue. After reinstalling it my setup
works as expected: eth/wlan managed by NM (as nos present in
/etc/network/interfaces), tun/br come up and are not NM managed.
Joh
Reply to: