Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Autoconfigure IPv6 address  (Read 2985 times)

cholzhauer

  • Hero Member
  • *****
  • Posts: 2715
Autoconfigure IPv6 address
« on: October 20, 2011, 11:11:34 AM »

This may be a simple question, but I can't figure out the answer.

I have a DNS server that was using auto-configure to get an IPv6 address; that address ended in 41bd:d9bf:9b66:9b95

I recently converted that physical server to a virtual server, but since everyone was using the old address for DNS lookups, I assigned that same address to the "new" virtual server.  (The 41bd:d9bf:9b66:9b95 address)

So far, so good.

I then needed to re-use that old physical machine; I was careful to plug the network cable into the second ethernet port, figuring if I used the first ethernet port I would get the 41bd:d9bf:9b66:9b95 address from last time.

My curiosity got the best of me and I decided to see what would happen (figuring I would break DNS momentarily while packets were routed to the wrong place)  Much to my surprise, the new IPv6 address wasn't even close to being the same.

My question is, if the MAC address on the network card didn't change, shouldn't I have received the same IPv6 address when I re-installed the OS?
Logged

jrocha

  • Network Architect
  • Jr. Member
  • **
  • Posts: 66
Re: Autoconfigure IPv6 address
« Reply #1 on: October 20, 2011, 02:15:11 PM »

Your system used DAD (duplicate address detection). It saw that the address was already in use, and chose a different one.
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2715
Re: Autoconfigure IPv6 address
« Reply #2 on: October 20, 2011, 03:03:25 PM »

So if I were to unplug the virtual server, would the physical server go back to the old address if i were to reinstall?
Logged

jrocha

  • Network Architect
  • Jr. Member
  • **
  • Posts: 66
Re: Autoconfigure IPv6 address
« Reply #3 on: October 20, 2011, 03:07:36 PM »

Probably, yes, if its not using privacy extensions.
Logged

kasperd

  • Founder, Netiter ApS
  • Hero Member
  • *****
  • Posts: 953
Re: Autoconfigure IPv6 address
« Reply #4 on: October 24, 2011, 02:23:23 PM »

Addresses generated from a MAC address doesn't look like the one in your example. The most recognizable part of an IPv6 address generated from a MAC address is the ff:fe inserted in the middle of the MAC address to generate the lower 64 bits of the IPv6 address. Also, one bit is changed from a zero to a one, and that one remains zero in your example. So I guess it was configured in some other way.
Logged