Displaying 1 result from an estimated 1 matches for "handle_vlan_start".
2010 Aug 18
8
Patch fixing vlan handling when network-bridge script is used
...xend start and you can reach both dom0 and domu.
Patch:
------
diff -r 9f49667fec71 tools/hotplug/Linux/network-bridge
--- a/tools/hotplug/Linux/network-bridge Fri Jul 30 15:22:39 2010 +0100
+++ b/tools/hotplug/Linux/network-bridge Wed Aug 18 13:33:05 2010 +0200
@@ -119,6 +119,36 @@
fi
}
+handle_vlan_start() {
+ for vlan in `ls /proc/net/vlan/${netdev}* 2>/dev/null`; do
+ vlan_id=$(echo ${vlan} | sed -e "s/.*${netdev}.\(.*\)/\1/")
+ vlan_if=${netdev}.${vlan_id}
+
+ get_ip_info ${vlan_if}
+
+ vconfig rem ${vlan_if}
+ sleep 1
+ vconfig add ${bri...