diff --git a/sample/netnsplan.yaml b/sample/netnsplan.yaml index deb2ca2..819f3f3 100644 --- a/sample/netnsplan.yaml +++ b/sample/netnsplan.yaml @@ -1,15 +1,18 @@ netns: sample1: ethernets: - eth0: - addresses: - - 192.168.10.1 eth1: addresses: - 192.168.20.1 + route: + - to: default + via: 192.168.20.254 + post-script: | + sysctl --system + iptables-restore /etc/iptables/rules.v4 sample2: ethernets: - eth0: + eth2: addresses: - 172.16.10.1 dummy-devices: