summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-28 14:58:44 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-28 14:58:44 +0000
commit11fe9b5a22d0d09dcdc781f17553b35c6603acab (patch)
treec83856725213716f9e1ca6ad0a59ae1836e58ed0 /etc
parentimproved init script (chroot) (diff)
fixed prefix length at example post-up scripts
Diffstat (limited to 'etc')
-rwxr-xr-xetc/uanytun/client1/post-up.sh2
-rwxr-xr-xetc/uanytun/client2/post-up.sh2
-rwxr-xr-xetc/uanytun/client3/post-up.sh2
3 files changed, 3 insertions, 3 deletions
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