9.4 IPV6 EUI

When would I use EUI addressing over global addressing ?  

 

 

Comments

  • Hi.

     

    Modified EUI-64 is only used as a method to automatically assign the interface identifier portion of the IPv6 address.  Link local or gloabl addresses can use this method to assign the last 64 bits of the IPv6 address.  The interface identifier portion of the IPv6 address can be staticlly assigned or can use EUI-64

  • So when would I use one over the other?  Or is there no difference? 

     

    From: [email protected] [mailto:[email protected]] On Behalf Of eborgard
    Sent: Tuesday, March 27, 2012 6:29 AM
    To: Bodnar, Edward
    Subject: Re: [iewb-rs-vol1-v5-ipv6] 9.4 IPV6 EUI

     

    Hi.

     

    Modified EUI-64 is only used as a method to automatically assign the interface identifier portion of the IPv6 address.  Link local or gloabl addresses can use this method to assign the last 64 bits of the IPv6 address.  The interface identifier portion of the IPv6 address can be staticlly assigned or can use EUI-64




    Internetwork Expert - The Industry Leader in CCIE Preparation
    http://www.internetworkexpert.com

    Subscription information may be found at:
    http://www.ieoc.com/forums/ForumSubscriptions.aspx

  • If this is a question in the lab, I would use whatever they tell me to do. They could give you some hint as to drive the IPv6 address out of the MAC Address, which would lead you to EUI-64. 

    If there are no requirements, I would personally use a regular global IPv6 address.

    HTH

    Good lucl!


  • If this is a question in the lab, I would use whatever they tell me to do. They could give you some hint as to drive the IPv6 address out of the MAC Address, which would lead you to EUI-64. 

    If there are no requirements, I would personally use a regular global IPv6 address.

    HTH

    Good lucl!

  • In the real world, I would think this is a matter of preference.  In the lab, you would use whatever method is required to meet the requirements of the task.

  • If this is a question in the lab, I would use whatever they tell me to do. They could give you some hint as to drive the IPv6 address out of the MAC Address, which would lead you to EUI-64. 

    If there are no requirements, I would personally use a regular global IPv6 address.

    There may be some task which does not hint of using mac or something they just ask use IPv6 address 2001:1234::/64  for some link. In that case its upto you whether use want to use eui or your prefered host address. I like to use host portion as :1 or :2 etc which is easier to read while configuring.

  • When would I use EUI addressing over global addressing ?  

    RFC 2373 explains more:) I really recommend it.

     

    Good Luck

  • Hmm, when I configure address using eui-64 on dynamips like so :

    int f0/0

    ipv6 address 2001:10:146::1/64 eui-64 

     

    my results not very promising.

     

    Rack1R1#sh ipv6 int f0/0
    FastEthernet0/0 is up, line protocol is up
      IPv6 is enabled, link-local address is FE80::C000:6FF:FED4:0
      No Virtual link-local address(es):
      Global unicast address(es):
        2001:10:146:0:C000:6FF:FED4:0, subnet is 2001:10:146::/64 [EUI]
        FC00:1:0:67::1, subnet is FC00:1:0:67::/64
      Joined group address(es):
        FF02::1
        FF02::2
        FF02::1:FF00:1
        FF02::1:FFD4:0

     

    Perhaps it can be related to unability of dynamips to get my MAC# in some way ?

  • 2001:10:146:0:C000:6FF:FED4:0, subnet is 2001:10:146::/64 [EUI]

    What is your BIA address of fa0/0? But in output you have 128 bits, I don't think this is a kind of incomplete address.

  • Try defaulting your interface. 

     

    Default int fa0/0   then run again 

     

    From: [email protected] [mailto:[email protected]] On Behalf Of unsobill
    Sent: Monday, May 14, 2012 5:01 PM
    To: Bodnar, Edward
    Subject: Re: [iewb-rs-vol1-v5-ipv6] RE: 9.4 IPV6 EUI

     

    Hmm, when I configure address using eui-64 on dynamips like so :

    int f0/0

    ipv6 address 2001:10:146::1/64 eui-64 

     

    my results not very promising.

     

    Rack1R1#sh ipv6 int f0/0
    FastEthernet0/0 is up, line protocol is up
      IPv6 is enabled, link-local address is FE80::C000:6FF:FED4:0
      No Virtual link-local address(es):
      Global unicast address(es):
        2001:10:146:0:C000:6FF:FED4:0, subnet is 2001:10:146::/64 [EUI]
        FC00:1:0:67::1, subnet is FC00:1:0:67::/64
      Joined group address(es):
        FF02::1
        FF02::2
        FF02::1:FF00:1
        FF02::1:FFD4:0

     

    Perhaps it can be related to unability of dynamips to get my MAC# in some way ?




    Internetwork Expert - The Industry Leader in CCIE Preparation
    http://www.internetworkexpert.com

    Subscription information may be found at:
    http://www.ieoc.com/forums/ForumSubscriptions.aspx

  • nt f0/0

    ipv6 address 2001:10:146::1/64 eui-64 

     

    my results not very promising.

     

    Rack1R1#sh ipv6 int f0/0
    FastEthernet0/0 is up, line protocol is up
      IPv6 is enabled, link-local address is FE80::C000:6FF:FED4:0
      No Virtual link-local address(es):
      Global unicast address(es):
        2001:10:146:0:C000:6FF:FED4:0, subnet is 2001:10:146::/64 [EUI]
        FC00:1:0:67::1, subnet is FC00:1:0:67::/64
      Joined group address(es):
        FF02::1
        FF02::2
        FF02::1:FF00:1
        FF02::1:FFD4:0

    I can see the 128 bits address in your output, otherwise you can test by changing mac-address of your physical interface because EUI 64 bits is from your MAC address by adding EEEF and flipping 7th bit of MAC address 0 to 1, vice-versa.

    Like:

    interface FastEthernet1/0
     mac-address 1234.5678.9012
     no ip address
     shutdown
     duplex auto
     speed auto
     ipv6 address 2001:10:146::/64 eui-64
     ipv6 enable
    !

    R1(config-if)#do show ipv6 int fa1/0
    FastEthernet1/0 is administratively down, line protocol is down
      IPv6 is tentative, link-local address is FE80::1034:56FF:FE78:9012 [TEN]
      No Virtual link-local address(es):
      Global unicast address(es):
        2001:10:146:0:1034:56FF:FE78:9012, subnet is 2001:10:146::/64 [EUI/TEN]
      Joined group address(es):

    Good Luck

  • Hi guys, I did defaulted f0/0, still same results. R4 and R6 acts in the same manner, no pings accross, looks like last "octect" not being assigned ?

     

    Here is BIA address :

    Rack1R1#sh int f0/0
    FastEthernet0/0 is up, line protocol is up
      Hardware is Gt96k FE, address is c200.06d4.0000 (bia c200.06d4.0000)
      Internet address is 155.1.146.1/24
      MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
      Full-duplex, 100Mb/s, 100BaseTX/FX
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:00:02, output 00:00:02, output hang never
      Last clearing of "show interface" counters never
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 1000 bits/sec, 0 packets/sec
      5 minute output rate 0 bits/sec, 0 packets/sec
         944 packets input, 355712 bytes
         Received 920 broadcasts, 0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 watchdog
         0 input packets with dribble condition detected
         845 packets output, 208985 bytes, 0 underruns
         0 output errors, 0 collisions, 6 interface resets
         113 unknown protocol drops
         0 babbles, 0 late collision, 0 deferred
         0 lost carrier, 0 no carrier
         0 output buffer failures, 0 output buffers swapped out

     

    Here is output from dynamips :

    => show device R1
    Router R1 is running
      Hardware is dynamips emulated Cisco 3725 with 142 MB RAM
      Router's hypervisor runs on localhost:7200, console is on port 2001
      Image is shared c3725-adventerprisek9-mz.124-15.T10.bin-localhost.ghost with idle-pc value of 0x6026b804
      Idle-max value is 1500, idlesleep is 30 ms
      55 KB NVRAM, 16 MB disk0 size, 0 MB disk1 size
       slot 0 hardware is GT96100-FE with 4 interfaces
          FastEthernet0/0 is connected to frame-relay switch FRSW port 1
          FastEthernet0/1 is connected to router R3 Serial1/2
          FastEthernet0/0 is connected to real eth0 interface
          FastEthernet0/1 is empty
       slot 1 hardware is NM-4T with 4 interfaces
          Serial1/0 is empty
          Serial1/1 is empty
          Serial1/2 is empty
          Serial1/3 is empty

     

    ***@***:~# ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 00:0d:88:53:07:10 
              inet6 addr: 2001:10:146:0:20d:88ff:fe53:710/64 Scope:Global
              inet6 addr: fe80::20d:88ff:fe53:710/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3543 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1080 errors:0 dropped:0 overruns:0 carrier:6
              collisions:0 txqueuelen:1000
              RX bytes:585259 (585.2 KB)  TX bytes:256718 (256.7 KB)
              Interrupt:16 Base address:0xcc00

     

     

  • Can you try on a real router ?

    Sent from my iPhone

    On May 14, 2012, at 5:51 PM, "unsobill" > wrote:


    Hi guys, I did defaulted f0/0, still same results. R4 and R6 acts in the same manner, no pings accross, looks like last "octect" not being assigned ?



    Here is BIA address :

    Rack1R1#sh int f0/0
    FastEthernet0/0 is up, line protocol is up
    Hardware is Gt96k FE, address is c200.06d4.0000 (bia c200.06d4.0000)
    Internet address is 155.1.146.1/24
    MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 100Mb/s, 100BaseTX/FX
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:02, output 00:00:02, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 1000 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    944 packets input, 355712 bytes
    Received 920 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog
    0 input packets with dribble condition detected
    845 packets output, 208985 bytes, 0 underruns
    0 output errors, 0 collisions, 6 interface resets
    113 unknown protocol drops
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out



    Here is output from dynamips :

    => show device R1
    Router R1 is running
    Hardware is dynamips emulated Cisco 3725 with 142 MB RAM
    Router's hypervisor runs on localhost:7200, console is on port 2001
    Image is shared c3725-adventerprisek9-mz.124-15.T10.bin-localhost.ghost with idle-pc value of 0x6026b804
    Idle-max value is 1500, idlesleep is 30 ms
    55 KB NVRAM, 16 MB disk0 size, 0 MB disk1 size
    slot 0 hardware is GT96100-FE with 4 interfaces
    FastEthernet0/0 is connected to frame-relay switch FRSW port 1
    FastEthernet0/1 is connected to router R3 Serial1/2
    FastEthernet0/0 is connected to real eth0 interface
    FastEthernet0/1 is empty
    slot 1 hardware is NM-4T with 4 interfaces
    Serial1/0 is empty
    Serial1/1 is empty
    Serial1/2 is empty
    Serial1/3 is empty



    ***@***:~# ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 00:0d:88:53:07:10
    inet6 addr: 2001:10:146:0:20d:88ff:fe53:710/64 Scope:Global
    inet6 addr: fe80::20d:88ff:fe53:710/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3543 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1080 errors:0 dropped:0 overruns:0 carrier:6
    collisions:0 txqueuelen:1000
    RX bytes:585259 (585.2 KB) TX bytes:256718 (256.7 KB)
    Interrupt:16 Base address:0xcc00







    Internetwork Expert - The Industry Leader in CCIE Preparation
    http://www.internetworkexpert.com

    Subscription information may be found at:
    http://www.ieoc.com/forums/ForumSubscriptions.aspx
  • I can try this in my home lab tonight.

    Sent from my iPhone

    On May 14, 2012, at 6:21 PM, "[email protected]" wrote:

    > Can you try on a real router ? Sent from my iPhone On May 14, 2012, at 5:51 PM, "unsobill" > wrote: Hi guys, I did defaulted f0/0, still same results. R4 and R6 acts in the same manner, no pings accross, looks like last "octect" not being assigned ? Here is BIA address : Rack1R1#sh int f0/0 FastEthernet0/0 is up, line protocol is up Hardware is Gt96k FE, address is c200.06d4.0000 (bia c200.06d4.0000) Internet address is 155.1.146.1/24 MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:02, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 1000 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 944 packets input, 355712 bytes Received 920 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog 0 input packets with dribble condition detected 845 packets output, 208985 bytes, 0 underruns 0 output errors, 0 collisions, 6 interface resets 113 unknown protocol drops 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out Here is output from dynamips : => show device R1 Router R1 is running Hardware is dynamips emulated Cisco 3725 with 142 MB RAM Router's hypervisor runs on localhost:7200, console is on port 2001 Image is shared c3725-adventerprisek9-mz.124-15.T10.bin-localhost.ghost with idle-pc value of 0x6026b804 Idle-max value is 1500, idlesleep is 30 ms 55 KB NVRAM, 16 MB disk0 size, 0 MB disk1 size slot 0 hardware is GT96100-FE with 4 interfaces FastEthernet0/0 is connected to frame-relay switch FRSW port 1 FastEthernet0/1 is connected to router R3 Serial1/2 FastEthernet0/0 is connected to real eth0 interface FastEthernet0/1 is empty slot 1 hardware is NM-4T with 4 interfaces Serial1/0 is empty Serial1/1 is empty Serial1/2 is empty Serial1/3 is empty ***@***:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0d:88:53:07:10 inet6 addr: 2001:10:146:0:20d:88ff:fe53:710/64 Scope:Global inet6 addr: fe80::20d:88ff:fe53:710/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3543 errors:0 dropped:0 overruns:0 frame:0 TX packets:1080 errors:0 dropped:0 overruns:0 carrier:6 collisions:0 txqueuelen:1000 RX bytes:585259 (585.2 KB) TX bytes:256718 (256.7 KB) Interrupt:16 Base address:0xcc00 Internetwork Expert - The Industry Leader in CCIE Preparation http://www.internetworkexpert.com Subscription information may be found at: http://www.ieoc.com/forums/ForumSubscriptions.aspx
    >
    >
    > Internetwork Expert - The Industry Leader in CCIE Preparation

    > http://www.internetworkexpert.com

    >

    > Subscription information may be found at:

    > http://www.ieoc.com/forums/ForumSubscriptions.aspx
  •  

    Hi,

    I didn't get your issue exactly. Your MAC address is c200.06d4.0000 and your IPv6 address is 2001:10:146:0:C000:6FF:FED4:0., right?

     

    Regards,

    Bassam

  •  

    If that was the case, then this is the expected behaviour. 2001:10:146:0 is your subnet address. FF:FE is inserted into you MAC after inverting the 7th most significant bit, so c2 (1100 0010) becomes 00 (0000 0000), so this is now 2001:10:146:0:C000:6FF:FED4:0, which is your resulted IPv6 address.

     

    HTH,

    Bassam

  • I don't see the issue either. Dynamips have some different MAC Addresses. Here is an example: c200.2228.0000. So the last digits are all zeroized. Therefore the IPv6 address that you posted looked right.

    EUI-64 will append FFFE right in the middle of the address and flip the seventh MSB 2001:10:146:0:C000:22FF:FE28:0 

    HTH

    Good luck!

  • that was also typo : address is actually 2001:1:0:146:C000:6FF:FED4:0, not [2001:10:xx]:

    Problem is, how can i ping with this address if my R6 has identical story ?

    Rack1R6#sh ipv6 int f0/0.146
    FastEthernet0/0.146 is up, line protocol is up
      IPv6 is enabled, link-local address is FE80::C005:6FF:FED4:0
      No Virtual link-local address(es):
      Global unicast address(es):
        2001:1:0:146:C005:6FF:FED4:0, subnet is 2001:1:0:146::/64 [EUI]

     

     

    2001:1:0:146:C005:6FF:FED4:0   -R1

     2001:1:0:146:C000:6FF:FED4:0   -R6

    Oh my, ping actually works i was mistyping all together :/

    Sorry everyone 128 bit addresses not friendly to me :/

  •  

    What do you mean by identical story? I do not see any issue here. The address is on the same subnet, and is different from that of R1. Can you please explain more?!

     

    Edit: That is OK then. It should work. All of us had some troubles when started learning IPv6 :).

  • I think this should work. Can you send your entire config ? I think you should be able to ping unless something else is causing your issues.

    -----Original Message-----
    From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
    Sent: Monday, May 14, 2012 6:27 PM
    To: Bodnar, Edward
    Subject: Re: [iewb-rs-vol1-v5-ipv6] RE: 9.4 IPV6 EUI

    I can try this in my home lab tonight. Sent from my iPhone On May 14, 2012, at 6:21 PM, "[email protected]" wrote: > Can you try on a real router ? Sent from my iPhone On May 14, 2012, at 5:51 PM, "unsobill" > wrote: Hi guys, I did defaulted f0/0, still same results. R4 and R6 acts in the same manner, no pings accross, looks like last "octect" not being assigned ? Here is BIA address : Rack1R1#sh int f0/0 FastEthernet0/0 is up, line protocol is up Hardware is Gt96k FE, address is c200.06d4.0000 (bia c200.06d4.0000) Internet address is 155.1.146.1/24 MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:02, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 1000 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 944 packets input, 355712 bytes Received 920 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog 0 input packets with dribble condition detected 845 packets output, 208985 bytes, 0 underruns 0 output errors, 0 collisions, 6 interface resets 113 unknown protocol drops 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out Here is output from dynamips : => show device R1 Router R1 is running Hardware is dynamips emulated Cisco 3725 with 142 MB RAM Router's hypervisor runs on localhost:7200, console is on port 2001 Image is shared c3725-adventerprisek9-mz.124-15.T10.bin-localhost.ghost with idle-pc value of 0x6026b804 Idle-max value is 1500, idlesleep is 30 ms 55 KB NVRAM, 16 MB disk0 size, 0 MB disk1 size slot 0 hardware is GT96100-FE with 4 interfaces FastEthernet0/0 is connected to frame-relay switch FRSW port 1 FastEthernet0/1 is connected to router R3 Serial1/2 FastEthernet0/0 is connected to real eth0 interface FastEthernet0/1 is empty slot 1 hardware is NM-4T with 4 interfaces Serial1/0 is empty Serial1/1 is empty Serial1/2 is empty Serial1/3 is empty ***@***:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0d:88:53:07:10 inet6 addr: 2001:10:146:0:20d:88ff:fe53:710/64 Scope:Global inet6 addr: fe80::20d:88ff:fe53:710/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3543 errors:0 dropped:0 overruns:0 frame:0 TX packets:1080 errors:0 dropped:0 overruns:0 carrier:6 collisions:0 txqueuelen:1000 RX bytes:585259 (585.2 KB) TX bytes:256718 (256.7 KB) Interrupt:16 Base address:0xcc00 Internetwork Expert - The Industry Leader in CCIE Preparation http://www.internetworkexpert.com Subscription information may be found at: http://www.ieoc.com/forums/ForumSubscriptions.aspx > > > Internetwork Expert - The Industry Leader in CCIE Preparation > http://www.internetworkexpert.com > > Subscription information may be found at: > http://www.ieoc.com/forums/ForumSubscriptions.aspx


    Internetwork Expert - The Industry Leader in CCIE Preparation

    http://www.internetworkexpert.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx
Sign In or Register to comment.