From 671a03e3f1ef69ca052326874a7bbb9a0fa30746 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sat, 28 Feb 2009 12:08:45 +0000 Subject: fixed example ipv6 netmask --- etc/anytun/client1/post-up.sh | 2 +- etc/anytun/client2/post-up.sh | 2 +- etc/anytun/client3/post-up.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') 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 -- cgit v1.2.3