IPv6 EUI-64 explained

EUI-64 (Extended Unique Identifier) is a method we can use to automatically configure IPv6 host addresses. An IPv6 device will use the MAC address of its interface to generate a unique 64-bit interface ID. However, a MAC address is 48 bit and the interface ID is 64 bit. What are we going to do with the missing bits?

Here’s what we will do to fill the missing bits:

We take the MAC address and split it into two pieces.

We insert “FFFE” in between the two pieces so that we have a 64 bit value.

We invert the 7th bit of the interface ID.

So if my MAC address would be 1234.5678.ABCD then this is what the interface ID will become:

Above you see how we split the MAC address and put FFFE in the middle. It doesn’t include the final step which is “inverting the 7th” bit. To do this you have to convert the first two hexadecimal characters of the first byte to binary, lookup the 7th bit and invert it. This means that if it’s a 0 you need to make it a 1, and if it’s a 1 it has to become a 0.

The 7th bit represents the universal unique bit. A “built in” MAC address will always have this bit set to 0. When you change the MAC address this bit has to be set to 1. Normally people don’t change the MAC addresses of their interfaces which means that EUI-64 will change the 7th bit from 0 to 1 most of the time. Here’s what it looks like:

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.

Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!

First of all, I wouldn’t worry too much about this too much. The bit flipping is just one minor sub-topic of all IPv6 related stuff you can expect in the exam. It’s possible that you don’t get any questions about it so don’t stress about it too much. You can expect a lot of regular subnetting questions so that’s why I highly recommend a “cheat sheet” for that.

It seems this list would work. It might be a quick method if you’d get 10 bit flipping questions but if you only would get 1 question, it might be just as fast to quickly calculate it?

This is an excellent question. According to RFC 5375 in section B.2.4 EUI-64 ‘u’ and ‘g’ Bits, it states the following:

When using subnet prefix lengths other than /64, the interface
identifier cannot be in Modified EUI-64 format as required by
[RFC4291]. However, nodes not aware that a prefix length other than
/64 is used might still think it’s an EUI-64; therefore, it’s prudent
to take into account the following points when setting the bits.

The document continues to state several considerations that should be checked carefully. In general, d

New Lessons

Testimonials

Really Helped Getting my CCIE

The lessons and explanations of NetworkLessons.com are presented in a very simple way that its easier to absorb than other sources and to get the hang of it. NetworkLessons.com has really helped me with my CCIE certification. Thanks!

Darmah RajSenior Network EngineerJuly 16, 2018

Best Learning Tool

NetworkLessons.com is the best place to learn networking in a quick and easy way. Difficult topics are broken down to an easy to read and understanding format. I would highly recommend NetworkLessons.com to anyone looking for the best learning tool to develop their networking skills and pursue higher Cisco certifications.

Koundinya KalinadhabhotlaIT SpecialistMarch 5, 2018

Great Reference

NetworkLessons.com is very useful and organized. It is a GREAT reference for study and work. I am depending a lot on their website for my CCIE preparation. Thanks!

Mike KhouliNetwork AdministratorJanuary 13, 2017

Perfect & Wonderful!

This website is very helpful in term of the beginner and advance lesson to get Cisco Certificates. Start the basic of each lesson then practices, Question and Answer are available online so that it's really helpful in case of any doubts, Many more, etc.

Makara NGYIT ManagerOctober 30, 2015

Comprehensive & Accurate

NetworkLessons.com is very useful and significantly in my work as a technical support. I am enjoying the lessons a lot. The courses and lessons that provided by Rene and his team are easy to read and simple to understand. I also love his instruction videos which make me actually feel as if I were in his classroom. I am going to renew the membership forever!

Hussein SameerTechnical SupportSeptember 11, 2015

Easily Digestible, Very Informative

The most informative and easily digestible information I have found to date regarding all things Cisco. Huge, well laid out sections on EIGRP, OSPF, BGP are where my head is currently stuck at the moment. MPLS section is next on the list. Rene has a natural gift for taking you from the humble beginnings right up to the CCIE level world and leaves nothing out. I have personally emailed Rene on numerous times and he has always got back to me. Every comment / question I have ever made, has again, been answered informatively. This is my "goto" resource for studies, refresh and all things learning.

Rob GrantNetwork EngineerSeptember 21, 2015

Amazing Site

NetworkLessons.com explains complex and hard to understand networking concepts in just plain English. It's hard to miss the concepts. Thank you for all of your hard work. It did help me, and will definitely help somebody else.

Meheretab MengistuNetwork EngineerJanuary 10, 2017

Now Everyone can Learn Networking!

I found Networklessons.com to provide me very detailed explanations which can guide me from a novice layman to become a networking professional in a very short time. Before I became a member, I thought I knew something about OSPF, BGP, EIGRP, MPLS etc. but now I relealize I did not. A lot of the 'small pixel' how it really works I didn't know at all, but now with help of Networklessons.com I am so confident and know what all of these topics are about. Networklessons.com is not only a website containing lessons to me, but also a consultant which can help and answer the technical issues of networking. Rene answers all my questions with a prompt response. My thanks to Networklessons.com and Rene!

Davis WongNetwork EngineerFebruary 29, 2016

Explanations in Simple English

NetworkLessons.com gave me a vast knowledge in Cisco Networking. The explanations are very clear and are in simple English which anyone can easily understand. I got much more knowledge from this website for my Cisco Exam and my carrier progress. Thank you so much for helping network professionals over the world!

Amila MadusankaNetwork EngineerJuly 9, 2016

Excellent Networking Site

NetworkLessons.com is a great site for information about networking. Their lessons are clear, comprehensive and easy to understand. Rene is also quick to reply to topics posted in the various forums. I recommend NetworkLessons.com for anyone studying for a certification or to just further their knowledge!

Matt WilsonTechnical AuditorJune 9, 2016

Can’t Miss for a Day

NetworkLessons.com makes labs look easy and understandable. I seriously can't miss a single day without being a member of their website. NetworkLessons.com is a fantastic and very helpful e-learning site. They provide you the best and the most important knowledge that you need to get any networking job done. Thank you!

Jean CasimirSr Network EngineerAugust 14, 2017

Simply Exceptional

I was thrilled that I was able to learn as much as I did from NetworkLessons.com. During most other trainings, you can only retain a certain amount of knowledge. However, with NetworkLessons.com I learn something new every day that I can easily apply to my current position. I will definitely be recommending this site to my peers. It’s amazing because if I need to find out how a protocol or configuration works, I simply use search and do labs that are worth a million training courses. I wish I had found this site earlier to enhance my technical skills! I increased my knowledge base by 150% and the instructor is extremely knowledgeable and helpful, please keep up the good work!