Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IPv6 Only Network (QaD Quickstart)
11-02-2009, 01:57 AM
Post: #1
IPv6 Only Network (QaD Quickstart)
Just a few pointers for anybody possibly interested in setting up a LAN on native IPv6 while still having access to IPv4, here are a few of the details:

First, you need 2 peices of software, TOTD (Trick or Treat Daemon), and Ptrtd (Pretty Tasty Routing Toad Demon, I guess). (In *BSD there is "Faithd" in place of Ptrtd, but hell it's a Linux forum)

Your IPv6 network is setup as usual. Now, your 'IPv6->IPv4 Masq' router must have IPv6 support and TUN/TAP support. This option is found in the Network Options section in 2.4 I believe.

Install totd on the target system, and when configuring it, you want it to listen on IPv6 on your internal network. You can listen to all too, but external users may be able to translate ipv4 addresses to ipv6 addresses at your expense (oh no!)

At this point, you will decide on a 'fake' IPv6 block for your translated IPv4 addresses. But first, let's look at what it all means.

Yahoo.com A 66.218.71.198

and, as reported from TOTD on my configuration:
Yahoo.com AAAA 2005:0:0:ffff::42da:47c6

Neat, huh? Well, 2005:0:0:ffff::/64 is a completely invalid block, but easy to route etc. etc.

In the translated IPv6 addy, the last 2 quads represend the IPv4 address in hex. Don't worry, this is the same method Ptrtd (or faithd) uses.

Now, your workstations on your lan (and servers) should have a route for the 2005:0:0:ffff::/64 block pointing to your ptrtd router. Ptrtd does the physical work. Install Ptrtd, and take a look at the config. Your prefixes must match, and generally they should always be /64's.

It's likely not safe to have ptrtd listening on an external interface (ie, outside the lan) and i would suggest to run the router behind an IPMASQ firewall for good measure.

If all is configured, fire up ptrtd and you should be able to connect to any IPv4 service from your IPv6 only network using any IPv6 capable software!


Post any questions below, I'm hoping for a few.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


Contact Us | Vedova Network | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication