Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / 2013 / Archives for October 2013

Archives for October 2013

Oct 25, 2013 By Jared Heinrichs Leave a Comment

Cisco – show ipv6 interface brief doesn’t show Link Local Address

You probably came to this page because you typed in the command:

  • show ipv6 interface
  • show ipv6 interface brief

and the output didn’t show you the automatically created EUI-64 Link Local address. Here’s what you are most likely seeing:

Cisco IPv6 show ipv6 int brief

By default Cisco doesn’t enable IPv6 on their routers. To enable IPv6 you must do it PER interface! Luckly enabling IPv6 from the command line is pretty easy! The command to enable IPv6 is:

ipv6 enable

You must do this on each of your router interfaces. Here’s a screenshot from the router:

Cisco IPv6 enable command

Filed Under: Cisco Certification

Oct 22, 2013 By Jared Heinrichs Leave a Comment

Windows IPv6 EUI-64 Fix

Windows by default comes up with a randomly picked IPv6 Link Local address instead of using the EUI-64 version. In a home network it doesn’t make sense to apply this fix. This is done just for lab or business setup where you need a static address for authentication.

So, here’s how to make Windows behave as per every other OS…

1. Open up a Command Prompt in Administrator mode (right-click, run as administrator)

2. Run the following commands.  Each one should respond “Ok”.  If you didn’t do step 1 correctly, it will say the command required elevation.

netsh interface ipv6 set privacy state=disabled store=active
netsh interface ipv6 set privacy state=disabled store=persistent
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent

3. Exit the command prompt, and reboot.

Hope this helps you fix IPv6 EUI-64 in Windows.

Filed Under: Windows 2008, Windows 2008 R2, Windows 7, Windows 8

Oct 21, 2013 By Jared Heinrichs Leave a Comment

How to see the Solicited Nodes Multicast Group in Windows

I actually had a hard time tracking down how to show  the Solicited Nodes Multicast Group in Windows. I have to thank Vladimir Kuchar on the Cisco forums for letting me in on the command.

I really think Microsoft should include this as part of an IPCONFIG command.

Anyways… the command to check the Solicited Nodes Multicast Group in windows goes like this:

Open a Command Prompt

Type: netsh interface ipv6 show joins

image

All the addresses that start with ff02:: are Solicited Nodes Multicast Groups.

Hope this helps!

Filed Under: Windows 8, Windows Command Line

Oct 19, 2013 By Jared Heinrichs Leave a Comment

All About IPv6 Link Local Addresses

Link Local Addresses are created automatically unless you force a device’s interface to have a specific address. They allow local communication. (ie They are are NOT route-able.)

I am assuming you’ve already checked out my post “Basics of an IPv6 Address”. One of the last things I was explaining was Link Local Addresses. Let’s first look at some Cisco IOS commands.

  1. show ipv6 int brief – This will show the IPv6 addresses on the device. We are interested in the Link Local address
  2. show int gig0/1 – This will display all kinds of things that relate to the device. We are interested in finding out the MAC address of the device.

Cisco Commands to show Link Local Address and Mac address of an interface. 

I hope you can see that the MAC address and the Link Local address look very similar. When you see this you can automatically assume that it was created by “Extended Unique Identifier 64bit” (EUI-64). They look similar because the Link Local address is partially created from the Mac Address. So how is it automatically made? The rule is:

  • Flip the 7th bit. If it is zero change it to a one. If it is a one… flip it to a zero.
  • Put FFFE in the middle of the address.

When we look at a Mac address we notice it is a HEX number similar to an IPv6 Address. It is a 48bit address unlike a Interface Identifiers which are 64bit. Essentially it only has 3 groups of numbers and you need 4. To change a MAC address into an Interface Identifier it was agreed upon by the powers that be that we flip the 7th bit and add in a group to make it 64bit.

Using the info above let’s see how the Link Local Address was made. If you need a Decimal to Binary to HEX cheat sheet click the link. It’s half way down the page.

How to convert a Mac Address to an IPv6 Link Local address (EUI-64)

Go back up to the output from the IOS command above. The conversion of the Mac to Interface Identifier checks outs!

For most end user devices the automatically made modified EUI-64 address will be fine. Things like Servers and routers it might be better if you manually specified what their Link Local Address is. There are two ways of doing this:

  1. You can change the Mac address to something that will give you something easier to work with like: 1111.1111.1111
  2. You can force a Link Local Address.

