ia64/xen-unstable

changeset 12647:4dad3420d74a

Fix for network routing setup. Enables proxy arp on dom0's externally visible interface.
Signed-off-by: H. Andres Lagar-Cavilla <andreslc@cs.toronto.edu>
author kfraser@localhost.localdomain
date Wed Nov 29 10:57:30 2006 +0000 (2006-11-29)
parents ec2af46f9472
children f69c4a275d4d
files tools/examples/network-route
line diff
     1.1 --- a/tools/examples/network-route	Wed Nov 29 10:56:02 2006 +0000
     1.2 +++ b/tools/examples/network-route	Wed Nov 29 10:57:30 2006 +0000
     1.3 @@ -16,4 +16,12 @@
     1.4  #
     1.5  #============================================================================
     1.6  
     1.7 +dir=$(dirname "$0")
     1.8 +. "$dir/xen-script-common.sh"
     1.9 +
    1.10 +evalVariables "$@"
    1.11 +
    1.12 +netdev=${netdev:-eth${vifnum}}
    1.13 +
    1.14  echo 1 >/proc/sys/net/ipv4/ip_forward
    1.15 +echo 1 >/proc/sys/net/ipv4/conf/${netdev}/proxy_arp