• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

Making my own tunnels

Started by jdkoftinoff, March 27, 2008, 10:04:29 PM

Previous topic - Next topic

jdkoftinoff

Hey everyone. I'm pretty new to ipv6. I have a tunnel and /48 network allocated here and am using the tunnel successfully from my debian linux box in a co-location that has no ipv6 support.

The box is not directly connected to any of my other networks.

I would like to make my debian box act as a secondary tunnel for my office system which is sitting behind a linksys wrt54g flashed with dd-wrt. 

when I type ifconfig I see the following for sit0 and sit1:

sit0      Link encap:IPv6-in-IPv4 
          inet6 addr: ::209.97.198.250/96 Scope:Compat
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          inet6 addr: ::209.97.203.155/96 Scope:Compat
          inet6 addr: ::209.97.203.154/96 Scope:Compat
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit1      Link encap:IPv6-in-IPv4 
          inet6 addr: 2001:470:1f04:378::2/64 Scope:Global
          inet6 addr: fe80::d161:c6fa/64 Scope:Link
          inet6 addr: fe80::d161:cb9b/64 Scope:Link
          inet6 addr: fe80::d161:cb9a/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:2011 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2005 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:376029 (367.2 KiB)  TX bytes:1591521 (1.5 MiB)

I am guessing that I would need to:

* create a sit2 and sit3 on my server to be the tunnel endpoint
* enable ipv6 forwarding
* set the appropriate route entries

Then I would have to set up my linksys router to connect to this new tunnel endpoint.  The linksys router would also run radvd with the appropriate parameters so that all my computers in the office can just use ipv6 directly - their ipv6 packets would get routed through linksys, tunnel to my server, then tunneled to HE.NET.

Is this reasonable? Where do I get started to learn about creating this configuration?

Thanks

Jeff Koftinoff
www.jdkoftinoff.com
jeffk@jdkoftinoff.com


snarked

Quotecreate a sit2 and sit3 on my server to be the tunnel endpoint
Just sit2, unless you're creating TWO tunnels to your office LAN.  Don't forget about your firewall (ip6tables).