> 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.

The second "half" of your IPv6 address is (usually, you can
override it) autmagically generated, and is your host address.  It's
a function of a number of things, including your MAC address on an 
ethernet interface.

For example :

le0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index 2
        inet6 3ffe:8001:5:2:a00:20ff:fe18:a87d/64 

is my IPv6 address on my server here.  3ffe:8001:5:2/64 is the network
address, and a00:20ff:fe18:a87d is the host part.

My MAC address is :

08:00:20:18:a8:7d

You can see how some of it shows up in the IPv6 address, but it's done
automatically.  You'll need to read the RFC's to see how it's done
if you're curious, but you don't really need to know, as you don't
do it yourself.

My network allocation from trumpet.com.au is 3ffe:8001:5::/48,
which gives me 2^16 networks (the equivalent of an IPv4 B class) to
split up as I choose.

> 2. Add the prefix 2002 -> 2002:c0a8:0002::
> 
> Its the last :: that confuses me. I take that this means that my full
> address is:

:: means "fill these bits with zeros", basically.  

> 2002:c0a8:0002:0:0:0:0:0
> 
> To me this doesn't look like a host address. It looks more like a
> network address (ala 192.168.0.0). Is this a valid host address in
> IPv6?

It's a network address.

> My second question is about the /48 part. Does the /48 part correspond
> to the netmask? If so, does this mean that the lower 80 bytes are
> availble for host addresses?

*only* the bottom 64 bits are available for host addresses (but that
should be enough :) ).  The next 16 bits are for you to use as your
network 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.

Setting up the router is implementation-specific.

Carl


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

Reply via email to