Welcome to Netcordia Community Sign in | Join | Help
in Search

Terry's Blog

RSS Feed

IPv6 Addressing for Troubleshooting

IPv6 and the addresses are big and difficult to remember.  Upon initial configuration of network gear, it is tempting to use the EUI-64 encoding (article with a definition of EUI-64 by Wendell Odom) and let the device create the interface identifier portion of the 128-bit address.  But how would that affect your ability to perform network troubleshooting?  Let's say that you need to do a traceroute6 or ping6 across the network and DNS isn't working.  You'll need the target IPv6 address, including the interface ID (the lower 64-bits of the IPv6 address).

My recommendation is to assign the interface ID so that it is one that you know and is relatively easy to type.  I did some traceroute6 experiements and found that several sites have used this approach, showing interface IDs of <prefix>::1.  One site seemed to use their own locally administered address which was four digits.  You could encode other characteristics of the remote device using the digits provided, but I'm not sure that's necessarily desirable.

What would be useful to encode into the host ID field might be the device type.  <prefix>::1 through <prefix>::f could be routers while <prefix>::11 through <prefix>::1f could be switches.  To reach the primary device of each type on a network segment, use the lowest number for that device type.  The secondary device of that type would have the next larger number (e.g. <prefix>::2 for a router).

If you encounter a network where EUI-64 addresses were used, a short-hand of <prefix>::0 is supposed to address the router(s) on the segment, but I've not seen it work in our test network.  Let me know if you've found it to work and how reliable you've found it to be. 

How do you assign IPv6 interface IDs?

  -Terry
 

Comments

No Comments

About tslattery

Terry Slattery, CCIE #1026, is a senior network engineer with decades of experience in the internetworking industry. Prior to joining Chesapeake NetCraftsmen as a full time consultant, Terry was the founder and CTO of Netcordia, and inventor of NetMRI, a suite of network management products. Terry started Netcordia as a consulting company in 2000 and transitioned to a network management product company in 2003. During the consulting days, he used his network design and implementation skills to lead a team in the design and implementation of a high availability network at a brokerage clearing house. Terry is the former President and founder of Chesapeake Computer Consultants, Inc., a networking and computer systems training and consulting company. He co-invented and patented the vLab(tm) internet-based remote lab system. He is co-author of the McGraw Hill text Advanced IP Routing in Cisco Networks. Terry led the team that developed the current Cisco IOS user interface under contract to Cisco Systems. Terry is experienced in the design and installation of large TCP/IP based networks and is a successful network protocol instructor. He is the second Cisco Certified Internetworking Expert (CCIE) #1026 and the first outside of Cisco. He enjoys membership on the Vanderbilt University Engineering School’s Industrial Advisory Board and the IEEE.

This Blog

Syndication