Guest User!

You are not Sophos Staff.

[7.950][QUESTION][ANSWERED] IPv6 EUI-64 appears to be incorrectly formatted

Hi,
I have been trying to add a static IPv6 address to the ASG static list. This is required because while my mandriva (2010) workstation knows about IPv6 it can't handle autoconfiguration via DHCP. 

So this requires I build a modified EUI-64 (IPv4 equivalent is the MAC address). I look at the 2 automatically created by the ASG when using the ASG DHCP6 server to allocate addresses. Neither of those EUI have the same prefiix, nor do they have the FF:FE in the middle of the card MAC address.

While creating IPv6 addressing info by hand is pain you learn a lot, I think.

Is any of this making any sense to anyone?

My IPv6 subnet part is 2a01:***:***:a/64


Ian M

Given the inconsistency in the formatting it is hard to build your own manual assignment.
  • Astaro Beta Report
    --------------------------------
    Version: 7.950
    Type: QUESTION
    State: ANSWERED
    Reporter: RFCat_vk
    Contributor: 
    MantisID: 
    Target version: 
    Fixed in version: 
    --------------------------------

  • Hi Ian,

    are you mixing up EUI-64 and DUID? There are multiple types to generate a DUID,
    see the RFC for all types RFC 3315

    The DUID is normally generated from the first MAC address plus a timestamp.
    In contrast to DHCP in IPv4, the DUID is used for requests on all interface.
    This means DHCPv6 request via LAN and WLAN are using the same DUID.

    Best regards
     Ulrich
  • Hi Ulrich,
    you are correct, but that leads to the next question.
    Are you using the DUID as the IPV6 MAC address?

    Based on the DUID being used in the ASG as the MAC address, then a user is hard pressed to create a manual static entry. I am aware that in the future when the world is a bit more IPv6 aware that devices will work with DHCP servers.

    Also the how does the use of the DUID go with the longer term aim of the IPv6 mob to use the IPv6 MAC as the IP address?

    I tried searching for details on the DUID, but all I got "driving under the influence".


    Ian M
  • Hi Ian,

    am aware that this will cause administrators a headache, but I didn't wrote the standard [:)]
    Just have a look at the RFC link I posted, there isn't much information on DHCPv6 on the Internet yet.

    Quote from the RFC:
       Clients and servers MUST treat DUIDs as opaque values and MUST only
       compare DUIDs for equality.  Clients and servers MUST NOT in any
       other way interpret DUIDs.  Clients and servers MUST NOT restrict
       DUIDs to the types defined in this document, as additional DUID types
       may be defined in the future.


    Please note there are TWO types of address assignment for IPv6:

     * Stateless / Prefix Advertisements: IPv6 address is generated from MAC address

     * DHCPv6: DHCP server assigns addresses from pool or static leases.
       Instead of MAC address (as in IPv4), the global unique DUID address is used.

    Cheers
     Ulrich
  • Hi Ulrich,
    looks like that RFC was written by used car salesman. So basically manual static IPv6 registrations are a no no.

    Stateless are going to be a security managers nightmare along without being able to lock an address with the EUI-64.

    So in summary, unless a device can handle DHCP6 I am wasting my time trying to limit it access. Thankfully, the box in question is one I control and knows how to use a teredo tunnel. I have been able to assign it a fixed IPv6 address.

    Ian M