From 11fe9b5a22d0d09dcdc781f17553b35c6603acab Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 28 Feb 2009 14:58:44 +0000 Subject: fixed prefix length at example post-up scripts --- etc/uanytun/client1/post-up.sh | 2 +- etc/uanytun/client2/post-up.sh | 2 +- etc/uanytun/client3/post-up.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/uanytun/client1/post-up.sh b/etc/uanytun/client1/post-up.sh index dd18fe5..574a3e8 100755 --- a/etc/uanytun/client1/post-up.sh +++ b/etc/uanytun/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/uanytun/client2/post-up.sh b/etc/uanytun/client2/post-up.sh index 9348f47..b65cb0b 100755 --- a/etc/uanytun/client2/post-up.sh +++ b/etc/uanytun/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/uanytun/client3/post-up.sh b/etc/uanytun/client3/post-up.sh index 9348f47..b65cb0b 100755 --- a/etc/uanytun/client3/post-up.sh +++ b/etc/uanytun/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.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 -- cgit v1.2.3