I have seen a lot of questions related to Bridge and network manager. however none of them seem to apply to what i seen AND want.
I setup my bridge in /etc/network/interfaces
.
This works perfectly; it uses a nice static ip etc.
However once I rebooted, the network manager says it is unmanaged (as in it can't manage the bridge/connections).
Now this would normally be fine, but I kind of need/want something else on this computer as well.
The first question is: Is it possible using openVPN (or any other vpn) connection on a bridged interface?
If so, how do I get Network Manager to manage the bridged interface? (as at this point VPN is set up there, but doesn't work/connect because it's unmanaged.)
Unfortunately, I keep answering my own questions aparently. But just to share with others..
Bridge + openvpn works BUT internal network only. AND has an odd bug that openvpn re-connects it self making multiple TAP devices (I use tap method).
In the end i solved my problem this way:
eth0
to the vm - and vice versa).The weirdest problem about ubuntu is it seems to forget all iptables and ipv4 forward enbaled (sysctl) settings on a reboot.
so, just add it to rc.local and it will work fine on every boot/reboot :)
If you need exact details for the setup, just give me a ring. ;)
In Ubuntu 12.10 it is not possible to use bridged networking with the network manager on the same network interface. The device used for bridging must be set to manual in /etc/network/interfaces which excludes it from network manager. For setting up a bridge, follow the instructions of the Ubuntu community help. What works is to have eth0 bridget and e.g. wlan0 managed by network manager. So it is possible to connect to wifi networks conveniently. Unfortunately this does not work for OpenVPN connections. Hence one will have to start them manually with
sudo openvpn /etc/openvpn/client.conf
m given that the client configuration file is created. But there is seems to be help, people from the Fedora project are working to implement bridged networking into the Network manager. It is expected to Fedora 20.Bridging with NetworkManager finally works for me in 15.04 beta (with VPN). In 14.04 it didn't, not sure about 14.10.
eth0
,eth1
, ...)You may have to disconnect/connect, but for me it came up with no problem. This page was helpful:
https://avi.alkalay.net/2014/01/fedora-20-virtualization-networkmanager-native-bridge.html