Basic IPV6 Routing Config
Basic IPV6 Routing Config
Configuration for
CCNA Students
By
Eng. Abeer
Hosni
https://www.facebook.com/groups/1720572871550995/
R1#debug ipv6 nd
R1(config)#int f0/0
*Mar 1 00:02:34.399: ICMPv6-ND: Prefix Information change for 2001:12::/64, 0x0 -> 0xE0
r1(config-if)#no shut
r1(config-if)#
r1(config-if)#
r1(config)#int loop 1
*Mar 1 00:17:16.775: ICMPv6-ND: Prefix Information change for 2001::1/128, 0x0 -> 0xE0
The ICMPv6-ND Neighbor Discovery process is just like the ARP process in IPV4. The router
sends ND to check that the address is unique, the DAD (Duplicate Address Detection) process,
and a NA Neighbor Advertise to tell everyone not to use that address. This process happens
twice, one for the manually assigned address and one for the link local address.
R1(config)#ipv6 unicast-routing
Notice that the router R1 now sends RA router advertisement message using the link local
address to advertise itself as a router.
Use the ipv6 address autoconfig command on R2 to obtain an IPv6 address through SLAAC
(Stateless Address Auto configuration).
r2(config)#int f0/1
r2(config-if)#ipv6 address autoconfig
r2(config-if)#no shut
r2(config)#int loop 2
FastEthernet0/1 [up/up]
FE80::C001:BFF:FE10:1
2001:12::C001:BFF:FE10:1
Loopback2 [up/up]
FE80::C001:BFF:FE10:0
2001::2
Notice that the interface f0/1 of r2 has obtained its network ID from r1 and its host ID from its
link local address using its MAC address.
r2(config)#ipv6 unicast-routing
and on r1…….
FF02::2
FF02::1:FF10:1
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
LC 2001::1/128 [0/0]
L 2001:12::1/128 [0/0]
L FF00::/8 [0/0]
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
LC 2001::2/128 [0/0]
C 2001:12::/64 [0/0]
L 2001:12::C001:BFF:FE10:1/128 [0/0]
L FF00::/8 [0/0]
<Output Omitted>
LC 2001::1/128 [0/0]
S 2001::2/128 [1/0]
via 2001:12::C001:BFF:FE10:1
C 2001:12::/64 [0/0]
L 2001:12::1/128 [0/0]
L FF00::/8 [0/0]
<Output Omitted>
S 2001::1/128 [1/0]
via 2001:12::1
LC 2001::2/128 [0/0]
C 2001:12::/64 [0/0]
L FF00::/8 [0/0]
r1#ping 2001::2
!!!!!
r2#ping 2001::1
!!!!!
Hint1) If you want to use the link local address you must specify the exit interface plus
the next hop IP address.
Hist2) You must use the next hop IP address in the broadcast segment network. But if
you wish to use the exit interface , you must statically map the next hop IP address to its
MAC address using the following command:
Lab 3 (RIPng):
r1(config)#no ipv6 route 2001::2/128 2001:12::C001:BFF:FE10:1
r1(config-rtr)#?
default Set a command to its defaults
Notice That there is no network command, but it should be enabled under the interface.
r1(config-rtr)#int f0/0
r1(config-if)#int loop 1
r2(config)#int f0/1
r2(config-if)#int loop 2
R 2001::2/128 [120/2]
<Output Omitted>
R 2001::1/128 [120/2]
Notice that the RIP update between the routers is done using the link local address.
r1#ping 2001::2
!!!!!
r2#ping 2001::1
!!!!!
Deleting the RIP process will delete the entire RIP configuration under the interface.
r1(config-rtr)#
*Mar 1 03:01:34.367: %OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id
r1(config-rtr)#router-id 1.1.1.1
r1(config-rtr)#int f0/0
r1(config-if)#int loop 1
r2(config)#int loop 2
Notice that the router picked the loopback interface IP address as its RID.
r2(config-rtr)#int f0/1
r2(config-if)#int loop 2
<Output Omitted>
O 2001::2/128 [110/10]
!!!!!
<Output Omitted>
O 2001::1/128 [110/10]
r2#ping 2001::1
!!!!!
r1(config-rtr)#no shutdown
r1(config-rtr)#router-id 1.1.1.1
r1(config-rtr)#int f0/0
r1(config-if)#ipv6 eigrp 1
r1(config-if)#int loop 1
r1(config-if)#ipv6 eigrp 1
r2(config-rtr)#int f0/1
r2(config-if)#ipv6 eigrp 1
r2(config-if)#int loop 2
r2(config-if)#ipv6 eigrp 1
Notice that r2 has picked its loopback 2 IPv4 address as the Router-id.
In RIP ng and OSPF V3, the process is enabled by default. But in EIGRP for IPV6, the
process is disabled by default and needs to be enabled using the no shutdown
command.
FE80::C001:BFF:FEB0:1
FE80::C000:BFF:FEB0:0
<Output Omitted>
D 2001::2/128 [90/409600]
r1#ping 2001::2
<Output Omitted>
D 2001::1/128 [90/409600]
r2#ping 2001::1
!!!!!
Best wishes
Abeer