Ian Campbell
2012-Jul-12 23:28 UTC
[Pkg-xen-changes] r1068 - in branches/wheezy/xen/debian: . scripts
Author: ijc-guest Date: Thu Jul 12 23:28:23 2012 New Revision: 1068 Log: Set tap device MAC addresses to fe:ff:ff:ff:ff:ff (Closes: #671018) Modified: branches/wheezy/xen/debian/changelog branches/wheezy/xen/debian/scripts/qemu-ifup Modified: branches/wheezy/xen/debian/changelog =============================================================================--- branches/wheezy/xen/debian/changelog Sun Jul 1 18:36:24 2012 (r1067) +++ branches/wheezy/xen/debian/changelog Thu Jul 12 23:28:23 2012 (r1068) @@ -1,3 +1,10 @@ +xen (4.1.3~rc1+hg-20120614.a9c0a89c08f2-5) UNRELEASED; urgency=low + + [ Ian Campbell ] + * Set tap device MAC addresses to fe:ff:ff:ff:ff:ff (Closes: #671018) + + -- Bastian Blank <waldi at debian.org> Mon, 09 Jul 2012 19:13:45 +0100 + xen (4.1.3~rc1+hg-20120614.a9c0a89c08f2-4) unstable; urgency=low * Add Build-Using info to xen-utils package. Modified: branches/wheezy/xen/debian/scripts/qemu-ifup =============================================================================--- branches/wheezy/xen/debian/scripts/qemu-ifup Sun Jul 1 18:36:24 2012 (r1067) +++ branches/wheezy/xen/debian/scripts/qemu-ifup Thu Jul 12 23:28:23 2012 (r1068) @@ -3,5 +3,11 @@ echo -c ''config qemu network with xen bridge for '' echo $* +# Initialise a dummy MAC address. We choose the numerically +# largest non-broadcast address to prevent the address getting +# stolen by an Ethernet bridge for STP purposes. +# (FE:FF:FF:FF:FF:FF) +ip link set $1 address fe:ff:ff:ff:ff:ff || true + ifconfig $1 0.0.0.0 up brctl addif $2 $1