0% found this document useful (0 votes)
44 views

Basic IPV6 Routing Config

The document discusses configuring IPv6 routing on routers R1 and R2 including enabling IPv6 addresses, enabling neighbor discovery, configuring static and RIP routing, and finally configuring OSPFv3. Key steps include assigning IPv6 addresses, enabling IPv6 routing, verifying neighbor tables, configuring static and RIP routes, and enabling OSPFv3 on interfaces.

Uploaded by

yasser23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Basic IPV6 Routing Config

The document discusses configuring IPv6 routing on routers R1 and R2 including enabling IPv6 addresses, enabling neighbor discovery, configuring static and RIP routing, and finally configuring OSPFv3. Key steps include assigning IPv6 addresses, enabling IPv6 routing, verifying neighbor tables, configuring static and RIP routes, and enabling OSPFv3 on interfaces.

Uploaded by

yasser23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

IPV6 Routing

Configuration for
CCNA Students
By
Eng. Abeer
Hosni

https://www.facebook.com/groups/1720572871550995/
R1#debug ipv6 nd

ICMP Neighbor Discovery events debugging is on

R1(config)#int f0/0

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

*Mar 1 00:02:34.399: ICMPv6-ND: Prefix Information change for 2001:12::/64, 0x0 -> 0xE0

*Mar 1 00:02:34.403: ICMPv6-ND: Adding prefix 2001:12::/64 to FastEthernet0/0

r1(config-if)#no shut

r1(config-if)#

*Mar 1 00:02:37.571: ICMPv6-ND: Sending NS for FE80::C000:BFF:FE10:0 on FastEthernet0/0

*Mar 1 00:02:38.571: ICMPv6-ND: DAD: FE80::C000:BFF:FE10:0 is unique.

*Mar 1 00:02:38.571: ICMPv6-ND: Sending NA for FE80::C000:BFF:FE10:0 on FastEthernet0/0

*Mar 1 00:02:38.571: ICMPv6-ND: Linklocal FE80::C000:BFF:FE10:0 on FastEthernet0/0, Up

*Mar 1 00:02:38.575: ICMPv6-ND: Address FE80::C000:BFF:FE10:0/10 is up on FastEthernet0/0

*Mar 1 00:02:38.579: ICMPv6-ND: Sending NS for 2001:12::1 on FastEthernet0/0

r1(config-if)#

*Mar 1 00:02:39.551: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar 1 00:02:39.583: ICMPv6-ND: DAD: 2001:12::1 is unique.

*Mar 1 00:02:39.583: ICMPv6-ND: Sending NA for 2001:12::1 on FastEthernet0/0

*Mar 1 00:02:39.587: ICMPv6-ND: Address 2001:12::1/64 is up on FastEthernet0/0


*Mar 1 00:02:40.551: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,
changed state to up

r1(config)#int loop 1

r1(config-if)#ipv6 add 2001::1/128

*Mar 1 00:17:16.767: ICMPv6-ND: DAD: FE80::C000:BFF:FE10:0 is unique.

*Mar 1 00:17:16.767: ICMPv6-ND: Linklocal FE80::C000:BFF:FE10:0 on Loopback1, Up

*Mar 1 00:17:16.767: ICMPv6-ND: Address FE80::C000:BFF:FE10:0/10 is up on Loopback1

*Mar 1 00:17:16.775: ICMPv6-ND: Prefix Information change for 2001::1/128, 0x0 -> 0xE0

*Mar 1 00:17:16.779: ICMPv6-ND: Adding prefix 2001::1/128 to Loopback1

*Mar 1 00:17:16.783: ICMPv6-ND: DAD: 2001::1 is unique.

*Mar 1 00:17:16.783: ICMPv6-ND: Address 2001::1/128 is up on Loopback1

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.

Now we will enable routing on R1.

R1(config)#ipv6 unicast-routing

*Mar 1 00:19:28.083: ICMPv6-ND: Request to send RA for FE80::C000:CFF:FE34:0

*Mar 1 00:19:28.083: ICMPv6-ND: Sending RA from FE80::C000:CFF:FE34:0 to FF02::1 on


FastEthernet0/0

*Mar 1 00:19:28.083: ICMPv6-ND: MTU = 1500

*Mar 1 00:19:28.083: ICMPv6-ND: prefix = 2001:12::/64 onlink autoconfig

*Mar 1 00:19:28.087: ICMPv6-ND: 2592000/604800 (valid/preferred)

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

r2(config-if)#ipv6 address 2001::2/128

r2#show ipv6 interface brief

FastEthernet0/0 [administratively down/down]

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…….

