my ipv6 no longer works - help !
Shadow Hawkins on Wednesday, 11 August 2004 14:35:40
i have had ipv6 running fine here for about 4 weeks until yesterday when it decided to stop working (and no i didnt change anything)
i'm running this on fedora core release 2 (linux)
in a nutshell, i can ping my tunnel (ipv4) but i cannot ping6 my ping6 tunnel
my ipv6 details are here (from my sixxs.sh script)
CODE
#!/bin/sh
### CONFIGURATION: SIXXS #####################
# Inteface to bind the tunnel to
IF="sit1"
# IPv4 address of the tunnelbroker
ISP4="213.204.193.2"
# IPv6 address of the tunnelbroker
ISP6="2001:960:2:29a::1"
# Local IPv4 address to bind the tunnel to
LOC4="81.225.169.198"
# Local IPv6 address
LOC6="2001:960:2:29a::2/64"
# Local IPv6 subnet
LSN="2001:960:6eb"
# Time to live
TTL="64"
# Maximum transfer unit
# Maximum transfer unit
MTU="1280"
##############################################
#########################################
### DO NOT EDIT ANYTHING BELOW UNLESS ###
#### YOU KNOW WHAT YOU ARE DOING!! ####
#########################################
# System variables
FILENAME=`basename $0`
IP=`which ip`
IFCONFIG=`which ifconfig`
ROUTE=`which route`
# Start the IPv6 engine
start() {
$IFCONFIG sit0 up
$IFCONFIG sit0 tunnel ::$ISP4
$IFCONFIG $IF up
$IFCONFIG $IF add $LOC6
$ROUTE -A inet6 add 2000::/3 gw $ISP6 dev $IF
$IP link set mtu $MTU dev sit0
$IP link set mtu $MTU dev $IF
$IP tunnel change $IF ttl $TTL
# Add additional addresses here
$IP -6 addr add $LSN::1/128 dev $IF
#$IP -6 addr add $LSN::1:1/128 dev $IF
}
# Stop the IPv6 engine
stop() {
$IP -6 route flush dev $IF
$IP link set dev $IF down
$IP tunnel del $IF
$IFCONFIG sit0 down
}
restart() {
stop
start
}
case "$1" in
start)
start
echo -e "Enabling IPv6: [ \033[40;32m OK \033[0m ]"
;;
stop)
stop
echo -e "Disabling IPv6: [ \033[40;32m OK \033[0m ]"
;;
restart)
restart
;;
*)
echo -e "\033[40;32m$FILENAME\033[0m {\033[40;32mstart\033[0m|\033[40;32mrestart\033[0m|\033[40;32mstop\033[0m}"
;;
esac
when i as root, type sixxs.sh start it starts fine, no error messages
[root@localhost root]# sixxs.sh start
SIOCSIFADDR: File exists
SIOCADDRT: File exists
RTNETLINK answers: File exists
Enabling IPv6: [ OK ]
yet if i try to ping the ipv4 of my tunnel broker it works, but if i try to ping6 my tunnel broker, it fails.
i have correctly used IPTABLES on the router (in my case smoothwall) to route protocol 41 and this has worked fine for some time, just stopped yesterday and wont come back
any advice from anyone ??
[root@smoothwall root]# iptables -t nat -I PREROUTING -p 41 -j DNAT --to-destination 192.168.0.117
[root@smoothwall root]# iptables -I FORWARD -p 41 -j ACCEPT
original post here - http://www.linux-noob.com/forums/index.php?showtopic=926&hl=
cheers
anyweb
my ipv6 no longer works - help !
Shadow Hawkins on Wednesday, 11 August 2004 17:25:35
well now i know its not me that is the problem because now it is working again after being mysteriously dead for a day and a half or more
can anyone explain why this is happening ? is my tunnel at fault ? how do i change the tunnel to one that 'works' ?
cheers
anyweb
Posting is only allowed when you are logged in. |