aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/init b/init
index e9b59f7..6fb3840 100755
--- a/init
+++ b/init
@@ -244,7 +244,7 @@ priv_netbase="$(sed -e 's/^\(.*\)\.0\.0$/\1/' <<<"$priv_network")"
#
# While bridge_hw should be (and used to be) enough, something was broken (bug
# #945466) and now we set it manually and also pass it to DHCP (which runs
-# before post-up).
+# before post-up). Reportedly fixed in bridge-utils 1.6-3, testing the fix...
#
cat <<EOF >/etc/network/interfaces
auto lo
@@ -259,8 +259,8 @@ iface br0 inet dhcp
bridge_maxwait 0
bridge_fd 0
bridge_hw $gmac
- hwaddress $gmac
- post-up ip link set br0 address $gmac
+ #hwaddress $gmac
+ #post-up ip link set br0 address $gmac
post-up ip link set $eth txqueuelen 4000
post-up ip link set br0 txqueuelen 4000
@@ -275,7 +275,7 @@ iface br1 inet static
bridge_maxwait 0
bridge_fd 0
bridge_hw $lmac
- post-up ip link set br1 address $lmac
+ #post-up ip link set br1 address $lmac
post-up ip link set br1 txqueuelen 4000
post-up iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE
post-up iptables -A FORWARD -i br0 -o br1 -m state --state RELATED,ESTABLISHED -j ACCEPT