This free MAC address converter can convert any MAC address to an IPV4 IP Address and an IPV6 internet protocol Address (IP). It takes MAC Address as an input string and generates a query against given MAC address and selected conversion like MAC to IPV6 or MAC to IPV4 or both then performs above steps. Embedding MAC address in IPv6 The IPv6 Modified EUI-64 Format The actual mapping from data link layer addresses to IP interface identifiers depends on the particular technology and it is essential that all devices on the same network use the same mapping technique. A mac address is 48 bits, an IPv6 address is 128 bits. Here’s the conversion process step by step: take the mac address: for example 52:74:f2:b1:a8:7f; throw ff:fe in the middle: 52:74:f2:ff:fe:b1:a8:7f; reformat to IPv6 notation 5274:f2ff:feb1:a87f; convert the first octet from hexadecimal to binary: 52 - 01010010. MAC address can be used to generate an IPv6 link local address. What is the process of using MAC address to derive an IPv6 address? What are the problems that can be caused due to process of usin. While MAC addresses are 48 bits, that is a lot more than the 32 bit IPv4 adresses (even counting the reserved addresses 255, 127, Class D Multicast etc ), will we not eventually run out of them? Also, IPv6 addresses may be derived from the 48 bit MAC addresses. And IPv6 address space is much larger than the MAC address space.
Warning: you need Javascript to use this form! Please activate it.
The forms below give you the ability to calculate various properties of IP addresses and the texts around them give you some hints about how to use them.
[hide]
Misc Address | / |
Network Mask | |
Network Base | 192.168.0.0 |
First usable Address | 192.168.0.1 |
Last usable Address | 192.168.0.253 |
Default Gateway | 192.168.0.254 |
Broadcast Address | 192.168.0.255 |
0.0.0.0 | the 'ANY' address that is used by programs to speak to all network interfaces, it is never used directly. The whole network 0.*.*.* is reserved for special purposes (like DHCP). |
10.*.*.* 172.16.*.* - 172.31.*.* 192.168.*.* | are private addresses - you can use them freely within your own LAN. They will not be routed in the Internet. |
127.0.0.1 | is the localhost address, used by each host to talk to itself, there is always a special loopback interface preconfigured with this address, you never assign it to a real network device. The entire 127.*.*.* network is reserved for (host-)local networking. |
169.254.*.* | Link-Local addresses. These are automatically generated by some operating systems and (e.g. MacOS and Linux with Avahi installed) and are only usable for local communication in the LAN segment. |
198.18.*.* - 198.19.*.* | Network benchmark tests, this should never be used in production networks. |
198.51.100.* 203.0.113.* | TEST-NET-2, Documentation and examples TEST-NET-3, Documentation and examples |
224.*.*.* | Multicasts (former Class D network) - Warning: the data shown when you click this network is not completely accurate - e.g. there is no default gateway or broadcast for multicasting |
240.0.0.0/4 | Reserved (former Class E network) |
255.255.255.255 | Link Broadcast - this is sent to all hosts on the same network link, but does not cross routers |
[hide]
IPv4 Address: | Please use dotted decimal notation. |
IPv6 Address: | Please use hexadecimal notation with the relevant 32 bits to the far right. |
6to4 is a public service, everybody can configure a gateway to use it - no subscription is necessary, since gateways will always know where to route responses based on the prefix. All 6to4 prefixes are in the 2002::/16 network and are /48 bits long (16bits for 2002::/16 and 32bits from the IPv4 address of the gateway). Unfortunately this service has become quite unreliable since public gateway servers seem to be unable to scale with the demand for prefixes.
6rd is the provider internal equivalent of 6to4. The provider establishes a gateway (or cluster of gateways) in its internal network and customer gateways are configured to use this gateway. The provider side prefix can be considerable longer than with 6to4 (/32 is normal), but it is also quite common to use only some bits of the IPv4 address - normally IPv4 addresses for customers are either assigned from a limited pool of public addresses (a /16 being the norm) or from one of the 'private' pools (e.g. 10.0.0.0/8), so the leftmost bits of every customer IP will be identical and can be ignored. For this mechanism to work you have to be a subscriber of an ISP that provides this mechanism to its customers. The values that go into this calculation may or may not have some resemblance to what you can find out using the whois service, but the provider is free to use sub-nets, so you will need information directly from the provider.
Provider prefix IPv6: | / Use 2002::/16 for 6to4 and whatever you ISP gave you for 6rd |
Customer IPv4: | IP: using bits; use your public IPv4 address (PPP: your own, not the peer address) and the bits value from the ISP or 32 for 6to4 |
IPv6 Customer prefix: | / |
Teredo prefix: | 2001::/32 |
Teredo server: | ? |
Teredo Flags: | ? |
Client public IPv4: | ? |
Client public UDP port: | ? |
[hide]
48bit MAC: | Please use dashes or colons to separate bytes |
64bit Host ID: | Please use IPv6 notation with ::/64 as prefix |
IP: | / |
Network Prefix: | / |
Host ID: | |
MAC: | 00-11-22-33-44-55 |
JS Addr Calc revision 20120802
© Konrad Rosenbaum, 2012
This script is protected under the GNU GPL version 3 or at your option any newer.
Please mail patches to me (konrad@silmor.de) if you have any interesting additions for it.