*Mar 1 00:14:17.791: ICMPv6-ND: Received RA from FE80::C001:BFF:FE10:1 on


FastEthernet0/0

r2#show ipv6 int f0/1

FastEthernet0/1 is up, line protocol is up

IPv6 is enabled, link-local address is FE80::C001:BFF:FE10:1

No Virtual link-local address(es):

Global unicast address(es):

2001:12::C001:BFF:FE10:1, subnet is 2001:12::/64 [EUI/CAL/PRE]

valid lifetime 2591894 preferred lifetime 604694

Joined group address(es):


FF02::1

FF02::2

FF02::1:FF10: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.

r1#show ipv6 route

IPv6 Routing Table - 4 entries

Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP

U - Per-user Static route, M - MIPv6

I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary

O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

D - EIGRP, EX - EIGRP external

LC 2001::1/128 [0/0]

via ::, Loopback1


C 2001:12::/64 [0/0]

via ::, FastEthernet0/0

L 2001:12::1/128 [0/0]

via ::, FastEthernet0/0

L FF00::/8 [0/0]

via ::, Null0And the same for r2 …..

r2#show ipv6 route

IPv6 Routing Table - 4 entries

Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP

U - Per-user Static route, M - MIPv6

I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary

O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

D - EIGRP, EX - EIGRP external

LC 2001::2/128 [0/0]

via ::, Loopback2

C 2001:12::/64 [0/0]

via ::, FastEthernet0/1

L 2001:12::C001:BFF:FE10:1/128 [0/0]

via ::, FastEthernet0/1

L FF00::/8 [0/0]

via ::, Null0

Lab 2 (Static Routing):


r1#show ipv6 neighbors (Equivalent to r1#show arp in IPV4)
IPv6 Address Age Link-layer Addr State Interface

FE80::C001:BFF:FE10:1 23 c201.0b10.0001 STALE Fa0/0

r1(config)#ipv6 route 2001::2/128 2001:12::C001:BFF:FE10:1

r2(config)#ipv6 route 2001::1/128 2001::12:1

r1#show ipv6 route

<Output Omitted>

LC 2001::1/128 [0/0]

via ::, Loopback1

S 2001::2/128 [1/0]

via 2001:12::C001:BFF:FE10:1

C 2001:12::/64 [0/0]

via ::, FastEthernet0/0

L 2001:12::1/128 [0/0]

via ::, FastEthernet0/0

L FF00::/8 [0/0]

via ::, Null0

r2(config)#ipv6 route 2001::1/128 2001:12::1

r2(config)#do show ipv6 route

<Output Omitted>

S 2001::1/128 [1/0]

via 2001:12::1

LC 2001::2/128 [0/0]

via ::, Loopback2

C 2001:12::/64 [0/0]

via ::, FastEthernet0/1


L 2001:12::C001:BFF:FE10:1/128 [0/0]

via ::, FastEthernet0/1

L FF00::/8 [0/0]

via ::, Null0

r1#ping 2001::2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/17/64 ms

r2#ping 2001::1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/16/36 ms

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:

r1(config)#ipv6 route 2001::2/128 f0/0

r1(config)#ipv6 neighbor 2001::2 f0/0 c201.0b10.0001 (Where c201.0b10.0001 is the


next hop MAC address).

Lab 3 (RIPng):
r1(config)#no ipv6 route 2001::2/128 2001:12::C001:BFF:FE10:1

r1(config)#ipv6 router rip CISCO

r1(config-rtr)#?
default Set a command to its defaults

distance Administrative distance

distribute-list Filter networks in routing updates

exit Exit from IPv6 routing protocol configuration mode

maximum-paths Forward packets over multiple paths

no Negate a command or set its defaults

poison-reverse Poison reverse updates

port Port and multicast address

redistribute Redistribute IPv6 prefixes from another routing protocol

shutdown Shutdown protocol

split-horizon Split horizon updates

timers Adjust routing timers

Notice That there is no network command, but it should be enabled under the interface.

r1(config-rtr)#int f0/0

r1(config-if)#ipv6 rip CISCO enable

r1(config-if)#int loop 1

r1(config-if)#ipv6 rip CISCO enable

Process ID is locally significant and it can be a word or a number.

r2(config)#no ipv6 route 2001::1/128 f0/1

r2(config)#int f0/1

r2(config-if)#ipv6 rip CISCO1 enable

r2(config-if)#int loop 2

r2(config-if)#ipv6 rip CISCO1 enable

If we enable the process under the interface, It will be created.

r1#show ipv6 route rip


<Output Omitted>

R 2001::2/128 [120/2]

