ia64/xen-unstable

changeset 7463:840a66f08e3d

Set antispoof default to yes, as this seems safer, and is the current behaviour
in VifCtl.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Thu Oct 20 14:06:07 2005 +0100 (2005-10-20)
parents 1e7bbbdff402
children 82cdb5efc3a8
files tools/examples/network-bridge
line diff
     1.1 --- a/tools/examples/network-bridge	Thu Oct 20 12:35:57 2005 +0100
     1.2 +++ b/tools/examples/network-bridge	Thu Oct 20 14:06:07 2005 +0100
     1.3 @@ -25,7 +25,7 @@
     1.4  #            higher value than its default of 1.
     1.5  # bridge     The bridge to use (default xenbr${vifnum}).
     1.6  # netdev     The interface to add to the bridge (default eth${vifnum}).
     1.7 -# antispoof  Whether to use iptables to prevent spoofing (default no).
     1.8 +# antispoof  Whether to use iptables to prevent spoofing (default yes).
     1.9  #
    1.10  # start:
    1.11  # Creates the bridge and enslaves netdev to it.
    1.12 @@ -66,7 +66,7 @@ for arg ; do export "${arg}" ; done
    1.13  vifnum=${vifnum:-0}
    1.14  bridge=${bridge:-xenbr${vifnum}}
    1.15  netdev=${netdev:-eth${vifnum}}
    1.16 -antispoof=${antispoof:-no}
    1.17 +antispoof=${antispoof:-yes}
    1.18  
    1.19  pdev="p${netdev}"
    1.20  vdev="veth${vifnum}"