]> git.ipfire.org Git - people/jschlag/network.git/blob - test/nitsi/include/vpn-base
Merge remote-tracking branch 'upstream/master'
[people/jschlag/network.git] / test / nitsi / include / vpn-base
1 # This contains the basic network configuration for all vpn-tests
2 include: ../include/setup
3 include: ../include/alice-port-vars
4 include: ../include/bob-port-vars
5 all: network zone new upl0 bridge
6 all: network zone new upl1 bridge
7 all: network zone new net0 bridge
8 all: network zone new net1 bridge
9 all: network zone upl0 port attach ${p_net1}
10 all: network zone upl1 port attach ${p_net2}
11 # Attach dummy ports to all net*
12 all: network port new dummy
13 all: network port new dummy
14 all: network zone net0 port attach d0
15 all: network zone net1 port attach d1
16 # Bring everyting up
17 all: network zone upl0 up
18 all: network zone upl1 up
19 all: network zone net0 up
20 all: network zone net1 up
21 all: network status
22 # IP config
23 alice: network zone upl0 config new static 192.168.122.2/24
24 alice: network zone upl1 config new static fdd1:9e02:338f::1:1/64
25 alice: network zone net0 config new static 192.168.200.1/24
26 alice: network zone net1 config new static fdd1:9e02:338f::2:1/64
27 bob: network zone upl0 config new static 192.168.122.3/24
28 bob: network zone upl1 config new static fdd1:9e02:338f::1:2/64
29 bob: network zone net0 config new static 192.168.201.1/24
30 bob: network zone net1 config new static fdd1:9e02:338f::3:1/64
31 # Simple ping test
32 alice: ping -c 5 192.168.122.3
33 alice: ping6 -c 5 2001:470:6ef3:1::1
34 bob: ping -c 5 192.168.122.2
35 bob: ping6 -c 5 2001:470:6ef3:1::2