via FE80::C001:BFF:FE10:1, FastEthernet0/0

r2#show ipv6 route rip

<Output Omitted>

R 2001::1/128 [120/2]

via FE80::C000:BFF:FE10:0, FastEthernet0/1

Notice that the RIP update between the routers is done using the link local address.

r1#ping 2001::2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/35/140 ms

r2#ping 2001::1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 8/32/76 ms

Lab 4 (OSPF V3):


r1(config)#no ipv6 router rip CISCO

r2(config)#no ipv6 router rip CISCO1

Deleting the RIP process will delete the entire RIP configuration under the interface.

r1(config)#ipv6 router ospf 1

r1(config-rtr)#
*Mar 1 03:01:34.367: %OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id

please configure manually

r1(config-rtr)#router-id 1.1.1.1

r1(config-rtr)#int f0/0

r1(config-if)#ipv6 ospf 1 area 0

r1(config-if)#int loop 1

r1(config-if)#ipv6 ospf 1 area 0

r2(config)#int loop 2

r2(config-if)#ip address 2.2.2.2 255.255.255.255

r2(config-if)#ipv6 router ospf 1

Notice that the router picked the loopback interface IP address as its RID.

r2(config-rtr)#int f0/1

r2(config-if)#ipv6 ospf 1 area 0

*Mar 1 03:09:57.367: %OSPFv3-5-ADJCHG: Process 1, Nbr 1.1.1.1 on FastEthernet0/1


from LOADING to FULL, Loading Done

r2(config-if)#int loop 2

r2(config-if)#ipv6 ospf 1 area 0

r1#show ipv6 ospf neighbor

Neighbor ID Pri State Dead Time Interface ID Interface

2.2.2.2 1 FULL/BDR 00:00:38 5 FastEthernet0/0

r1#show ipv6 route ospf

<Output Omitted>

O 2001::2/128 [110/10]

via FE80::C001:BFF:FE10:1, FastEthernet0/0


r1#ping 2001::2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/20/48 ms

r2#show ipv6 route ospf

<Output Omitted>

O 2001::1/128 [110/10]

via FE80::C000:BFF:FE10:0, FastEthernet0/1

r2#ping 2001::1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/27/48 ms

Lab 5 (EIGRP for IPV6):


r1(config)#no ipv6 router ospf 1

r2(config)#no ipv6 router ospf 1

r1(config)#ipv6 router eigrp 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)#ipv6 router eigrp 1


r2(config-rtr)#no shutdown

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.

r1#show ipv6 eigrp neighbors

IPv6-EIGRP neighbors for process 1

H Address Interface Hold Uptime SRTT RTO Q Seq

(sec) (ms) Cnt Num

0 Link-local address: Fa0/0 13 00:00:51 17 200 0 11

FE80::C001:BFF:FEB0:1

r1#show ipv6 eigrp topology

IPv6-EIGRP Topology Table for AS(1)/ID(1.1.1.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

r - reply Status, s - sia Status

P 2001::1/128, 1 successors, FD is 128256

via Connected, Loopback1

P 2001::2/128, 1 successors, FD is 409600

via FE80::C001:BFF:FEB0:1 (409600/128256), FastEthernet0/0

P 2001:12::/64, 1 successors, FD is 281600

via Connected, FastEthernet0/0


r2#show ipv6 eigrp neighbors

IPv6-EIGRP neighbors for process 1

H Address Interface Hold Uptime SRTT RTO Q Seq

(sec) (ms) Cnt


Num

0 Link-local address: Fa0/1 14 00:03:58 46 414 0 12

FE80::C000:BFF:FEB0:0

r2#show ipv6 eigrp topology

IPv6-EIGRP Topology Table for AS(1)/ID(2.2.2.2)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

r - reply Status, s - sia Status

P 2001::1/128, 1 successors, FD is 409600

via FE80::C000:BFF:FEB0:0 (409600/128256), FastEthernet0/1

P 2001::2/128, 1 successors, FD is 128256

via Connected, Loopback2

P 2001:12::/64, 1 successors, FD is 281600

via Connected, FastEthernet0/1

r1#show ipv6 route eigrp

<Output Omitted>

D 2001::2/128 [90/409600]

via FE80::C001:BFF:FEB0:1, FastEthernet0/0

r1#ping 2001::2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::2, timeout is 2 seconds:


!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/14/40 ms

r2#show ipv6 route eigrp

<Output Omitted>

D 2001::1/128 [90/409600]

via FE80::C000:BFF:FEB0:0, FastEthernet0/1

r2#ping 2001::1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2001::1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/18/68 ms

Best wishes

Abeer 

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy