Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPv6 Tunnel Setup. Problems[fixed!]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun May 15, 2005 12:10 am    Post subject: IPv6 Tunnel Setup. Problems[fixed!] Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun May 15, 2005 4:35 pm    Post subject: Reply with quote

* bump * :(
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Sun May 15, 2005 5:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun May 15, 2005 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue May 17, 2005 5:13 pm    Post subject: Reply with quote

*bump* :(
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue May 17, 2005 8:37 pm    Post subject: Reply with quote

Changed sit to sit1 and the client did start working correct. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum