Make br0 forward traffic delay short
This commit is contained in:
parent
726e5808c6
commit
a343272481
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user