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