summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2009-02-28 12:08:45 +0000
committerOthmar Gsenger <otti@anytun.org>2009-02-28 12:08:45 +0000
commit671a03e3f1ef69ca052326874a7bbb9a0fa30746 (patch)
tree36011bfbe99d9ad031b4851ffd261b8cc3fe07f8
parentupdated manpages (diff)
fixed example ipv6 netmask
-rwxr-xr-xetc/anytun/client1/post-up.sh2
-rwxr-xr-xetc/anytun/client2/post-up.sh2
-rwxr-xr-xetc/anytun/client3/post-up.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/anytun/client1/post-up.sh b/etc/anytun/client1/post-up.sh
index dd18fe5..574a3e8 100755
--- a/etc/anytun/client1/post-up.sh
+++ b/etc/anytun/client1/post-up.sh
@@ -3,7 +3,7 @@
ip link set dev $1 up
ip link set dev $1 mtu 1400
ip addr add dev $1 192.168.123.1/24
-ip addr add dev $1 fec0::1/128
+ip addr add dev $1 fec0::1/64
# disable ICMP redirects as they don't work within the tunnel
echo 0 > /proc/sys/net/ipv4/conf/$1/send_redirects
diff --git a/etc/anytun/client2/post-up.sh b/etc/anytun/client2/post-up.sh
index 9348f47..b65cb0b 100755
--- a/etc/anytun/client2/post-up.sh
+++ b/etc/anytun/client2/post-up.sh
@@ -3,7 +3,7 @@
ip link set dev $1 up
ip link set dev $1 mtu 1400
ip addr add dev $1 192.168.123.2/24
-ip addr add dev $1 fec0::2/128
+ip addr add dev $1 fec0::2/64
# disable ICMP redirects as they don't work within the tunnel
echo 0 > /proc/sys/net/ipv4/conf/$1/send_redirects
diff --git a/etc/anytun/client3/post-up.sh b/etc/anytun/client3/post-up.sh
index 330d5be..4245ff4 100755
--- a/etc/anytun/client3/post-up.sh
+++ b/etc/anytun/client3/post-up.sh
@@ -3,7 +3,7 @@
ip link set dev $1 up
ip link set dev $1 mtu 1400
ip addr add dev $1 192.168.123.3/24
-ip addr add dev $1 fec0::3/128
+ip addr add dev $1 fec0::3/64
# disable ICMP redirects as they don't work within the tunnel
echo 0 > /proc/sys/net/ipv4/conf/$1/send_redirects