View previous topic :: View next topic |
Author |
Message |
jonfr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Sun May 15, 2005 12:10 am Post subject: IPv6 Tunnel Setup. Problems[fixed!] |
|
|
I have setup IPv6 net, the configuration is working correct on my local net. But i get an error when i try to run tpsc, it complains that have not setup any tunnel.
I am following this setup info regarding the IPv6 Tunnel, but it dosen't work correct. I am using freenet6 setup, but i am not sure what to install there so this works.
Code Listing 2.1: Configuration of an IPv6 tunnel
(Create a tunnel between the local (eth0) IPv4 and HE's remote IPv4 address)
# ip tunnel add sixbone mode sit remote 64.71.128.82 local 68.36.91.195 ttl 64 dev eth0
(Extract the tunneling overhead from the MTU)
# ip link set sixbone mtu 1280
(Bring the tunnel up)
# ip link set sixbone up
(Assign the IPv6 address to it)
# ip addr add 2001:470:1F00:FFFF::189 dev sixbone
(Route all global unicast IPv6 addresses through our 'sixbone' tunnel device)
# ip route add 2000::/3 dev sixbone
----
When i try to start the freenet6 client after i had setup this configureation i get this message
Code: | /etc/init.d/tspc start
* Starting Freenet6 IPv6 Client...
No ipv6 tunnel has been set (use -h for help)
[ !! ] |
---
I am not sure what is the problem here.
Last edited by jonfr on Tue May 17, 2005 8:34 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jonfr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Sun May 15, 2005 4:35 pm Post subject: |
|
|
* bump * ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jake Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Sun May 15, 2005 5:43 pm Post subject: |
|
|
You shouldn't need to run any commands if you use the tspc program. Edit your config file (not sure where Gentoo puts it, my routers are both OpenBSD) and the program will create the tunnel for you. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jonfr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Sun May 15, 2005 9:01 pm Post subject: |
|
|
Jake wrote: | You shouldn't need to run any commands if you use the tspc program. Edit your config file (not sure where Gentoo puts it, my routers are both OpenBSD) and the program will create the tunnel for you. |
I did go over the tspc config. It's looks like it's ok. But i still get no tunnel error.
Code: | #-----------------------------------------------------------------------------
# tspc.conf
#-----------------------------------------------------------------------------
#
# tsp client version
#
tsp_version=1.0.1
tsp_dir=/etc/freenet6
#
# auth_method=any|supported mechanism
# if any is specified, the first mechanism that is supported by both the
# server and the client will be picked. The order of precedence is the
# mechnism list shown by the output of -h. supprted mechanism is one of
# the token shown by th output of -h (case sensitive).
auth_method=any
#
# client_v4=auto|1.1.1.1 (valid ip address)
# if auto is specified, if_source or -s cmd line option must be specified.
client_v4=auto
# userid=anonymous
# the userid can be anonymous or any alphanumeric value that is dns legal.
userid=
# passwd=
# The passwd must be empty if userid is anonymous or an alphanumeric string
# if userid is not anonymous.
passwd=
# template=target
# template tells which configuration script needs to be run for interface
# setup.
# Normally you only need to put your osname in the value.
# You can also use "checktunnel" if you only want the tunnel info print out.
#template=checktunnel
template=linux
# server=FQDN
# Freenet6 server address
server=tsps2.freenet6.net
# retry_delay=time
# retry tells the client to retry connection after time (seconds) in case of
# failure (0 = no retry)
retry_delay=0
if_tunnel=sit
# end of tspc.conf
#-----------------------------------------------------------------------------
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jonfr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue May 17, 2005 5:13 pm Post subject: |
|
|
*bump* ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jonfr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue May 17, 2005 8:37 pm Post subject: |
|
|
Changed sit to sit1 and the client did start working correct. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|