diff options
author | terminaldweller <thabogre@gmail.com> | 2022-10-08 08:25:21 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-10-08 08:25:21 +0000 |
commit | f9e8deec17ea1784b45e7ea620ed0fef49170359 (patch) | |
tree | 8c342caff8b39c58b1c91ca9426841e55e743357 /ipv6/ns_bind.sh | |
parent | update (diff) | |
download | scripts-f9e8deec17ea1784b45e7ea620ed0fef49170359.tar.gz scripts-f9e8deec17ea1784b45e7ea620ed0fef49170359.zip |
update
Diffstat (limited to '')
-rwxr-xr-x | ipv6/ns_bind.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipv6/ns_bind.sh b/ipv6/ns_bind.sh index 9848ef4..f1638cd 100755 --- a/ipv6/ns_bind.sh +++ b/ipv6/ns_bind.sh @@ -12,8 +12,8 @@ PHONE_NS=phone_ns IF=enp0s20f0u3u3 -# sudo ip netns add ${PHONE_NS} -# sudo ip link set ${IF} netns ${PHONE_NS} +sudo ip netns add ${PHONE_NS} +sudo ip link set ${IF} netns ${PHONE_NS} sudo ip netns exec ${PHONE_NS} ip link set ${IF} up sudo ip netns exec ${PHONE_NS} ip link set dev lo up # will need to install dhclient before runnning this dummy |