testing: Rename interfaces and bridges so they are easier to identify
This simplifies capturing traffic with Wireshark on the host as each of the guest's interfaces is clearly identified. The three bridges were previously numbered starting from 0, this scheme is restored here.
This commit is contained in:
1 parent
9525e9c506
commit
7a87381840
12 files changed
+16
-5
No files matched your search
@@ -9,7 +9,7 @@ CONFDIR=$DIR/config/kvm
|
||||
KNLSRC=$BUILDDIR/$KERNEL/arch/x86/boot/bzImage
|
||||
KNLTARGET=/var/run/kvm-swan-kernel
|
||||
HOSTFSTARGET=/var/run/kvm-swan-hostfs
|
||||
MCASTBRS="virbr1 virbr2"
|
||||
MCASTBRS="test-br0 test-br1"
|
||||
|
||||
echo "Starting test environment"
|
||||
|
||||
@@ -41,7 +41,7 @@ done
|
||||
for br in $MCASTBRS
|
||||
do
|
||||
cd /sys/devices/virtual/net/$br/brif
|
||||
for vnet in `find . -name "vnet*"`
|
||||
for vnet in `find . -name "*eth?"`
|
||||
do
|
||||
echo 2 > $vnet/multicast_router
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user