Make br0 forward traffic delay short

This commit is contained in:
Rafal Wojtczuk 2010-06-29 14:54:37 +02:00 committed by Joanna Rutkowska
parent 726e5808c6
commit a343272481
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,8 @@ start()
echo -n $"Setting up net backend in Dom0:"
brctl addbr br0 || exit 1
brctl stp br0 off
brctl setfd br0 1
ifconfig br0 10.0.0.1 netmask 255.255.0.0 up || exit 1
ifconfig br0:1 10.0.255.254 netmask 255.255.0.0 up || exit 1
echo "NS1=10.0.0.1" > /var/run/qubes_ns

View File

@ -20,6 +20,8 @@ start()
# Setup gateway for all the VMs this netVM is serviceing...
brctl addbr br0
brctl stp br0 off
brctl setfd br0 1
gateway=$(/usr/bin/xenstore-read qubes_netvm_gateway)
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
network=$(/usr/bin/xenstore-read qubes_netvm_network)