summaryrefslogtreecommitdiff
path: root/vnet/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/build.sh')
-rwxr-xr-xvnet/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/build.sh b/vnet/build.sh
index 19d65406..5354969a 100755
--- a/vnet/build.sh
+++ b/vnet/build.sh
@@ -73,6 +73,7 @@ buildtaps() {
73buildtaps 73buildtaps
74 74
75num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') 75num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p')
76num=${num:-88}
76 77
77ip addr add 80.$num.99.99 dev ep0 78ip addr add 80.$num.99.99 dev ep0
78ip addr add 81.$num.99.99 dev ep1 79ip addr add 81.$num.99.99 dev ep1