Difference between revisions of "Getting a Modules IPv6 address"
Line 1: | Line 1: | ||
− | As any networking-related module has a unique MAC-address, the IETF as the consortium of standardizing IPv6, has developed to generate an IPv6-address, from this MAC-address. Per default this address is choosing within an address-space which is link-local. This means, that any device within the same network is able to communicate with the corresponding address. But as soon as this network is | + | As any networking-related module has a unique MAC-address, the IETF as the consortium of standardizing IPv6, has developed to generate an IPv6-address, from this MAC-address. Per default this address is choosing within an address-space which is link-local. This means, that any device within the same network is able to communicate with the corresponding address. But as soon as this network is left - usally through an (Internet)-router, packets regarding this device will be dropped, making a connection impossible. |
For more information on IPv6 Addressing, refer to [http://tools.ietf.org/html/rfc4291 RFC4291]. | For more information on IPv6 Addressing, refer to [http://tools.ietf.org/html/rfc4291 RFC4291]. |
Latest revision as of 12:05, 13 December 2013
As any networking-related module has a unique MAC-address, the IETF as the consortium of standardizing IPv6, has developed to generate an IPv6-address, from this MAC-address. Per default this address is choosing within an address-space which is link-local. This means, that any device within the same network is able to communicate with the corresponding address. But as soon as this network is left - usally through an (Internet)-router, packets regarding this device will be dropped, making a connection impossible.
For more information on IPv6 Addressing, refer to RFC4291.
Computing the IPv6 address from the MAC-Address is quite easy. Using the devices mac-address eg. 00:11:7D:00:00:2F:00:C2, the following steps will generate the corresponding IPv6 Address:
- first replace the first 00 by 02. (02:11:7D:00:00:2F:00:C2)
- remove the 1st, 3rd, 5th and 7th colon (0211:7D00:002F:00C2)
- add the prefix 'FE80::', and you're done (FE80::0211:7D00:002F:00C2)