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