aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6/ns_bind.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-10-08 08:25:21 +0000
committerterminaldweller <thabogre@gmail.com>2022-10-08 08:25:21 +0000
commitf9e8deec17ea1784b45e7ea620ed0fef49170359 (patch)
tree8c342caff8b39c58b1c91ca9426841e55e743357 /ipv6/ns_bind.sh
parentupdate (diff)
downloadscripts-f9e8deec17ea1784b45e7ea620ed0fef49170359.tar.gz
scripts-f9e8deec17ea1784b45e7ea620ed0fef49170359.zip
update
Diffstat (limited to 'ipv6/ns_bind.sh')
-rwxr-xr-xipv6/ns_bind.sh4
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