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