LevelOne GTL-2691 User Manual

Page 1412

Advertising
background image

C

HAPTER

48

| IP Interface Commands

IPv6 Interface

– 1412 –

For example, if a device had an EUI-48 address of 28-9F-18-1C-82-35,

the global/local bit must first be inverted to meet EUI-64 requirements

(i.e., 1 for globally defined addresses and 0 for locally defined

addresses), changing 28 to 2A. Then the two bytes FFFE are inserted

between the OUI (i.e., company id) and the rest of the address,

resulting in a modified EUI-64 interface identifier of 2A-9F-18-FF-FE-

1C-82-35.

This host addressing method allows the same interface identifier to be

used on multiple IP interfaces of a single device, as long as those

interfaces are attached to different subnets.

When configuring an global IPv6 address for a static tunnel, the link-
local address generated by this command is the 32-bit IPv4 address of

the underlying source interface, with the bytes in the same order in

which they would appear in the header of an IPv4 packet, padded at

the left with zeros to a total of 64 bits. Note that the “Universal/Local”

bit is zero, indicating that the interface identifier is not globally unique.

When the host has more than one IPv4 address in use on the physical

interface concerned, the primary address for that interface is used. The

IPv6 link-local address for an IPv4 virtual interface is formed by

appending the interface identifier, as defined above, to the prefix

FE80::/64.

E

XAMPLE

This example uses the network prefix of 2001:0DB8:0:1::/64, and

specifies that the EUI-64 interface identifier be used in the lower 64 bits of

the address.

Console(config)#interface vlan 1

Console(config-if)#ipv6 address 2001:0DB8:0:1::/64 eui-64

Console(config-if)#end

Console#show ipv6 interface

VLAN 1 is up

IPv6 is enabled.

Link-local address:

FE80::2E0:CFF:FE00:FD/64

Global unicast address(es):

2001:DB8::1:2E0:CFF:FE00:FD/64, subnet is 2001:DB8::1:0:0:0:0/64[EUI]

2001:DB8:2222:7272::72/96, subnet is 2001:DB8:2222:7272::/96[EUI]

Joined group address(es):

FF02::1:FF00:72

FF02::1:FF00:FD

FF02::1

IPv6 link MTU is 1500 bytes

ND DAD is enabled, number of DAD attempts: 3.

ND retransmit interval is 1000 milliseconds

ND advertised retransmit interval is 0 milliseconds

ND reachable time is 30000 milliseconds

ND advertised reachable time is 0 milliseconds

Console#

R

ELATED

C

OMMANDS

show ipv6 interface (1416)

Advertising