CCNP Route Manual

download CCNP Route Manual

of 60

description

file

Transcript of CCNP Route Manual

  • Cisco Certified Network Professional

    CCNP Route Lab Manual

    Developed by

    M. Irfan Ghauri M. Rizwan Khan M. Saad Siraj

    C-32/1 Block-5 Gulshan-e-Iqbal, Karachi ESP Press Ph #021-6034003 Copyrights 2011

  • LAB# LABS DESCRIPTION PAGE NO.

    URIP & IGRP

    1 Configurig RIP & IGRP with change of administrative distance 2 2 Effect of change of bandwidth and delay in IGRP 4 3 Effect of change of Autonomous System in IGRP 6 4 Configuring Passive-interface in IGRP 8 5 Configuring IP Unnumbered with RIP 10

    UBASIC REDISTRIBUTION U

    6 Configuring Redistribution between RIP & OSPF 11

    UDHCP SERVERU

    7 Configuring DHCP server & Helper address feature in Cisco Router 12

    UEIGRP

    1 Configuring EIGRP within an AS 14 2 Configuring unequal cost load balancing in EIGRP 16 3 Configuring EIGRP Route Summarization 18 4 Configuring EIGRP Authentication 19 5 Configuring EIGRP Stub 21

    UOSPF

    1 Configuring OSPF in a Single Area 23 2 Configuring DR-Election in OSPF 25 3 Configuring Virtual link in OSPF 27 4 Configuring Totally Stubby Area in OSPF 29 5 Configuring Route Summarization in OSPF 31 6 Configuring OSPF Authentication 32

    UREDISTRIBUTION

    1 Configuring Redistribution between RIP & OSPF 33 3 Configuring Redistribution between RIP, OSPF & EIGRP 34 4 Configuring OSPF Stub Area 36 5 Configuring Distribute List in Redistribution 38

  • Route Lab Manual

    - 1 -

    UPOLICY BASE ROUTING & ROUTEMAP

    1 Direct physical link failure detection 40 2 Indirect physical link failure detection using object tracking 42 3 Off-set list using rip 44

    UBGP

    1 Configuring External BGP Session 45 2 Configuring Internal BGP Session 46 3 Configuring BGP with Update-source & EBGP multihop commands 47 4 Configuring next-hop-self command for Internal BGP Session 48 5 Configuring Route Map in BGP 51

    UIP VERSION 6

    1 Configuring Dual Stacking & Static routes 53 2 Configuring RIP for IPV6 57 3 Configuring OSPF for IPV6 58

  • Route Lab Manual

    - 2 -

    RB

    RA

    RD

    RCE0 11.0.0.1

    E0 11.0.0.2

    S0 13.0.0.2 S0 13.0.0.1

    E0 12.0.0.1

    E0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    ULab diagram for configuring RIP and IGRP with change of administrative distance

    URouter A RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 RouterA(config)#router igrp 10 RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 RouterA(config)#router rip RouterA(config-router)#distance 90 URouter B RouterB(config)#router rip RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#network 14.0.0.0

  • Route Lab Manual

    - 3 -

    RouterB(config)#router igrp 10 RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#network 14.0.0.0 RouterB(config)#router rip RouterB(config-router)#distance 90 URouter C RouterC(config)#router rip RouterC(config-router)#network 13.0.0.0 RouterC(config-router)#network 12.0.0.0 RouterC(config)#router igrp 10 RouterC(config-router)#network 12.0.0.0 RouterC(config-router)#network 13.0.0.0 RouterC(config)#router rip RouterC(config-router)#distance 90 URouter D RouterD(config)#router rip RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 14.0.0.0

    RouterD(config)#router igrp 10 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 14.0.0.0 RouterD(config)#router rip RouterD(config-router)#distance 90 UVerifying Commands Router#show ip route Router#show ip protocol Router#clear ip route *

  • Route Lab Manual

    - 4 -

    RB

    RA

    RD

    RC E0 11.0.0.1

    E0 11.0.0.2

    S0 13.0.0.2 S0 13.0.0.1

    E0 12.0.0.1

    E0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    ULab diagram for configuring Bandwidth Uand Delay In IGRP

    URouter A RouterA(config)#router igrp 10 RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 RouterA(config)#interface S0 RouterA(config-if)#delay 4000 OR RouterA(config)#interface S0 RotuerA(config-if)#bandwidth 100 URouter B RouterB(config)#router igrp 10 RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#network 14.0.0.0

  • Route Lab Manual

    - 5 -

    URouter C RouterC(config)#router igrp 10 RouterC(config-router)#network 12.0.0.0 RouterC(config-router)#network 13.0.0.0 URouter D RouterD(config)#router igrp 10 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 14.0.0.0 UVerifying Commands Router#show ip route Router#show ip protocol Router#show interfaces serial 0 Router#show interface ethernet 0 Router#clear ip route *

  • Route Lab Manual

    - 6 -

    RB

    RA

    RD

    RC E0 11.0.0.1

    E0 11.0.0.2

    S0 13.0.0.2 S0 13.0.0.1

    E0 12.0.0.1

    E0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    Lab diagram for configuring different Autonomous Systems in IGRP

    Router A RouterA(config)#router igrp 20 RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router C RouterC(config)#router igrp 20 RouterC(config-router)#network 12.0.0.0 RouterC(config-router)#network 13.0.0.0 Router B RouterB(config)#router igrp 10 RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#network 14.0.0.0

  • Route Lab Manual

    - 7 -

    Router D RouterD(config)#router igrp 10 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 14.0.0.0 Verifying Commands Router#show ip route Router#show ip protocol Router#clear ip route *

  • Route Lab Manual

    - 8 -

    RB

    RA

    RD

    RC e0 11.0.0.1

    e0 11.0.0.2

    S0 13.0.0.2 S0 13.0.0.1

    e0 12.0.0.1

    e0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    Lab diagram for configuring Passive Interface in IGRP

    Router A RouterA(config)#router igrp 10 RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 RouterA(config-router)#passive-interface serial 0 Router B RouterB(config)#router igrp 10 RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#network 14.0.0.0 RouterB(config-router)#passive-interface serial 0 Router C RouterC(config)#router igrp 10 RouterC(config-router)#network 13.0.0.0 RouterC(config-router)#network 12.0.0.0

  • Route Lab Manual

    - 9 -

    RouterC(config-router)#passive-interface serial 0 Router D RouterD(config)#router igrp 10 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 14.0.0.0 RouterD(config-router)#passive-interface serial 0 Verifying Commands Router#show ip route Router#show ip protocol Router#clear ip route * Router#debug ip igrp events

  • Route Lab Manual

    - 10 -

    RA RC

    E0 11.0.0.1

    S0 12.0.0.1 S0 11.0.0.1

    E0 12.0.0.1

    Configuring IP Unnumbered With RIP Router A RouterA(config)#interface ethernet0 RouterA(config-if)#ip address 11.0.0.1 255.0.0.0 RouterA(config)#interface serial 0 RouterA(config-if)#ip unnumbered ethernet 0 RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 Router C RouterC(config)#interface ethernet 0 RouterC(config-if)#ip address 12.0.0.1 255.0.0.0 RouterC(config)#interface serial 0 RouterC(config-if)#ip unnumbered ethernet 0 RouterC(config)#router rip RouterC(config-router)#network 12.0.0.0 Verifying Commands Router#show ip route Router#show interface serial0

  • Route Lab Manual

    - 11 -

    Configuring Redistribution Between RIP & OSPF

    Router A RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router rip RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#redistribute ospf 64 metric 5 RouterB(config)#router ospf 64 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterB(config-router)#redistribute rip metric 56 Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterD(config-router)#network 12.0.0.0 0.255.255.255 area 0 Verifying Commands Router#show ip route Router#show ip protocols Router#clear ip route *

    S0 S0

    14.0.0.2

    OSPF Area 0

    RA

    E0 E011.0.0.2 11.0.0.1

    RIP

    14.0.0.1

    S0 13.0.0.1

    E0 12.0.0.1

    RB RD

  • Route Lab Manual

    - 12 -

    E0 11.0.0.10

    DHCP Assigned IP 11.0.0.11

    E0 12.0.0.10

    S0 13.0.0.1

    S0

    13.0.0.2 RA RC

    Head-office

    DHCP Assigned IP

    12.0.0.11

    Branch-office

    DHCP Pool Head-off 11.0.0.0 / 8 DHCP Pool Branch-off 12.0.0.0 / 8

    DHCP Server

    Helper Address for

    Branch Office

    Configuring Cisco Router as a Dhcp Server

    Step 1: Assign ip addresses on both routers as shown in figure. Step 2(A): Define Static route on RA for network 12.0.0.0 RA(config)#ip route 12.0.0.0 255.0.0.0 13.0.0.2 Step 2(B): Define Static route on RB for network 11.0.0.0 RB(config)#ip route 11.0.0.0 255.0.0.0 13.0.0.1 Step 3: Enable DHCP service on RA RA(config)#service dhcp

  • Route Lab Manual

    - 13 -

    Step 4(A): On RA, create & configure dhcp pool Head-off for head office hosts. RA(config)#ip dhcp pool Head-off RA(dhcp-config)#network 11.0.0.0 255.0.0.0 RA(dhcp-config)#default-router 11.0.0.10 Step 4(B): On RA, reserve addresses (11.0.0.1 ~11.0.0.10)by excluding them from the dhcp pool. RA(config)#ip dhcp excluded-address 11.0.0.1 11.0.0.10 Step 5(A): On RA, create & configure dhcp pool Branch-off for branch office hosts. RA(config)#ip dhcp pool Branch-off RA(dhcp-config)#network 12.0.0.0 255.0.0.0 RA(dhcp-config)#default-router 12.0.0.10 Step 5(B): On RA, reserve addresses (12.0.0.1 ~12.0.0.10)by excluding them from the dhcp pool. RA(config)#ip dhcp excluded-address 12.0.0.1 12.0.0.10 Step 6: On head office PC, run the following commands on command prompt C :\> ipconfig /release C :\> ipconfig /renew (Noth that the PC will get an ip address from the Head-off pool) Step 7: On RB, configure helper address on interface Ethernet 0 RB(config)#interface ethernet0 RB(config-if)#ip helper-address 13.0.0.1 Step 8: On Branch office PC, run the following commands on command prompt C :\> ipconfig /release C :\> ipconfig /renew (Noth that the PC will get an ip address from the Branch-off pool) Step 9: On RA, check the DHCP binding by the following command RA#show ip dhcp binding

    IP Address of RAs Serial 0 interface

  • Route Lab Manual

    - 14 -

    RA

    RD

    RC E0 11.0.0.1

    E0 11.0.0.2

    S0 13.0.0.2 S0 13.0.0.1

    E0 12.0.0.1

    E0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    EIGRP AS 10

    RB

    Lab diagram for EIGRP configuration

    Router A RouterA(config)#router eigrp 10 RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router eigrp 10 RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#network 14.0.0.0

  • Route Lab Manual

    - 15 -

    Router C RouterC(config)#router eigrp 10 RouterC(config-router)#network 12.0.0.0 RouterC(config-router)#network 13.0.0.0 Router D RouterD(config)#router eigrp 10 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 14.0.0.0 Verifying Commands Router#show ip route Router#show ip protocol Router#clear ip route * Router#show ip eigrp neighbor Router#show ip eigrp interfaces Router#show ip eigrp topology

  • Route Lab Manual

    - 16 -

    EIGRP AS 10

    RA

    S013.0.0.2

    S0 13.0.0.1

    RC E0 11.0.0.1 E0 11.0.0.2

    RB

    S1 14.0.0.1 S0

    14.0.0.2

    15.0.0.1 E0

    Lab diagram for configuring unequal cost

    load balancing Router A RouterA(config)#router eigrp 10 RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 RouterA(config-router)#variance 2 Router C RouterC(config)#router eigrp 10 RouterC(config-router)#network 13.0.0.0 RouterC(config-router)#network 11.0.0.0 RouterC(config-router)#network 14.0.0.0

    Router B RouterB(config)#router eigrp 10 RouterB(config-router)#network 14.0.0.0 RouterB(config-router)#network 15.0.0.0

  • Route Lab Manual

    - 17 -

    Verifying Commands Router#show ip route 15.0.0.1 Router#show ip protocol Router#clear ip route * Router#show ip eigrp topology

  • Route Lab Manual

    - 18 -

    RA RC S0 13.0.0.2

    S0 13.0.0.1

    EIGRP AS 10L 0 192.168.24.1/24

    L 3 192.168.27.1/24

    L1 192.168.25.1/24

    192.168.24.0 / 22 L 2

    192.168.26.1/24

    Configuring Route Summarization In EIGRP RouterA RA(config)#router eigrp 10 RA(config-router)#network 13.0.0.0 RA(config-router)#network 192.168.24.0 RA(config-router)#network 192.168.25.0 RA(config-router)#network 192.168.26.0 RA(config-router)#network 192.168.27.0 RA(config-router)#no auto-summary RA(config)#interface serial 0 RA(config-if)#ip summary-address eigrp 10 192.168.24.0 255.255.252.0 RouterC RC(config)#router eigrp 10 RC(config-router)#network 13.0.0.0 Verifying Commands Router#show ip route Router#show ip protocol Router#clear ip route *

  • Route Lab Manual

    - 19 -

    Loopback 0 20.0.0.1

    RC RA 13.0.0.2

    S0

    13.0.0.1 S0

    EIGRP 10

    Loopback 0 10.0.0.1

    Configuring EIGRP Authentication

    RouterA RA(config)#router eigrp 10 RA(config-router)#network 13.0.0.0 RA(config-router)#network 10.0.0.0 RA(config)#key chain RA RA(config-keychain)#key 1 RA(config-keychain-key)#key-string cisco RA(config)#interface serial 0 RA(config-if)#ip authentication mode eigrp 10 md5 RA(config-if)#ip authentication key-chain eigrp 10 RA Router C RC(config)#router eigrp 10 RC(config-router)#network 13.0.0.0 RC(config-router)#network 20.0.0.0 RC(config)#key chain RC RC(config-keychain)#key 1 RC(config-keychain-key)#key-string cisco

  • Route Lab Manual

    - 20 -

    RC(config)#int s0 RC(config-if)#ip authentication mode eigrp 10 md5 RC(config-if)#ip authentication key-chain eigrp 10 RC Verifying Commands Router#debug eigrp packets Router#show ip route Router#show ip protocol Router#show ip eigrp neighbor

  • Route Lab Manual

    - 21 -

    Loopback 0

    10 0 0 1

    S0 11.0.0.2

    E0 13.0.0.1

    S0 12.0.0.1

    S0 11.0.0.1

    S1 12.0.0.2

    EIGRP 10

    Stub

    E0 13.0.0.2

    Stub RA

    RC

    RB

    RD

    Configuring EIGRP Stub Feature

    Router A RouterA(config)#router eigrp 10 RouterA(config-router)#network 10.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router eigrp 10 RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#eigrp stub Router C RouterC(config)#router eigrp 10 RouterC(config-router)#network 12.0.0.0 RouterC(config-router)#eigrp stub

  • Route Lab Manual

    - 22 -

    Router D RouterD(config)#router eigrp 10 RouterD(config-router)#network 11.0.0.0 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#network 13.0.0.0 Verifying Commands Router#debug eigrp packets

    Before Configuring RB & RC as Stub. (Shutdown Loopback 0 interface on RA. Verify the result on RD.) (RD will send QUERY packets to both RB on Serial 0 & to RC on Serial 1. Note that RB & RC are not configured as STUB as yet). 00:23:01: EIGRP: Enqueueing QUERY on Serial1 iidbQ un/rely 0/1 serno 5-5 00:23:01: EIGRP: Enqueueing QUERY on Serial1 nbr 12.0.0.1 iidbQ un/rely 0/0 peer Q un/rely 0/0 serno 5-5 00:23:01: EIGRP: Sending QUERY on Serial1 nbr 12.0.0.1 00:23:01: AS 10, Flags 0x0, Seq 8/2 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0 /1 serno 5-5 00:23:01: EIGRP: Enqueueing QUERY on Serial0 iidbQ un/rely 0/1 serno 5-5 00:23:01: EIGRP: Enqueueing QUERY on Serial0 nbr 11.0.0.1 iidbQ un/rely 0/0 peer Q un/rely 0/0 serno 5-5 00:23:01: EIGRP: Sending QUERY on Serial0 nbr 11.0.0.1 00:23:01: AS 10, Flags 0x0, Seq 9/4 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0 /1 serno 5-5

    After Configuring RB & RC as Stub. (Again Shutdown Loopback 0 interface on RA. Verify the result on RD.) (Now RD will not send any QUERY packety to RB or RC). 00:27:00: EIGRP: Enqueueing QUERY on Serial1 iidbQ un/rely 0/1 serno 8-8 00:27:00: EIGRP: Enqueueing QUERY on Serial1 nbr 12.0.0.1 iidbQ un/rely 0/0 peer Q un/rely 0/0 serno 8-8 00:27:00: EIGRP: Serial2 multicast flow blocking cleared 00:27:00: EIGRP: Enqueueing QUERY on Serial0 iidbQ un/rely 0/1 serno 8-8 00:27:00: EIGRP: Enqueueing QUERY on Serial0 nbr 11.0.0.1 iidbQ un/rely 0/0 peer Q un/rely 0/0 serno 8-8 00:27:00: EIGRP: Serial1 multicast flow blocking cleared

  • Route Lab Manual

    - 23 -

    RA

    RD

    RC E0 11.0.0.1

    E0 11.0.0.2

    S0 13.0.0.2 S0 13.0.0.1

    E0 12.0.0.1

    E0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1 RB

    OSPF Area 0

    Configuring OSPF in single area

    Router A RouterA(config)#router ospf 64 RouterA(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterA(config-router)#network 13.0.0.0 0.255.255.255 area 0 Router B RouterB(config)#router ospf 64 RouterB(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 0 Router C RouterC(config)#router ospf 64 RouterC(config-router)#network 12.0.0.0 0.255.255.255 area 0 RouterC(config-router)#network 13.0.0.0 0.255.255.255 area 0

  • Route Lab Manual

    - 24 -

    Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 12.0.0.0 0.255.255.255 area 0 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 0 Verifying Commands Router#show ip route Router#show ip protocol Router#clear ip route * Router#show ip ospf Router#show ip ospf neighbor Router#show ip ospf interfaces Router#show ip ospf database

  • Route Lab Manual

    - 25 -

    11.0.0.2

    11.0.0.1 11.0.0.3

    11.0.0.4

    OSPF Area 0

    RA RC

    RB RD

    Configuring DR-Election in OSPF

    Router A RouterA(config-router)#router ospf 64 RouterA(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterA(config)#interface ethernet0 RouterA(config-if)#ip ospf priority 10 Router B RouterB(config)#router ospf 64 RouterB(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterB(config)#interface ethernet 0 RouterB(config-if)#ip ospf priority 7 Router C RouterC(config)#router ospf 64 RouterC(config-router)#network 11.0.0.0 0.255.255.255 area 0

  • Route Lab Manual

    - 26 -

    Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 11.0.0.0 0.255.255.255 area 0 Verifying Commands Router#clear ip ospf process Router#show ip ospf neighbor Router#show ip ospf interfaces

  • Route Lab Manual

    - 27 -

    RD

    e0 11.0.0.1

    e0 11.0.0.2

    S0 13.0.0.1

    e0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    OSPF Area 0 Virtual Link

    RB

    RA

    OSPF Area 2

    OSPF Area 1

    Configuring Virtual Link in OSPF

    Router A RouterA(config)#router ospf 64 RouterA(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterA(config-router)#network 13.0.0.0 0.255.255.255 area 0 Router B RouterB(config)#router ospf 64 RouterB(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 1 RouterB(config-router)#area 1 virtual-link 14.0.0.2

  • Route Lab Manual

    - 28 -

    Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 1 RouterD(config-router)#network 12.0.0.0 0.255.255.255 area 2 RouterD(config-router)#area 1 virtual-link 14.0.0.1 Verifying Commands Router#show ip ospf virtual-links Router#show ip route

  • Route Lab Manual

    - 29 -

    RD

    e0 11.0.0.1

    e0 11.0.0.2

    S0 13.0.0.1

    e0 12.0.0.2

    S0 14.0.0.2 S0 14.0.0.1

    OSPF Area 1 Totally Stub Area

    RB

    RA

    OSPF Area 0

    Configuring Totally Stubby Area In Ospf

    Router A RouterA(config)#router ospf 64 RouterA(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterA(config-router)#network 13.0.0.0 0.255.255.255 area 0 Router B RouterB(config)#router ospf 64 RouterB(config-router)#network 11.0.0.0 0.255.255.255 area 0 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 1 RouterB(config-router)#area 1 stub no-summary Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 12.0.0.0 0.225.255.255 area 1

  • Route Lab Manual

    - 30 -

    RouterD(config-router)#network 14.0.0.0 0.225.255.255 area 1 RouterD(config-router)#area 1 stub Verifying Commands Router#show ip route Router#clear ip route * Router#show ip ospf Router#show ip ospf database

  • Route Lab Manual

    - 31 -

    RA RC S0 13.0.0.2

    S0 13.0.0.1

    L 3 192.168.27.1/24

    L2 192.168.26.1/24

    192.168.24.0 / 22

    L 0 192.168.24.1/24

    L1 192.168.25.1/24

    OSPF Area 0 OSPF

    Area 1

    Configuring Ospf Route Summarization

    RouterA RouterA(config)#router ospf 64 RouterA(config-router)#network 192.168.24.1 0.0.0.255 area 0 RouterA(config-router)#network 192.168.25.1 0.0.0.255 area 0 RouterA(config-router)#network 192.168.26.1 0.0.0.255 area 0 RouterA(config-router)#network 192.168.27.1 0.0.0.255 area 0 RouterA(config-router)#network 13.0.0.0 0.255.255.255 area 1 RouterA(config-router)# area 0 range 192.168.24.0 255.255.252.0 RouterC RouterC(config)#router ospf 64 RouterC(config-router)#network 13.0.0.0 0.255.255.255 area 1 Verifying Commands Router#show ip route Router#clear ip route * Router#show ip ospf database

  • Route Lab Manual

    - 32 -

    Loopback 0 20.0.0.1

    Loopback 0 10.0.0.1 13.0.0.2

    S0

    13.0.0.1

    S0

    OSPF Area 0

    RA RC

    Configuring Ospf Authentication

    Router A RA(config)#router ospf 64 RA(config-router)#network 13.0.0.0 0.255.255.255 area 0 RA(config-router)#network 10.0.0.0 0.255.255.255 area 0 RA(config)#interface serial 0 RA(config-if)#ip ospf authentication message-digest RA(config-if)#ip ospf message-digest-key 1 md5 cisco Router C RC(config)#router ospf 64 RC(config-router)#network 13.0.0.0 0.255.255.255 area 0 RC(config-router)#network 20.0.0.0 0.255.255.255 area 0 RC(config)# interface serial 0 RC(config-if)# ip ospf authentication message-digest RC(config-if)# ip ospf message-digest-key 1 md5 cisco Verifying Commands Router # debug ip ospf events Router # debug ip ospf adj Router # show ip ospf neighbor Router#show ip route

  • Route Lab Manual

    - 33 -

    Configuring Redistribution Between RIP & OSPF

    Router A RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router rip RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#redistribute ospf 64 metric 5 RouterB(config)#router ospf 64 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterB(config-router)#redistribute rip metric 56 Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterD(config-router)#network 12.0.0.0 0.255.255.255 area 0 Verifying Commands Router#show ip route Router#show ip protocols Router#clear ip route *

    S0 S0

    14.0.0.2

    OSPF Area 0

    RA

    E0 E011.0.0.211.0.0.1

    RIP

    14.0.0.1

    S0 13.0.0.1

    E0 12.0.0.1

    RB RD

  • Route Lab Manual

    - 34 -

    Configuring Redistribution Between

    RIP, OSPF & EIGRP

    Router A RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router rip RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#redistribute ospf 64 metric 5 RouterB(config)#router ospf 64 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterB(config-router)#redistribute rip metric 56 Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterD(config-router)#redistribute eigrp 10 metric 56 RouterD(config)#router eigrp 10 RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#redistribute ospf 64 metric 56 0 0 1 3

    S0

    14.0.0.2 RA E0

    11.0.0.2

    11.0.0.1

    RIP

    S0 13.0.0.1

    RB

    OSPF Area 0

    14.0.0.1S0

    RD

    EIGRP 10

    RC

    S0 15.0.0.1

    E0

    E0

    12.0.0.1

    12.0.0.2 E0

  • Route Lab Manual

    - 35 -

    Router C RouterC(config)#router eigrp 10 RouterC(config-router)#network 15.0.0.0 RouterC(config-router)#network 12.0.0.0 Verifying Commands Router#show ip route Router#show ip protocols Router#clear ip route *

  • Route Lab Manual

    - 36 -

    Configuring Stub Area In OSPF

    Router A RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router rip RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#redistribute ospf 64 metric 5 RouterB(config)#router ospf 64 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterB(config-router)#redistribute rip metric 56 Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterD(config-router)#network 12.0.0.0 0.255.255.255 area 1 RouterD(config-router)#area 1 stub

    S0

    14.0.0.2 RA

    E0

    E011.0.0.1

    RIP

    S0 13.0.0.1

    Area 0

    14.0.0.1

    S0 RD RC

    S0 15.0.0.1

    E0

    E0

    12.0.0.1

    12.0.0.2

    Area 1 Stub

    OSPF

    RB

    11.0.0.2

  • Route Lab Manual

    - 37 -

    Router C RouterC(config)#router ospf 64 RouterC(config-router)#network 12.0.0.0 0.255.255.255 area 1 RouterC(config-router)#network 15.0.0.0 0.255.255.255 area 1 RouterC(config-router)#area 1 stub Verifying Commands Router#show ip route Router#clear ip route * Router#show ip ospf Router#show ip ospf database

  • Route Lab Manual

    - 38 -

    Configuring Distribute List

    In Redistribution

    Router A RouterA(config)#router rip RouterA(config-router)#network 11.0.0.0 RouterA(config-router)#network 13.0.0.0 Router B RouterB(config)#router ospf 64 RouterB(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterB(config-router)#redistribute rip metric 56 RouterB(config-router)#distribute-list 1 out RouterB(config)#router rip RouterB(config-router)#network 11.0.0.0 RouterB(config-router)#redistribute ospf 64 metric 5 RouterB(config)#access-list 1 permit 13.0.0.0 Router D RouterD(config)#router ospf 64 RouterD(config-router)#network 14.0.0.0 0.255.255.255 area 0 RouterD(config-router)#distribute-list 1 out RouterD(config)#router igrp 10

    S0

    14.0.0.2 RA

    E0 11.0.0.2

    11.0.0.1

    RIP

    S0 13.0.0.1

    RB

    OSPF Area 0

    14.0.0.1S0

    RD

    EIGRP 10

    RC

    S0 15.0.0.1

    E0

    E0

    12.0.0.1

    12.0.0.2

    Permit Only Network 15.0.0.0

    Permit Only Network 13.0.0.0

    E0

  • Route Lab Manual

    - 39 -

    RouterD(config-router)#network 12.0.0.0 RouterD(config-router)#redistribute ospf 64 metric 45 0 0 1 5 RouterD(config)#access-list 1 permit 15.0.0.0 Router C RouterC(config)#router igrp 10 RouterC(config-router)#network 12.0.0.0 RouterC(config-router)#network 15.0.0.0 Verifying Commands Router#show ip route Router#show ip protocols Router#clear ip route *

  • Route Lab Manual

    - 40 -

    Direct Physical Link Failure Detection

    Router A RA(config)# access-list 1 permit 10.0.0.0 0.255.255.255 RA(config)# route-map test permit 10 RA(config-route-map)# match ip address 1 RA(config-route-map)# set ip next-hop 15.0.0.2 16.0.0.2 RA(config)#interface Ethernet 0/1 RA(config-if)# no ip route-cache RA(config)#interface Serial 0/0/0 RA(config-if)# no ip route-cache RA(config)#interface Ethernet 0/0 RA(config-if)# no ip route-cache RA(config-if)#ip policy route-map test

    L0 20.0.0.1

    L0 20.0.0.1

    Fe 0/1 16.0.0.1

    S 0/0/0 15.0.0.1

    ISP-2

    ISP-1

    e0 16.0.0.2

    S0 15.0.0.2

    Fe 0/0 10.0.0.10

    RA

    Network A 10.0.0.0

  • Route Lab Manual

    - 41 -

    ISP-1 ISP-1(config)# ip route 10.0.0.0 255.0.0.0 15.0.0.1 ISP-2 ISP-2(config)# ip route 10.0.0.0 255.0.0.0 16.0.0.1 Verifying Commands Router# show route-map Router# Clear cef

  • Route Lab Manual

    - 42 -

    Indirect physical link failure detection by using object tracking

    RouterA RA(config)#ip sla monitor 1 RA (config-sla-monitor)# type echo protocol ipIcmpEcho 16.0.0.2 RA (config)#ip sla monitor schedule 1 life forever start-time now RA (config)#ip sla monitor 2 RA (config-sla-monitor)#type echo protocol ipIcmpEcho 15.0.0.2 RA (config)#ip sla monitor schedule 2 life forever start-time now RA (config)#track 123 rtr 1 reachability RA (config)#track 124 rtr 2 reachability

    L0 20.0.0.1

    L0 20.0.0.1

    Fe 0/1 16.0.0.1

    S 0/0/0 15.0.0.1

    ISP-2

    ISP-1

    e0 16.0.0.2

    S0 15.0.0.2

    Fe 0/0 10.0.0.10

    RA

    Network A

    10.0.0.0

  • Route Lab Manual

    - 43 -

    RA (config)#access-list 1 permit 10.0.0.0 0.255.255.255 RA(config)#route-map test permit 10 RA(config-route-map)#match ip address 1 RA(config-route-map)#set ip next-hop verify-availability 16.0.0.2 10 track 123 RA(config-route-map)#set ip next-hop verify-availability 15.0.0.2 20 track 124 RA (config)#interface FastEthernet0/0 RA (config-if)#no ip route-cache RA (config-if)#ip policy route-map test RA (config)#interface FastEthernet0/1 RA (config-if)#no ip route-cache RA (config-if)#interface Serial0/0/0 RA (config-if)#no ip route-cache ISP-1 ISP-1(config)# ip route 10.0.0.0 255.0.0.0 15.0.0.1 ISP-2 ISP-2(config)# ip route 10.0.0.0 255.0.0.0 16.0.0.1 Verifying Commands RA # show route-map RA # clear ip cef * prefix-statistics

  • Route Lab Manual

    - 44 -

    RA RB S0 13.0.0.2

    S0 13.0.0.1

    L1 192.168.25.1/24

    L0 192.168.24.1/24

    OFF-set list Router A RouterA(config)#router rip RouterA(config-router)#network 13.0.0.0 RouterA(config-router)#network 192.168.24.0 RouterA(config-router)#network 192.168.25.0 Router B RouterB(config)#Access-list 1 permit 192.168.24.0 RouterB(config)#router rip RouterB(config-router)#network 13.0.0.0 RouterB(config-router)#off-set list 1 in 5 serial 0 Verifying Commands Router# show ip route Router# clear ip route *

  • Route Lab Manual

    - 45 -

    Configuring External BGP Session

    Router A RouterA(config)#router bgp 10 RouterA(config-router)#neighbor 13.0.0.2 remote-as 20 RouterA(config-router)#network 11.0.0.0 Router C RouterC(config)#router bgp 20 RouterC(config-router)#neighbor 13.0.0.1 remote-as 10 RouterC(config-router)#network 12.0.0.0 Verifying Commands Router#show ip bgp neighbors Router#show ip bgp Router#clear ip bgp * Router#show ip route Router#clear ip route * Router#show ip protocols

    Lo0 11.0.0.1

    S0 13.0.0.1

    Lo0 12.0.0.1

    S0

    13.0.0.2

    AS 10 AS 20

    RA RC

  • Route Lab Manual

    - 46 -

    Configuring Internal BGP Session

    Router A RouterA(config)#router bgp 10 RouterA(config-router)#neighbor 13.0.0.2 remote-as 10 RouterA(config-router)#no synchronization RouterA(config-router)#network 11.0.0.0 Router C RouterC(config)#router bgp 10 RouterC(config-router)#neighbor 13.0.0.1 remote-as 10 RouterC(config-router)#no synchronization RouterC(config-router)#network 12.0.0.0 Verifying Commands Router#show ip bgp neighbors Router#show ip bgp Router#show ip route Router#clear ip route * Router#clear ip bgp *

    Lo0 11.0.0.1

    S0 13.0.0.1

    Lo0 12.0.0.1

    S0

    13.0.0.2

    AS 10

    RA RC

  • Route Lab Manual

    - 47 -

    RA Lo0 15.0.0.1

    S0 13.0.0.1

    Lo0 16.0.0.1

    S0

    13.0.0.2

    AS 10 AS 20

    RC

    Configuring BGP With Update-Source & Ebgp Multihop

    Commands

    Router A RouterA(config)#ip route 16.0.0.0 255.0.0.0 s0 RouterA(config)#router bgp 10 RouterA(config-route)# neighbor 16.0.0.1 remote-as 20 RouterA(config-route)# neighbor 16.0.0.1 update-source Loopback0 RouterA(config-route)# neighbor 16.0.0.1 ebgp-multihop 2 Router C RouterC(config)#ip route 15.0.0.0 255.0.0.0 s0 RouterC(config)# router bgp 20 RouterC(config-route)# neighbor 15.0.0.1 remote-as 10 RouterC(config-route)# neighbor 15.0.0.1 update-source Loopback0 RouterC(config-route)# neighbor 15.0.0.1 ebgp-multihop 2 Verifying Commands Router#show ip bgp neighbors Router#show ip bgp Router#clear ip bgp * Router#show ip route Router#clear ip route * Router#show ip protocols

  • Route Lab Manual

    - 48 -

    Configuring NEXT-HOP-SELF in BGP

    Router A RouterA(config)#router bgp 10 RouterA(config-router)#neighbor 13.0.0.2 remote-as 20 RouterA(config-router)#network 11.0.0.0 Router C RouterC(config)#router bgp 20 RouterC(config-router)#no synchronization RouterC(config-router)#neighbor 13.0.0.1 remote-as 10 RouterC(config-router)#neighbor 12.0.0.2 remote-as 20 RouterC(config-router)#neighbor 12.0.0.2 next-hop-self

    Router D RouterD(config)#router bgp 20 RouterD(config-router)#neighbor 12.0.0.1 remote-as 20 RouterD(config-router)#no synchronization RouterD(config-router)#network 14.0.0.0

    E0

    12.0.0.2 RA

    Lo0 11.0.0.1

    S0 13.0.0.1

    AS 10 AS 20

    S0

    13.0.0.2

    E0 12.0.0.1

    Lo0 14.0.0.1

    RD RC

  • Route Lab Manual

    - 49 -

    Verifying Commands Router#show ip bgp neighbors Router#show ip bgp Router#clear ip bgp * Router#show ip route Router#clear ip route * Router#show ip protocols

  • Route Lab Manual

    - 50 -

    L0 1.0.0.1 L1 2.0.0.1

    E0 11.0.0.1

    S0 13.0.0.1

    RA

    E0 12.0.0.1

    S0 13.0.0.2

    S0 14.0.0.2

    S0 14.0.0.1

    E0 12.0.0.2

    E0 11.0.0.2

    AS 20

    AS 10

    RB

    RC

    RD

    Route 2.0.0.0 = 200 (Local-Preference) Route 1.0.0.0 = 100 (Local-Preference)

    Configuring Route Map In Bgp

    Router A RouterA(config)#router bgp 10 RouterA(config-router)#network 1.0.0.0 RouterA(config-router)#network 2.0.0.0 RouterA(config-router)#neighbor 11.0.0.2 remote-as 20 RouterA(config-router)#neighbor 13.0.0.2 remote-as 20 Router B RouterB(config)#router bgp 20 RouterB(config-router)#neighbor 11.0.0.1 remote-as 10 RouterB(config-router)#neighbor 14.0.0.2 remote-as 20 RouterB(config-router)#neighbor 14.0.0.2 next-hop-self RouterB(config-router)#neighbor 14.0.0.2 route-map test out RouterB(config-router)#no synchronization RouterB(config)#access-list 1 permit 2.0.0.0 0.0.0.0

  • Route Lab Manual

    - 51 -

    RouterB(config)#route-map test permit 10 RouterB(config-route-map)#match ip address 1 RouterB(config-route-map)#set local-preference 200 RouterB(config)#route-map test permit 20 RouterB(config-route-map)#set local-preference 100 Router C RouterC(config)#router bgp 20 RouterC(config-router)#neighbor 13.0.0.1 remote-as 10 RouterC(config-router)#neighbor 12.0.0.2 remote-as 20 RouterC(config-router)#neighbor 12.0.0.2 next-hop-self RouterC(config-router)#no synchronization Router D RouterD(config)# router bgp 20 RouterD(config-router)#neighbor 12.0.0.1 remote-as 20 RouterD(config-router)#neighbor 14.0.0.1 remote-as 20 RouterD(config-router)#no synchronization Verifying Commands Router#show ip bgp neighbors Router#show ip bgp Router#clear ip bgp * Router#show ip route

  • Route Lab Manual

    - 52 -

    PC 1 10.0.0.1 /8 10 : : 1

    PC 2 20.0.0.1 /8

    20 : : 1

    2811 Fe0/1 10.0.0.10 /8 10 : : 10 / 64

    Fe0/0 13.0.0.1 / 8 13 : : 1 / 64

    Fe 0 20.0.0.10 /8

    20 : : 10 / 64

    871

    Fe 4 13.0.0.2 /8

    13 : : 2 / 64

    Configuring Dual Stacking & Static Routing Requirements

    PC1 and PC2 running Win2003 Operating System. 2811 and 871 routers with IOS 12.4 (Advance IP Services).

    Configuration Step 1: Install IPv6 protocol feature on both PCs. C :\> netsh interface ipv6 install Step 2: Assign ipv4 addresses on both PCs as shown in the figure. Step 3(A): Assign ipv6 address & default-gateway on PC 1 as shown in the figure. (First note the Index no. for Local Area Connection by following command) C :\> netsh

  • Route Lab Manual

    - 53 -

    netsh > interface netsh interface > ipv6 netsh interface ipv6 > sh int Note index no. for Local Area Connection (e.g. 4) (Then assign IPv6 address by following command with index no. as 4) netsh interface ipv6 > add address 4 10::1 (Setting Default-Gateway) netsh interface ipv6 add route ::/0 4 10::10 Step 3(B): Assign ipv6 address & default-gateway on PC 2 as shown in the figure. (First note the Index no. for Local Area Connection by following command) C :\> netsh netsh > interface netsh interface > ipv6 netsh interface ipv6 > sh int Note index no. for Local Area Connection (e.g. 4) (Then assign IPv6 address by following command with index no. as 4) netsh interface ipv6 > add address 4 20::1 (Setting Default-Gateway) netsh interface ipv6 add route ::/0 4 20::10 Step 4: Verify ipv4 & ipv6 addresses on both PCs C :\> ipconfig (If required addresses are not displayed use the following commands) netsh interface ipv6 > release netsh interface ipv6 > renew Step 5(A): Assign ipv4 address on 2811 router. Step 5(B): Assign ipv4 address on 871 router. Step 6(A): Define Static route on 2811 router for network 20.0.0.0 in IPv4 format. Step 6(B): Define Static route on 871 router for network 10.0.0.0 in IPv4 format. Step 7: Verify end to end connectivity by pinging to and from PC 1 & PC2 vicecersa (using IPv4 addresses). Step 8: Enable IPv6 routing on 2811 router.

  • Route Lab Manual

    - 54 -

    2811(config) # ipv6 unicast-routing Step 9(A): On 2811, enable IPv6 on interface FastEthernet0/1 & assign IPv6 address. 2811(config) #interface FastEthernet0/1 2811(config-if) # ipv6 enable 2811(config-if) # ipv6 address 10::10/64 Step 9(B): On 2811, enable IPv6 on interface FastEthernet0/0 & assign IPv6 address. 2811(config) #interface FastEthernet0/0 2811(config-if) # ipv6 enable 2811(config-if) # ipv6 address 13::1/64 Step 10: Enable IPv6 routing on 871 router. 871(config) # ipv6 unicast-routing Step 11(A): On 871, enable IPv6 on interface FastEthernet4 & assign IPv6 address. 871(config) #interface FastEthernet4 871(config-if) # ipv6 enable 871(config-if) # ipv6 address 13::2/64 Step 11(B): On 871, enable IPv6 on interface FastEthernet0 & assign IPv6 address. 871(config) #interface vlan 1 871(config-vlan) # ipv6 enable 871(config-vlan) # ipv6 address 20::10/64 Step 12(A): Define Static route on 2811 router for network 20:: in IPv6 format. 2811(config) # ipv6 route 20::/64 13::2 Step 12(B): Define Static route on 871 router for network 10:: in IPv6 format. 871(config) # ipv6 route 10::/64 13::1 Step 13(A): Verify end to end connectivity by pinging to and from PC 1 & PC2 vicecersa (using IPv6 addresses). Step 13(B): Verify by displaying IPv6 routing table on both routers. 2811 # show ipv6 route 871 # show ipv6 route

  • Route Lab Manual

    - 55 -

    PC 1 10 : : 1

    PC 2 20 : : 1

    2811 Fe0/1 10 : : 10 / 64

    Fe0/0 13 : : 1 / 64

    Fe 4

    13 : : 2 / 64

    Fe 0 20 : : 10 / 64

    871

    Configuring RIP for IPV6

    Requirements

    PC1 and PC2 running Win2003 Operating System. 2811 and 871 routers with IOS 12.4 (Advance IP Services).

    Configuration Step 1: Install & Assign IPv6 addresses and default-gateways on both PCs as per diagram. Step 2: Enable IPv6 routing on 2811 router. 2811(config) # ipv6 unicast-routing Step 3(A): On 2811, enable IPv6 on interface FastEthernet0/1 & assign IPv6 address. 2811(config) #interface FastEthernet0/1 2811(config-if) # ipv6 enable 2811(config-if) # ipv6 address 10::10/64 Step 3(B): On 2811, enable IPv6 on interface FastEthernet0/0 & assign IPv6 address. 2811(config) #interface FastEthernet0/0 2811(config-if) # ipv6 enable 2811(config-if) # ipv6 address 13::1/64 Step 4: Configure RIP on 2811 router. 2811(config) # ipv6 router rip test

  • Route Lab Manual

    - 56 -

    Step 5(A): Enable RIP on interface FastEthernet0/1 on 2811. 2811(config) #interface FastEthernet0/1 2811(config-if) # ipv6 rip test enable Step 5(B): Enable RIP on interface FastEthernet0/0 on 2811. 2811(config) #interface FastEthernet0/0 2811(config-if) # ipv6 rip test enable Step 6: Enable IPv6 routing on 871 router. 871(config) # ipv6 unicast-routing Step 7(A): On 871, enable IPv6 on interface FastEthernet4 & assign IPv6 address. 871(config) #interface FastEthernet4 871(config-if) # ipv6 enable 871(config-if) # ipv6 address 13::2/64 Step 7(B): On 871, enable IPv6 on interface FastEthernet0 & assign IPv6 address. 871(config) #interface vlan 1 871(config-vlan) # ipv6 enable 871(config-vlan) # ipv6 address 20::10/64 Step 8: Configure RIP on 871 router. 871 (config) # ipv6 routers rip test Step 9(A): Enable RIP on interface FastEthernet4 on 871. 871 (config) #interface F4 871 (config-if) # ipv6 rip test enable Step 9(B): Enable RIP on interface FastEthernet0 on 871. 871 (config) #interface vlan 1 871 (config-if) # ipv6 rip test enable Step 10(A): Verify end to end connectivity by pinging to and from PC 1 & PC2 vicecersa (using IPv6 addresses). Step 10(B): Verify by displaying IPv6 routing table on both routers. 2811 # show ipv6 route 871 # show ipv6 route

  • Route Lab Manual

    - 57 -

    PC 1 10 : : 1

    PC 2 20 : : 1

    2811Fe0/1 10 : : 10 / 64

    Fe 4 13 : : 2 / 64

    Fe 0 20 : : 10 / 64

    Fe0/0 13 : : 1 / 64 871

    Configuring OSPF for IPV6

    Requirements

    PC1 and PC2 running Win2003 Operating System. 2811 and 871 routers with IOS 12.4 (Advance IP Services).

    Configuration Step 1: Install & Assign IPv6 addresses and default-gateways on both PCs as per diagram. Step 4: Enable IPv6 routing on 2811 router. 2811(config) # ipv6 unicast-routing Step 5(A): On 2811, enable IPv6 on interface FastEthernet0/1 & assign IPv6 address. 2811(config) #interface FastEthernet0/1 2811(config-if) # ipv6 enable 2811(config-if) # ipv6 address 10::10/64 Step 5(B): On 2811, enable IPv6 on interface FastEthernet0/0 & assign IPv6 address. 2811(config) #interface FastEthernet0/0 2811(config-if) # ipv6 enable 2811(config-if) # ipv6 address 13::1/64 Step 6: Configure OSPF on 2811 router. 2811(config) # ipv6 router ospf 64

    OSPF Area 0

  • Route Lab Manual

    - 58 -

    Step 7(A): Enable OSPF on interface FastEthernet0/1 on 2811. 2811(config) #interface FastEthernet0/1 2811(config-if) # ipv6 ospf 64 area 0 Step 7(B): Enable OSPF on interface FastEthernet0/0 on 2811. 2811(config) #interface FastEthernet0/0 2811(config-if) # ipv6 ospf 64 area 0 Step 8: Enable IPv6 routing on 871 router. 871(config) # ipv6 unicast-routing Step 9(A): On 871, enable IPv6 on interface FastEthernet4 & assign IPv6 address. 871(config) #interface FastEthernet4 871(config-if) # ipv6 enable 871(config-if) # ipv6 address 13::2/64 Step 9(B): On 871, enable IPv6 on interface FastEthernet0 & assign IPv6 address. 871(config) #interface vlan 1 871(config-vlan) # ipv6 enable 871(config-vlan) # ipv6 address 20::10/64 Step 10: Configure OSPF on 871 router. 871 (config) # ipv6 router ospf 64 Step 11(A): Enable OSPF on interface FastEthernet4 on 871. 871 (config) #interface F4 871 (config-if) # ipv6 ospf 64 area 0 Step 11(B): Enable OSPF on interface FastEthernet0 on 871. 871 (config) #interface vlan 1 871 (config-if) ipv6 ospf 64 area 0 Step 12(A): Verify end to end connectivity by pinging to and from PC 1 & PC2 vicecersa (using IPv6 addresses). Step 12(B): Verify by displaying IPv6 routing table on both routers. 2811 # show ipv6 route 871 # show ipv6 route