To force a link local address you need to use the command:

  • ipv6 address fe80::1 link-local

Next post will be on two IPv6 protocols: IPv6 Neighbor Discovery Protocol and DAD

Filed Under: Cisco Certification

Oct 18, 2013 By Jared Heinrichs Leave a Comment

The basics of an IPv6 address.

First off I want to thank Keith Barker for teaching IPv6. You’ve been instrumental in helping me understand IPv6 and how it’s similar and different from IPv4. This post was written as a journey of me going over the class information.

What is an IPv6 Address?

Keith talks about IPv6 and how it is similar to house addresses. The two main parts of an address are:

  1. Street Name – Represents the Network address in IPv6. The network Address is called the “Network Prefix” and tells us about the network groupings of computers.
  2. House Address – Represents a single device in IPv6. It is called the “Interface Identifier”.

What does an IPv6 Address look like?

A IPv6 address has several qualities:

  1. IPv6 address are 128bits in length.
  2. A mask is essentially the dividing line between the network address called the “Network Prefix” and the host address called the “Interface Identifier”.
  3. A Mask of /64 following the address will mean that the Network Address is 64bit and the Host Address is 64bits.
  4. Most addresses will have a mask of /64
  5. Each IPv6 address scan be broken down into 8 groups of 16bits each.
  6. Each group is separated by semi-colons.
  7. Every 4bits can be converted into a single Hex character. People some times call 4bits a nibble since it’s half of a byte.
  8. All leading Zeros can be dropped from the group. More on this near the end of the post.
  9. 2 or more groups of consecutive zeros can be merged by putting a :: and then a zero. This can only be done once. More on this near the end of the post.

Before looking at what an IPv6 address normally looks like… it is a good idea to look at what the address looks like in binary:

0010000000000001:0000110110111000:0000000000100001:0000000100010001: 0010000010000001:0000110110101000:0000100000100001:0000000101010001

*Note* – There is no spaces and the address should be all on one line. Due to the size of the address had to fit it on two lines.

How to convert from Binary to Hex.

It’s probably best that you first start off by looking at this Hex Cheat Sheet.

image

After looking at the Hex cheat sheet you are probably starting to understand why I said in the previous section 4bits can be converted into a Hex character. Using the cheat sheet let’s convert the binary address into the Hexadecimal address that we’ll actually work with on routers and devices.

I’ll break the process up over each 16bits.

Let’s work on the Network Prefix:

0010000000000001:0000110110111000:0000000000100001:0000000100010001

  • 0010 0000 0000 0001 – This equals “2001” in hex.
  • 0000 1101 1011 1000 – This equals “0DB8” in hex.
  • 0000 0000 0010 0001 – This equals “0021” in hex.
  • 0000 0001 0001 0001 – This equals “0111” in hex.

We now know the network prefix is: “2001:0DB8:0021:0111”

Let’s work on the Interface Identifier:

0010000010000001:0000110110101000:0000100000100001:0000000101010001

  • 0010   0000   1000    0001 – This equals “2081” in hex.
  • 0000   1101   1010   1000 – This equals “0DA8” in hex.
  • 0000   1000   0010    0001 – This equals “0821” in hex.
  • 0000   0001   0101   0001 – This equals “0151” in hex.

This is how the Full IP address will look like in Hex:

2001:0DB8:0021:0111:2081:0DA8:0821:0151/64

Ok. Now that you’ve seen what an IPv6 address looks like… check out the IPv6 cheat sheet:

clip_image001

Let’s take a look at what IPv6 will look like on Cisco IOS. This is the output from setting up an IPv6. Notice the leading zeros had been removed.

image

You might be wondering 6 things about the line that says: FE80::2D0:BCFF:FE20:7802

  1. What is this called? This is a IPv6 Link Local Address
  2. How was it entered? – The router “auto-magically” created this address.
  3. What is the “::” mean? – This means that several groups of zeros have been shrunk down to shorten the address.
  4. Why do some of the groups only have less than 4 characters. – This means that there were leading zeros and were dropped.
  5. Is there something special about “FE80”? – Yes. This means this address is a link local address.
  6. How did the Interface Identifier get created? – It was created using the MAC address of the device it was assigned to.

I hope I’ve wet your appetite enough to want to learn All About IPv6 Link Local Addresses

Filed Under: Cisco Certification

  • 1
  • 2
  • 3
  • Next Page »

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design