]> git.ipfire.org Git - people/jschlag/network.git/blob - test/nitsi/test/pppoe/recipe
nitsi: Add test for PPPoE server/client
[people/jschlag/network.git] / test / nitsi / test / pppoe / recipe
1 include: ../../include/setup
2
3 # Get port names for Alice and Bob
4 include: ../../include/alice-port-vars
5 include: ../../include/bob-port-vars
6
7 # Start a PPPoE server on Alice
8 alice: network zone new upl0 bridge
9 alice: network zone upl0 port attach ${p_net1}
10 alice: network zone upl0 config new pppoe-server --subnet=192.168.123.0/24
11
12 # Start a PPPoE client on Bob
13 bob: network zone new upl0 pppoe --username=USER --password=PASSWORD
14 bob: network zone upl0 port attach ${p_net1}
15
16 # Show status
17 all: network status
18
19 # TODO need to check if the connection has come up