Jump to content
Sign in to follow this  
anyweb

ipv6 problems...

Recommended Posts

ok..

 

 

z0ny helped me setup ipv6 but now the dumb thing is not working and i havnt changed anything

 

my ipv6 details are here (from my sixxs.sh script)

 

#!/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

Share this post


Link to post
Share on other sites

i've done that dude (its in the post) ;)

 

i believe its my tunnel because it started working again all by itself magically

 

cheers

 

anyweb

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...