> > Thanks for the response. If you don't mind I have a
> > few additional questions.
> > 
> > Does the /48 prefix correspond to a 2002::/48 address? 
> 
> Yes.
> 
> > If so, I'm a little unclear on how these addresses 
> > work. As I understand it to create an address of this
> > form I need to do the following:
> > 
> > 1. Take my IPv4 address and convert it from four 8 bit
> >    numbers to 2 16 bit hex numbers. (ie 192.168.0.2
> >    (not my real IP) -> c0a8:0002)
> 
> It's got nothing to do with your IPv4 address.

Actually, for it 6to4 address, it does.  A 6to4 address is one that encodes
the IPv4 address of the local gateway into the IPv6 prefix.  And you do so
in precisely the way ranga said.  A 6to4 gateway router knows to
automatically tunnel 6to4 addresses to the IPv4 address encoded into the
prefix.

> > 2. Add the prefix 2002 -> 2002:c0a8:0002::
> > 
> > Its the last :: that confuses me.

This gives you a 48 bit prefix (normally written 2002:c0a8:0002::/48).  The
remaining bits can be whatever you want.  Typically, the next 16 bits are
used for any subnets you might have.  If you're only running one subnet at
home, you can leave them zero to form a 64 bit prefix.  Have your gateway
router advertise that prefix on your internal link and all the hosts
connected to that link will automatically generate full 128 bit addresses.
Note that the router that serves as the 6to4 gateway into your site needs to
support 6to4 encapsulation/decapsulation, but no other downstream routers or
hosts do -- they treat 6to4 addresses just like any other global addresses.

> > Basically I'm asking if I could assign the addresses:
> > 
> > 2002:c0a8:0002:0:0:0:0:1 and 2002:c0a8:0002:0:0:0:0:2
> >  
> > to my other two machines in order to have them connect via IPv6.
> 
> You could, but you don't need to.  Once you set your router up,
> they'll autoconfigure themselves.

Yes.

--Brian



---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to