My Countingdown

Tuesday, December 13, 2011

Lab 1. IPv6

To activate IPv6, please do command ‘ipv6 unicast-routing’
In IPv6 there are
  • Link-Local Address. This IP used for neighbor discovery. The IP begin with FE80::/10
  • Global Unicast Address. This is the same as IP public in IPv4
  • EUI-64 Address.
There are 2 ways to create link-local unicast address:
  1. Automatic
  2. Manual
Let’s do the lab


R1#
ipv6 unicast-routing                        ----- > must activate to be able routing in ipv6

interface Loopback0
 ipv6 address 1::1/128

interface FastEthernet0/0
 ipv6 address FE80::1 link-local          --- -> create link-local unicast address manually
 ipv6 address 12::1/126                       --- -> create global unicast address
 ipv6 address 21::/64 eui-64                --- ->  create EUI-64 Address
 ipv6 address autoconfig                     --- -> create link-local automatically
 ipv6 enable

R2#
ipv6 unicast-routing

interface Loopback0
 ipv6 address 2::2/128

interface FastEthernet0/0
 ipv6 address FE80::2 link-local
 ipv6 address 12::2/126
 ipv6 address 21::/64 eui-64
 ipv6 address autoconfig
 ipv6 enable

From this lab, we can see that in IPv6, interface can have multiple IPv6 address
Lets’s check and verify the IPv6

R1(config-if)#do sh ipv6 int brie
FastEthernet0/0            [up/up]
    FE80::1                                           - - > link-local unicast address
    12::1                                                --- -> global unicast address
    21::1                                                --- -> EUI-64 address
FastEthernet0/1            [administratively down/down]
Loopback0                    [up/up]
    FE80::C200:1FFF:FEC8:0
    1::1

R2(config-if)#do sh ipv6 int brie
FastEthernet0/0            [up/up]
    FE80::2
    12::2
    21::2
FastEthernet0/1            [administratively down/down]
Loopback0                  [up/up]
    FE80::C201:1FFF:FEC8:0
    2::2

Let’s try ping IP P2P

R2(config-if)#do ping 12::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/28/48 ms

R2(config-if)#do ping 21::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 21::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/23/56 ms

R1(config-if)#do ping FE80::1
Output Interface: F0/0
% Invalid interface. Use full interface name without spaces (e.g. Serial0/1)
Output Interface: fastethernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::1, timeout is 2 seconds:
Packet sent with a source address of FE80::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms

No comments:

Post a Comment