touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #66613
[Bug 1430675] Re: fails to set up a bridged network interface
Mine is an old install too.
In my case, I have 3 nics. Nothing in interfaces.d/
br0 is my lan
br1 wan (behind router)
br2 is not connected, and no, I don't want an ip address there unless is really necessary .
Here is my interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
auto eth2
iface eth2 inet manual
auto br0
iface br0 inet static
address 10.11.101.200/24
bridge_ports eth0
bridge_stp off
bridge_fd 3
bridge_hello 2
up route add -net 10.99.97.0/24 gw 10.11.101.254
up route add -net 10.8.0.0/24 gw 10.11.101.254
up route add -net 192.168.0.0/22 gw 10.11.101.254
up route add -net 192.168.4.0/24 gw 10.11.101.254
up route add -net 192.168.8.0/24 gw 10.11.101.254
up route add default gw 10.11.101.254 metric 200
dns-nameservers 10.11.101.254 10.0.0.1
dns-search lxc bensa.ar flacso.org.ar lan
auto br1
iface br1 inet dhcp
bridge_ports eth1
bridge_stp off
bridge_fd 3
bridge_hello 2
auto br2
iface br2 inet manual
bridge_ports eth2
bridge_stp off
bridge_fd 3
bridge_hello 2
BTW, at work I have another vivid host (only one interface) where the bridge goes up as it should:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.0.11
netmask 255.255.252.0
gateway 192.168.0.1
bridge_ports eth0
dns-nameservers 192.168.0.1 192.168.0.254
dns-search flacso.org.ar
For now, at home, I've made a workaround for this problem with this snipped in rc.local:
ip link show dev br0 || ifup br0
ip link show dev br1 || ifup br1
ip link show dev br2 || ifup br2
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1430675
Title:
fails to set up a bridged network interface
Status in systemd package in Ubuntu:
Incomplete
Bug description:
I have a simple bridge set up in /etc/network/interfaces so that the
virtual machines running on that machine can use it and be on the same
subnet. But with systemd it's not started on boot. The bridge is
configured as follows
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_maxwait 5
reproduced now on a fresh vm.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1430675/+subscriptions
References