Re: connecting to 6bone problem
Hi Chad!
On Sun, 30 Jul 2000, Chad wrote:
> I have been trying to setup a machine of mine, to the 6bone. freenet6 has
> a script designed for Debian. I have compiled ipv6 support in as well as
> tunneling support. below is listed the commands that the script they gave
> me runs. I am confused at the route error if someone could point me into
> the right direction it would be appricated. Even just descibeing what the
> error means would be great.
>
> crux:~# route -A inet6 add default gw fe80::206.123.31.102 dev sit1
The route command from the script does not work. I've sent them my version
of the script:
#!/bin/sh
set -e
CLIENT_IP6="3ffe:b00:c18:1fff:0:0:0:3b9"
SERV_IP6="3ffe:b00:c18:1fff:0:0:0:3b8"
SERV_IP4="206.123.31.102"
CLIENT_IP4="212.183.49.158"
EXT_IF="ippp0"
# Perl script for autotunnel IPv6 with Debian GNU/Linux
echo "Your system is using Debian GNU/Linux with IPv6 stack";
# Somes informations about tunnels values
cat << EOF
Your IPv6 address : $CLIENT_IP6
Freenet6 IPv6 address (server side): $SERV_IP6
Freenet6 IPv4 address (server side): $SERV_IP4
Your IPv4 address : $CLIENT_IP4
EOF
case "$1" in
start)
echo -n "Creating tunnel..."
/sbin/ifconfig sit0 up
/sbin/ifconfig $EXT_IF add $CLIENT_IP6
/sbin/ifconfig sit0 tunnel ::$SERV_IP4
/sbin/ifconfig sit1 up
/sbin/route --inet6 add ::/0 gw fe80::$SERV_IP4 dev sit1
echo "done"
;;
stop)
echo -n "Shutting down tunnel..."
/sbin/ifconfig sit0 down
/sbin/ifconfig sit1 down
/sbin/ifconfig $EXT_IF del $CLIENT_IP6
echo "done"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1;
;;
esac
exit 0
Another tunnel provider uses proposes this:
[....]
start)
echo -n "Setting up tunnel..."
/sbin/iptunnel add gif0 mode sit remote $SERV_IP4 local $CLIENT_IP4 ttl 64
/sbin/ifconfig gif0 up
/sbin/ifconfig gif0 add $CLIENT_IP6
/sbin/route -A inet6 add ::/0 gw $GW dev gif0
echo "done"
;;
stop)
echo -n "Shutting down tunnel..."
/sbin/ifconfig gif0 down
/sbin/iptunnel del gif0
echo "done"
;;
[....]
HTH
yours,
peter
--
PGP encrypted messages preferred.
http://www.cosy.sbg.ac.at/~ppalfrad/
[please CC me on lists]
Reply to: