X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fnetwork.git;a=blobdiff_plain;f=test%2Fnitsi%2Ftest%2Fport-vlan%2Frecipe;h=2341e1978993e0ee1233f0d1d2e190735efc3d35;hp=aad19fd215631b3feaa1355a408d118c44fbf9f4;hb=f24529e498b1c3fe60196c34356e5b005a22ae4c;hpb=6ccd7812c65df73bdafe191e66a4ebeca17bbc0d diff --git a/test/nitsi/test/port-vlan/recipe b/test/nitsi/test/port-vlan/recipe index aad19fd2..2341e197 100644 --- a/test/nitsi/test/port-vlan/recipe +++ b/test/nitsi/test/port-vlan/recipe @@ -1,8 +1,8 @@ -include: ../../include/setup +include: setup # This contains the basic network configuration for all vpn-tests -include: ../../include/alice-port-vars -include: ../../include/bob-port-vars +include: alice-port-vars +include: bob-port-vars # Create an uplink zone all: network zone new upl0 bridge --stp=off @@ -17,7 +17,7 @@ bob: network zone upl0 config new static 192.168.100.102/24 all: network status # Create a vlan device with parent port attached to net1 -all: network port new vlan --parent-device=${p_net1} --tag=42 +all: network port new vlan --port="${p_net1}" --id=42 all: network zone upl0 port attach "${p_net1}v42" # Test if the vlan works by pinging bob