Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
News

Learning IPv6? 39

fsckme asks: "With IPv6 starting to filter its was into the internet I thought that it was about time to learn it. However digging around I've found sites like www.ipv6.org and the IPv6 FAQ but I haven't found a tutorial teaching the basics. Can anyone recommend a nice web based tutorial of even a decent book?"
This discussion has been archived. No new comments can be posted.

Learning IPv6?

Comments Filter:
  • by redcliffe ( 466773 ) on Wednesday May 15, 2002 @06:35AM (#3522554) Homepage Journal
    turning your windows, mac and linux combination network from IPv4 to v6. I've seen a lot of articles that cover part of it, but I'd like a step by step on the whole process. Thanks,

    David
    • I'd like to know when it's going to happen (or whether it has happened already). They've been talking about the change for years!
    • by noahm ( 4459 )
      Only IPv6? Most of these machines won't be able to do it. At this point, it's far more common to run both IPv6 and IPv4 on a host simultaneously. For whatever reason it seems that OSs hosts are unable to use IPv6 DNS hosts. I've gotten Linux to work IPv6-only (kernel 2.4.x, Debian unstable). I have heard from one of the FreeBSD network coders that FreeBSD can't do it, though that might not be current information. I don't think there's any way to get Windows to use IPv6 hosts for DNS servers.

      WinXP can do dual-stack (IPv6 and IPv4) just fine. Just run 'ipv6 install' from a command prompt and you'll have a working autoconfiguring IPv6 host. Their docs [microsoft.com] are quite helpful.

      I don't know anything about IPv6 on Macs, though I'd love to try it. Apparently OS X can do it, though all the pages I've found to describe it are in Japanese.

      noah

      • Well that's what I meant. dual-stack. Apparently the Kernel 2.4 IPv6 isn't very good, so you use the usagi one. Usagi Ipv6 has been merged in 2.5.x AFAIK. Thanks,

        David
        • Apparently the Kernel 2.4 IPv6 isn't very good, so you use the usagi one.

          I've been using the standard Linux 2.4 IPv6 with no problems at all for over a year (since about the time 2.4.0 came out). I've used USAGI a bit, but it actually introduced a bit of instability, causing my machine to lock up completely on a couple of occasions. I know there are some things that USAGI supposedly gets right that the kernel gets wrong, but I haven't run in to any of them. One thing that is supposed to make a difference, though, whether you're using USAGI or not, is building IPv6 statically into your kernel image. I've never managed to get a host using IPv6 as a module to autoconfigure at all.

          Note also that USAGI includes important modifications to libc. Having good support in libc is as important as having kernel support.

          Maybe I should check out USAGI again...

          noah

      • FreeBSD has supported IPv6 for years and has been able to do IPv6 _only_, (including IPv6 network installs) for at least a year.
  • Quake! (Score:3, Informative)

    by Disevidence ( 576586 ) on Wednesday May 15, 2002 @06:40AM (#3522561) Homepage Journal
    For the hoplessly bleeding edge, their is a <a href=http://www.viagenie.qc.ca/en/quake.shtml>Q uake Version</a> modified to use Ipv6. They even have a server up!
  • by Economist ( 466965 ) <(moc.ria-itlum) (ta) (retsambew)> on Wednesday May 15, 2002 @07:34AM (#3522625) Journal
    When i look at the output of ifconfig, i notice my network cards have IPv6 addresses like fe80::248:54ff:fe6e:f6c2/10. Now, that makes me wonder, where did it get that address from (i've never said to use that address) and what's with the /10 in the back? I thought i read that /x means the same on IPv6 than it did on IPv4. I'm confused....

    So if anybody finds me a site wich explains such things in an easy to understand manner, i would be delighted.
    • /10 means that you have a 10(bit?) subnet. That tells your computer's closest router, what requests from your computer that it shouldn't route.
      • Hey,

        IPv6 has a very diffrent way of nameing things. First off you have the folling addresses on each card;

        v6 (128bit in hex)
        Multicast (128bit in hex w/reserved header)
        Group Multicast (128bit in hes w/reserved header)
        Network Multicast (128bit in hes w/reserved header)
        Network (same as above)
        Broadcast (same as above)
        and last but not least all those v4 addresses too. so yes the /10 is a leagacy compliance feature.

    • The fe80::... that you see is your local link address. It's automatically created based on your ethernet card's MAC address. You can change it if you'd like but generally the host will propose that as its own address and the router will agree. In this way, DHCP-like functionality is built-in to v6.

      The CIDR notation means the same thing in IPv6, but instead of /32 it's /128. The first half is generally used for routing in the same way the current IPv4 Internet works but the last /64 is generally occupied by the linklocal address.
    • fe80 is a link-local address (i.e. your ethernet card). Your Ethernet card's MAC address is stored in the lower 64 bits of the address (54:ff:fe:6e:f6:c2). There's a lot of useful info at http://www.netbsd.org/Documentation/network/ipv6/ [netbsd.org].

      Derek
  • Comer (Score:1, Informative)

    by Anonymous Coward
    Try Comer's Internetworking With TCP/IP, Volume 1. It contains a good overview of IPv6.
    • Re:Comer (Score:4, Informative)

      by hazen_vs ( 244808 ) <hazen@[ ]entia.ca ['pot' in gap]> on Wednesday May 15, 2002 @08:41AM (#3522793) Homepage
      Linux Magazene's Last months Issue has a very comphrensive overview. As well as the following sites.

      Solaris 8 Faq [sun.com]
      IPng Overview [sun.com]
      Juniper's Perspective [juniper.net]

      For those in the "Know" BSD has had V6 compliance for quite some time now. OpenBSD, NetBSD and FreeBSD all support it but OpenBSD will install v6 by default due to it's added security mesaures.

      By the way, "IT's all infrastructre?!" A statement that those of us whom actually provide said "Infrastructure" make it seem simple much like magic, it's seamleass and it works well than it's abvoiusly a testament to those that put "it" together.

      IPv6 will often be refferd to as IPng in earlier documents.

      For those of you whom think "Well I should just plug in to v6 and I'm there." I have only one though; Ignorance is bliss and there are a lot of blissful people out there.


  • by obtuse ( 79208 ) on Wednesday May 15, 2002 @08:54AM (#3522839) Journal
    There was an article in Sysadmin magazine recently.

    Getting on the 6bone Quickly With Solaris8
    http://www.samag.com/documents/s=1441/sa m0111d/
  • Implementing IPV6 (Score:3, Informative)

    by bihoy ( 100694 ) on Wednesday May 15, 2002 @09:16AM (#3522897)

    Implementing IPV6: Supporting the Next Generation Internet Protocols [amazon.com]

    A former colleage of mine had this book and liked it. I have not read it personally but I just checked it out on Amazon. It looks like it has a lot of useful information.

    Here's a bit from their description:

    "IPv6 is a critical new technology, essential for the geometrically increasing traffic on the net. The second edition of Implementing IPv6 shows networking professionals the how and why of making the transition -- and points out both IPv6's capabilities, and the potential issues it raises for network managers."

    Inside you'll find everything you need to:

    Learn the IPv6 addressing architecture.

    Keep up to date with the latest Request For Comments (RFC) documents.

    Understand such hot issues as upper layer protocols, APIs, and security.

    Manage IPv6 Internetworks.

    Master transition mechanisms and routing.

    Troubleshoot autoconfiguration and local network issues.

    Understand all the capabilities and shortcomings of the next generation...

  • You can try reading UNIX network programming by the late Rick Stevens (2nd edition). It covers IPv6 network programming... 1st [kohala.com] and 2nd [kohala.com] volume.
  • Freenet6 (Score:4, Informative)

    by larse ( 97184 ) on Wednesday May 15, 2002 @01:00PM (#3524101)
    Not so much a tutorial, but Freenet6 makes it *very* easy to connect to the 6bone, if your upstream ISP doesn't support IPv6 yet:

    http://www.freenet6.net/

    And they are part of the FreeBSD ports tree already.

  • by keep_it_simple_stupi ( 562690 ) on Wednesday May 15, 2002 @01:28PM (#3524365) Homepage
    There are technical documents here [cisco.com] from Cisco. That doesn't make them easy to read, but it should be at least correct. Happy reading!
  • by noahm ( 4459 ) on Wednesday May 15, 2002 @02:38PM (#3524878) Homepage Journal
    You didn't make it clear if you wanted to learn how to set up IPv6 on your network, or if you wanted to learn to program IPv6-enabled apps. You also didn't indicate what OS you are using, which means you can really only get general answers.

    Programming IPv6 apps is actually quite easy, and actually involves programming protocol family independent code if you want to do it right. On the client end, this basically involves using a function (getaddrinfo(3) [ctyme.com]) to get a linked list of all addresses associated with a given hostname in any protocol family (IPv4, v6, or even something fun like AppleTalk) and walking along the list until you get a good connection. This has the added advantage that if you are trying to connect to a host that has multiple IP addresses, and some of them are non-responsive (i.e. a round-robin DNS situation), your client will try connecting to each IP address until it succeeds.

    If you're trying to learn how to configure and use IPv6 on your hosts, try some of these:

  • http://www.compaq.com/ipv6/ Have fun! 8^)
  • I've been messing around with IPv6 for a couple years, and reading about it for a couple more, which still puts me behind the curve a bit. Bottom line is this is really new stuff, and the kind of basic information out there is just that, basic, in the same way assembler is basic (though not as basic as straight machine code). There is very little in the way of easy to follow directions, let alone complete network stacks and applications to make use of them. If you want a (mostly) complete IPv6 stack, go with BSD.

    The best web resource i've found for linux specific information is a HOWTO by Peter Bieringer. It's located at http://www.bieringer.de/linux/IPv6/index.html [bieringer.de]

    http://www.hs247.com/ [hs247.com] Has a bunch of links to a ton of information, and is OS agnostic.

    One book I've found to be pretty helpful is called IPng and the TCP/IP protocols: Implementing the Next Generation Internet. The first half of the book rambles a bit, but the second half gets down to business quite nicely. It can be a bit technical at points, which I like, but may be a dry for some.

    O'Reilly has a good article on 6to4 tunneling at http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6 _tutorial.html. The specifics are BSD oriented, but the concepts apply everywhere.

    If you want to start writing some code that uses IPv6, the ever popular UNIX Network Programming is a great resource.
  • UNIX Network Programming [amazon.com].

    Its all you really need. Plenty of great chapters on IPv6; What it is. How it works and how it is different than IPv4. Plus TONS of other great stuff. Check it out.

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...