just a check on a 6to4 syntax thing

Paul Aitken paitken@cisco.com
Thu, 21 Mar 2002 20:59:42 +0000


Robert,

> What part of the IPv4 address goes here ?
> 
> ipv6_prefix_nn0="2002:xxxx:xxxx"
>                       ^^^^^^^^^
All of it ;)

 From two paragraphs above your quote:

 > For example, if your gateway machine's IPv4 address is 192.168.2.199
 > (it obviously wouldn't be since that address is unroutable, but just
 > for example), your IPv6 prefix would be 2002:c0a8:2c7::/48.

It works like this:

dec -> hex
---    ---
192 -> C0
168 -> A8
   2 -> 02
199 -> C7

So you'd use 2002:C0A8:02C7::/48

Or you could use 2002:c058:6301::/48 - see RFC 3068
-- 
Paul Aitken
IPv6 Development, Cisco Systems Ltd, Edinburgh, Scotland. EH6 6LX