Here's my current config

/etc/network/interfaces
"
allow-hotplug br0
auto br0
iface br0 inet static
bridge_ports eth0
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_maxwait 0
bridge_hw _ #I'll try it without this line next time because it wasn't using eth0's mac by default. The gateway on the company provider has special firewall rules to allow only specific mac addresses
address _
netmask _
network _
broadcast _
gateway _

"
/etc/rc.local
"
/sbin/ip -d link show > /root/links.txt

/sbin/ifup eth0
/sbin/ip link set eth0 up
/sbin/ifup br0

/sbin/ip -d link show > /root/links2.txt

sleep 2
/sbin/brctl setageing br0 0

exit 0
"

Upon reboot,

cat links.txt
"
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 70:54:d2:19:69:f6 brd ff:ff:ff:ff:ff:ff promiscuity 0
"

cat links2.txt
"
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 70:54:d2:19:69:f6 brd ff:ff:ff:ff:ff:ff promiscuity 1
    bridge_slave
3: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 70:54:d2:19:69:f6 brd ff:ff:ff:ff:ff:ff promiscuity 0
    bridge
"

brctl show
"
bridge name     bridge id               STP enabled     interfaces
br0             8000.ABCXXXXXXXXX       no              eth0
"

allow-hotplug br0 didn't fix it..

btw is there a way I can log systemd networking?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to