Resolving IPv6 L3 to L2 MAC ADDRESSES(Basic IPv6 LAB)

Posted: June 13, 2015 in CCNP
Tags: , , ,

ipv6 configuration

Resolving IPv6 L3 to L2 MAC ADDRESSES

IPv6 L3 to L2 Ethernet Mapping Using NDP(Network Discovery Protocol)

This tutorial is a part of NDP(Neighbor Discovery Protocol).Today here in this article we will learn how to assign ipv6 address on routers and PC.Now i am going to show you how to configure above topology step wise in cisco packet tracer.

 

CONFIGURE IPv6 on ROUTER with MAC ADDRESS:

Router>enable

Router#config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R1

R1(config)#ipv6 unicast-routing

R1(config)#int fa0/0

R1(config-if)#mac-address 0001.6411.1111

R1(config-if)#ipv6 address fe80::1 link-local

R1(config-if)#ipv6 address 2001:db8:1::1/64

R1(config-if)#no shutdown

 

 

NOW SEE ROUTER INTERFACE INFORMATION:

 

R1#show ip int fa0/0

FastEthernet0/0 is up, line protocol is up (connected)

Internet protocol processing disabled

 

Note:you have not seen any information here because above command is use to see ipv4 information only on router interfaces.To see ipv6 info on router interfaces just watch below command.

R1#show ipv6 int fa0/0

FastEthernet0/0 is up, line protocol is up

IPv6 is enabled, link-local address is FE80::1

No Virtual link-local address(es):

Global unicast address(es):

2001:DB8:1::1, subnet is 2001:DB8:1::/64

Joined group address(es):

FF02::1

FF02::2

FF02::1:FF00:1

MTU is 1500 bytes

ICMP error messages limited to one every 100 milliseconds

ICMP redirects are enabled

ICMP unreachables are sent

ND DAD is enabled, number of DAD attempts: 1

ND reachable time is 30000 milliseconds

ND advertised reachable time is 0 milliseconds

ND advertised retransmit interval is 0 milliseconds

ND router advertisements are sent every 200 seconds

ND router advertisements live for 1800 seconds

ND advertised default router preference is Medium

Hosts use stateless autoconfig for addresses.

 

 

NOW ASSIGN AUTOMATIC IP ADDRESS ON BOTH PC:

See below diagram to know how to assign automatic ipv6 ip on these computers.

ipv6 on pc

 

Now see IP on PC O:

PC>ipv6config

FastEthernet0 Connection:(default port)

Link-local IPv6 Address………: FE80::202:16FF:FE7D:D890

IPv6 Address………………..: 2001:DB8:1:0:202:16FF:FE7D:D890/64

Default Gateway……………..: FE80::1

 

Now see IP on PC1:

PC>ipv6config

FastEthernet0 Connection:(default port)

Link-local IPv6 Address………: FE80::2D0:BAFF:FECE:25A1

IPv6 Address………………..: 2001:DB8:1:0:2D0:BAFF:FECE:25A1/64

Default Gateway……………..: ::

 

 

Now test nework communication using ipv6 by pinging from PC0 to PC1:

PC>ping FE80::2D0:BAFF:FECE:25A1

Pinging FE80::2D0:BAFF:FECE:25A1 with 32 bytes of data:

Reply from FE80::2D0:BAFF:FECE:25A1: bytes=32 time=4ms TTL=128

Reply from FE80::2D0:BAFF:FECE:25A1: bytes=32 time=1ms TTL=128

Reply from FE80::2D0:BAFF:FECE:25A1: bytes=32 time=1ms TTL=128

Reply from FE80::2D0:BAFF:FECE:25A1: bytes=32 time=1ms TTL=128

Ping statistics for FE80::2D0:BAFF:FECE:25A1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 1ms, Maximum = 4ms, Average = 1ms

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s