Files
ns-3-dev/examples/tap/virtual-network-teardown.sh
T

14 lines
283 B
Bash
Executable File

#!/bin/sh
lxc-destroy -n left
lxc-destroy -n right
ifconfig br-left down
ifconfig br-right down
brctl delif br-left tap-left
brctl delif br-right tap-right
brctl delbr br-left
brctl delbr br-right
ifconfig tap-left down
ifconfig tap-right down
tunctl -d tap-left
tunctl -d tap-right