1_IPv4OSPF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 67

Configuring OSPF for IPv4 Networks

Authored By:

Khawar Butt
CCIE # 12353
Hepta CCIE#12353 OSPF Fundamentals
CCDE # 20110020

Netmetric Solutions
(c) KBITS Live | https://kbits.live
Http://www.Netmetric-Solutions.com 1 of 67
Lab 1 – Initializing EIGRP

Interface Configuration

R9

Interface IP Address Subnet Mask


E 0/0 192.1.89.9 255.255.255.0
E 0/1 192.1.90.9 255.255.255.0
Loopback1 9.9.9.9 255.0.0.0

R10

Interface IP Address Subnet Mask


E 0/0 192.1.90.10 255.255.255.0
Loopback1 10.10.10.10 255.0.0.0

Task 1 – Configure EIGRP AS 111 between R9 & R10.

o Configure the Interfaces based on the Interface Configuration


Table.
o Run EIGRP in EIGRP 111.
o Enable EIGRP on the 2 Loopbacks and the link between R9 & R10.

(c) KBITS Live | https://kbits.live


2 of 67
R9

Hostname R9
!
Interface E 0/0
Ip address 192.1.89.9 255.255.255.0
No shut
!
Interface E 0/1
ip address 192.1.90.9 255.255.255.0
no shut
!
Interface Loopback1
ip address 9.9.9.9 255.0.0.0
!
router eigrp 111
network 192.1.90.0
network 9.0.0.0
R10

Hostname R10
!
Interface E 0/0
ip address 192.1.90.10 255.255.255.0
no shut
!
Interface Loopback1
ip address 10.10.10.10 255.0.0.0
!
router eigrp 111
network 192.1.90.0
network 10.0.0.0

(c) KBITS Live | https://kbits.live


3 of 67
Lab 2 – Configuring OSPF in Area 0

Interface Configuration

R7

Interface IP Address Subnet Mask


E 0/0 192.1.67.7 255.255.255.0
E 0/1 192.1.78.7 255.255.255.0
Loopback1 7.7.7.7 255.0.0.0

R8

Interface IP Address Subnet Mask


E 0/0 192.1.78.8 255.255.255.0
E 0/1 192.1.89.8 255.255.255.0
Loopback1 8.8.8.8 255.0.0.0

Task 1 – Configure R7, R8 & R9 in OSPF Area 0.

o Configure the Interface based on the Interface Configuration Table.


o Configure R7, R8 & R9 in OSPF Area 0.
o Enable OSPF on the Loopbacks on R7 & R8 and the links between
R7, R8 & R9.
o Configure the Router-ID as 0.0.0.X where X is the router number.

(c) KBITS Live | https://kbits.live


4 of 67
R7

Hostname R7
!
Interface E 0/0
ip address 192.1.67.7 255.255.255.0
no shut
!
Interface E 0/1
ip address 192.1.78.7 255.255.255.0
no shut
!
Interface Loopback1
ip address 7.7.7.7 255.0.0.0
!
router ospf 1
router-id 0.0.0.7
network 192.1.78.0 0.0.0.255 area 0
network 7.0.0.0 0.255.255.255 area 0
R8

Hostname R8
!
Interface E 0/0
ip address 192.1.78.8 255.255.255.0
no shut
!
Interface E 0/1
Ip address 192.1.89.8 255.255.255.0
No shut
!
Interface Loopback1
ip address 8.8.8.8 255.0.0.0
!
router ospf 1
router-id 0.0.0.8
network 192.1.78.0 0.0.0.255 area 0
network 192.1.89.0 0.0.0.255 area 0
network 8.0.0.0 0.255.255.255 area 0
R9

router ospf 1
router-id 0.0.0.9
network 192.1.89.0 0.0.0.255 area 0

(c) KBITS Live | https://kbits.live


5 of 67
Task 2 – Configure Mutual Route Redistribution on R9 between
EIGRP AS 111 and OSPF

o Redistribute EIGRP and OSPF on R9.


o Use “10 10 10 10 10” as the metrics for EIGRP.
o Use the default metrics for OSPF.

R9

router ospf 1
redistribute eigrp 111
!
Router eigrp 111
Redistribute ospf 1 metric 10 10 10 10 10

(c) KBITS Live | https://kbits.live


6 of 67
Lab 3 – Configuring OSPF in Area 10

Interface Configuration

R1

Interface IP Address Subnet Mask


E 0/0 192.1.100.1 255.255.255.0
Loopback1 1.1.1.1 255.0.0.0

R2

Interface IP Address Subnet Mask


E 0/0 192.1.100.2 255.255.255.0
S 1/0 192.1.101.2 255.255.255.0
Loopback1 2.2.2.2 255.0.0.0

R3

Interface IP Address Subnet Mask


E 0/0 192.1.100.3 255.255.255.0
E 0/1 192.1.103.3 255.255.255.0
Loopback1 3.3.3.3 255.0.0.0

(c) KBITS Live | https://kbits.live


7 of 67
R4

Interface IP Address Subnet Mask


E 0/0 192.1.103.4 255.255.255.0
S 1/0 192.1.102.4 255.255.255.0
Loopback1 4.4.4.4 255.0.0.0

R5

Interface IP Address Subnet Mask


S 1/0 192.1.101.5 255.255.255.0
S 1/1 192.1.102.5 255.255.255.0
Loopback1 5.5.5.5 255.0.0.0

R6

Interface IP Address Subnet Mask


E 0/0 192.1.103.6 255.255.255.0
E 0/1 192.1.67.6 255.255.255.0
Loopback1 6.6.6.6 255.0.0.0

Task 1 – Configure R1 – R7 in OSPF Area 0.

o Configure the Interface based on the Interface Configuration Table.


o Configure the R2-R5 link as HDLC. Configure the R4-R5 link as
PPP.
o Configure R1 – R7 in OSPF Area 0.
o Enable OSPF on the Loopbacks on R1 – R6 and the links between
per the diagram.
o Configure the Router-ID as 0.0.0.X where X is the router number.

R1

Hostname R1
!
Interface E 0/0
ip address 192.1.100.1 255.255.255.0
no shut
!
Interface Loopback1
ip address 1.1.1.1 255.0.0.0
!
router ospf 1

(c) KBITS Live | https://kbits.live


8 of 67
router-id 0.0.0.1
network 192.1.100.0 0.0.0.255 area 10
network 1.0.0.0 0.255.255.255 area 10
R2

Hostname R2
!
Interface E 0/0
ip address 192.1.100.2 255.255.255.0
no shut
!
Interface S 1/0
Ip address 192.1.101.2 255.255.255.0
No shut
!
Interface Loopback1
ip address 2.2.2.2 255.0.0.0
!
router ospf 1
router-id 0.0.0.2
network 192.1.100.0 0.0.0.255 area 10
network 192.1.101.0 0.0.0.255 area 10
network 2.0.0.0 0.255.255.255 area 10
R3

Hostname R3
!
Interface E 0/0
ip address 192.1.100.3 255.255.255.0
no shut
!
Interface E 0/1
Ip address 192.1.103.3 255.255.255.0
No shut
!
Interface Loopback1
ip address 3.3.3.3 255.0.0.0
!
router ospf 1
router-id 0.0.0.3
network 192.1.100.0 0.0.0.255 area 10
network 192.1.103.0 0.0.0.255 area 10
network 3.0.0.0 0.255.255.255 area 10

(c) KBITS Live | https://kbits.live


9 of 67
R4

Hostname R4
!
Interface E 0/0
ip address 192.1.103.4 255.255.255.0
no shut
!
Interface S 1/0
Ip address 192.1.102.4 255.255.255.0
Encapsulation ppp
No shut
!
Interface Loopback1
ip address 4.4.4.4 255.0.0.0
!
router ospf 1
router-id 0.0.0.4
network 192.1.102.0 0.0.0.255 area 10
network 192.1.103.0 0.0.0.255 area 10
network 4.0.0.0 0.255.255.255 area 10
R5

Hostname R5
!
Interface S 1/0
ip address 192.1.101.5 255.255.255.0
no shut
!
Interface S 1/1
Ip address 192.1.102.5 255.255.255.0
Encapsulation ppp
No shut
!
Interface Loopback1
ip address 5.5.5.5 255.0.0.0
!
router ospf 1
router-id 0.0.0.5
network 192.1.101.0 0.0.0.255 area 10
network 192.1.102.0 0.0.0.255 area 10
network 5.0.0.0 0.255.255.255 area 10

(c) KBITS Live | https://kbits.live


10 of 67
R6

Hostname R6
!
Interface E 0/0
ip address 192.1.103.6 255.255.255.0
no shut
!
Interface E 0/1
Ip address 192.1.67.7 255.255.255.0
No shut
!
Interface Loopback1
ip address 6.6.6.6 255.0.0.0
!
router ospf 1
router-id 0.0.0.6
network 192.1.103.0 0.0.0.255 area 10
network 192.1.67.0 0.0.0.255 area 10
network 6.0.0.0 0.255.255.255 area 10
R7

router ospf 1
network 192.1.67.0 0.0.0.255 area 10
R11

router ospf 1
router-id 0.0.0.11
network 192.1.100.0 0.0.0.255 area 10
network 11.0.0.0 0.255.255.255 area 10

(c) KBITS Live | https://kbits.live


11 of 67
Lab 4 – OSPF – Passive Interfaces
Note: It builds on the topology created in the previous lab.

(c) KBITS Live | https://kbits.live


12 of 67
Task 1 – Configure Passive-Interface on Routers in OSPF.

o Configure all routers in OSPF such that they do not send updates
on links that do not have other routers, basically Loopbacks.

R1 R2

router ospf 1 router ospf 1


passive-interface Loopback0 passive-interface Loopback0
R3 R4

router ospf 1 router ospf 1


passive-interface Loopback0 passive-interface Loopback0
R5 R6

router ospf 1 router ospf 1


passive-interface Loopback0 passive-interface Loopback0
R7 R8

router ospf 1 router ospf 1


passive-interface Loopback0 passive-interface Loopback0
R9

router ospf 1
passive-interface Loopback0

(c) KBITS Live | https://kbits.live


13 of 67
Lab 5 – OSPF – Metric Calculations
Note: It builds on the topology created in the previous lab.

Task 1 – Change the OSPF reference bandwidth on all Routers

o Configure the OSPF Reference Bandwidht on all OSPF routers to


10Gbps.
o Configure the Serial link between R2 & R5 as 2 Mbps.
o Configure the Serial link between R4 & R5 as 1 Mbps.

R1

Router ospf 1
auto-cost reference-bandwidth 10000
R2

Router ospf 1
auto-cost reference-bandwidth 10000
!
Interface S 1/0
Bandwidth 2048

(c) KBITS Live | https://kbits.live


14 of 67
R3

Router ospf 1
auto-cost reference-bandwidth 10000
R4

Router ospf 1
auto-cost reference-bandwidth 10000
!
Interface S 1/0
Bandwidth 1024
R5

Router ospf 1
auto-cost reference-bandwidth 10000
!
Interface S 1/0
Bandwidth 2048
!
Interface S 1/1
Bandwidth 1024
R6

Router ospf 1
auto-cost reference-bandwidth 10000
R7

Router ospf 1
auto-cost reference-bandwidth 10000
R8

Router ospf 1
auto-cost reference-bandwidth 10000
R9

Router ospf 1
auto-cost reference-bandwidth 10000

(c) KBITS Live | https://kbits.live


15 of 67
Lab 6 – OSPF – Multi-Access Segment
Note: It builds on the topology created in the previous lab.

Task 1 – Configuring DR/BDR Priorities

o R1 should be the preferred router for the DR role in case of a


DR/BDR election on the 192.1.100.0/24 network. R2 should be
second in line for the DR role.
o R3 should be the preferred router for the DR role in case of a
DR/BDR election on the 192.1.103.0/24 network. R4 should be
second in line for the DR role.

R1

Interface E 0/0
Ip ospf priority 255
R2

Interface E 0/0
Ip ospf priority 250

(c) KBITS Live | https://kbits.live


16 of 67
R3

Interface E 0/1
Ip ospf priority 255
R4

Interface E 0/0
Ip ospf priority 250

(c) KBITS Live | https://kbits.live


17 of 67
Lab 7 – OSPF – Point – To – Point
Segment
Note: It builds on the topology created in the previous lab.

Task 1 – Configure R6-R7 to act as a Point – To – Point Link.

o Configure the link between R6 and R7 such that it brings the OSPF
relationship without the DR/BDR election. This optimizes the
convergence times in OSPF on a Ethernet segment that is
connected in a Point-to-Point manner.

R6

Interface E 0/1
Ip ospf network point-to-point
R7

Interface E 0/0
Ip ospf network Point-t-point

(c) KBITS Live | https://kbits.live


18 of 67
Lab 8 – OSPF – Loopback Interface
Note: It builds on the topology created in the previous lab.

Task 1 – Configuring Loopback Interfaces

o The Loopback interface is getting advertised as a /32 route.


o Configure all the loopbacks as Point-to-Point link so that they get
advertised based on the interface mask.

R1

Interface Loopback0
Ip ospf network point-to-point
R2

Interface Loopback0
Ip ospf network point-to-point
R3

Interface Loopback0
Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


19 of 67
R4

Interface Loopback0
Ip ospf network point-to-point
R5

Interface Loopback0
Ip ospf network point-to-point
R6

Interface Loopback0
Ip ospf network point-to-point
R7

Interface Loopback0
Ip ospf network point-to-point
R8

Interface Loopback0
Ip ospf network point-to-point
R9

Interface Loopback0
Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


20 of 67
Lab 9 – OSPF – Unicast Neighbors
Note: It builds on the topology created in the previous lab.

Task 1 – Configure Unicast OSPF in Area 0 between the routers.

o Configure the neighbor relationship between R7 and R8 to be


Unicast-based.
o Configure the neighbor relationship between R8 and R9 to be
Unicast-based.

R7 R8

Interface E 0/1 Interface E 0/0


Ip ospf network non-broadcast Ip ospf network non-broadcast
! !
router ospf 1 Interface E 0/1
neighbor 192.1.78.8 Ip ospf network non-broadcast
!
router ospf 1
neighbor 192.1.78.7
neighbor 192.1.89.9

(c) KBITS Live | https://kbits.live


21 of 67
R9

Interface E 0/0
Ip ospf network non-broadcast
!
router ospf 1
neighbor 192.1.89.8

(c) KBITS Live | https://kbits.live


22 of 67
Configuring OSPF for IPv4 Networks

Authored By:

Khawar Butt
CCIE # 12353
Hepta CCIE#12353
CCDE # 20110020 OSPF Multi-Area & Multi-Domain
Functionalities

(c) KBITS Live | https://kbits.live


Netmetric Solutions 23 of 67
Http://www.Netmetric-Solutions.com
Lab 1 – Configuring a Multi-Area / Multi-
Domain Topology

Interface IP Address Configuration

R1

Interface IP Address Subnet Mask


Loopback 0 1.1.1.1 255.0.0.0
Loopback 1 11.11.11.11 255.0.0.0
E 0/0 192.1.12.1 255.255.255.0
E 0/1 192.1.13.1 255.255.255.0
E 0/2 192.1.17.1 255.255.255.0
E 0/3 192.1.18.1 255.255.255.0

R2

Interface IP Address Subnet Mask


Loopback 0 2.2.2.2 255.0.0.0
Loopback 1 22.22.22.22 255.0.0.0
E 0/0 192.1.12.2 255.255.255.0
E 0/1 192.1.24.2 255.255.255.0

(c) KBITS Live | https://kbits.live


24 of 67
R3

Interface IP Address Subnet Mask


Loopback 0 3.3.3.3 255.0.0.0
Loopback 1 33.33.33.33 255.0.0.0
E 0/0 192.1.13.3 255.255.255.0
E 0/1 192.1.35.3 255.255.255.0
R4

Interface IP Address Subnet Mask


Loopback 0 4.4.4.4 255.0.0.0
E 0/0 192.1.24.4 255.255.255.0
E 0/1 192.1.40.4 255.255.255.0

R5

Interface IP Address Subnet Mask


Loopback 0 5.5.5.5 255.0.0.0
E 0/0 192.1.35.5 255.255.255.0
E 0/1 192.1.56.5 255.255.255.0

R6

Interface IP Address Subnet Mask


Loopback 0 6.6.6.6 255.0.0.0
Loopback 1 66.66.66.66 255.0.0.0
E 0/0 192.1.56.6 255.255.255.0
E 0/1 192.1.69.6 255.255.255.0
R7

Interface IP Address Subnet Mask


Loopback 0 7.7.7.7 255.0.0.0
Loopback 1 107.7.72.1 255.255.255.0
Loopback 2 107.7.73.1 255.255.255.0
Loopback 3 107.7.74.1 255.255.255.0
Loopback 4 107.7.75.1 255.255.255.0
E 0/0 192.1.17.7 255.255.255.0

R8

Interface IP Address Subnet Mask


Loopback 0 8.8.8.8 255.0.0.0
Loopback 1 88.88.88.88 255.0.0.0
E 0/0 192.1.18.8 255.255.255.0

(c) KBITS Live | https://kbits.live


25 of 67
R9

Interface IP Address Subnet Mask


Loopback 0 9.9.9.9 255.0.0.0
Loopback 1 99.99.99.99 255.0.0.0
E 0/0 192.1.69.9 255.255.255.0
R10

Interface IP Address Subnet Mask


Loopback 0 10.10.10.10 255.0.0.0
E 0/0 192.1.40.10 255.255.255.0
E 0/1 192.1.110.10 255.255.255.0

R11

Interface IP Address Subnet Mask


Loopback 0 111.111.100.11 255.255.255.0
Loopback 1 111.111.101.11 255.255.255.0
Loopback 2 111.111.102.11 255.255.255.0
Loopback 3 111.111.103.11 255.255.255.0
E 0/0 192.1.110.11 255.255.255.0

Task 1
Configure OSPF in Area 0 between R1, R2 & R3. Besides the physical
links, enable the Loopback 0 interfaces of all 3 routers in Area 0.
Loopbacks should be advertised with the Interface Mask. Hard Code the
Router-id based on the following:
R1 – 0.0.0.1
R2 – 0.0.0.2
R3 – 0.0.0.3

R1 R2

Router OSPF 1 Router OSPF 1


Router-id 0.0.0.1 Router-id 0.0.0.2
Network 1.0.0.0 0.255.255.255 area 0 Network 2.0.0.0 0.255.255.255 area 0
Network 192.1.12.0 0.0.0.255 area 0 Network 192.1.12.0 0.0.0.255 area 0
Network 192.1.13.0 0.0.0.255 area 0 !
! Interface Loopback0
Interface Loopback0 Ip ospf network point-to-point
Ip ospf network point-to-point
R3

Router OSPF 1

(c) KBITS Live | https://kbits.live


26 of 67
Router-id 0.0.0.3
Network 3.0.0.0 0.255.255.255 area 0
Network 192.1.13.0 0.0.0.255 area 0
!
Interface Loopback0
Ip ospf network point-to-point

Task 2
Configure OSPF in Area 10 between R2, R4, R10 & R11. Besides the
physical links, enable the Loopback 1 interface on R2 and all the
loopbacks of the other 3 routers in Area 10. Loopbacks should be
advertised with the Interface Mask. Hard Code the Router-id based on
the following:
R4 – 0.0.0.4
R10 – 0.0.0.10
R11 – 0.0.0.11

R2 R4

Router OSPF 1 Router OSPF 1


Network 192.1.24.0 0.0.0.255 area 10 Router-id 0.0.0.4
Network 4.0.0.0 0.255.255.255 area 10
Network 192.1.24.0 0.0.0.255 area 10
Network 192.1.40.0 0.0.0.255 area 10
!
Interface Loopback0
Ip ospf network point-to-point
R10 R11

Router OSPF 1 Router OSPF 1


Router-id 0.0.0.10 Router-id 0.0.0.11
Network 10.0.0.0 0.255.255.255 area 10 Network 111.111.0.0 0.0.255.255 area 10
Network 192.1.40.0 0.0.0.255 area 10 Network 192.1.110.0 0.0.0.255 area 10
Network 192.1.110.0 0.0.0.255 area 10 !
! Interface Loopback0
Interface Loopback0 Ip ospf network point-to-point
Ip ospf network point-to-point !
Interface Loopback1
Ip ospf network point-to-point
!
Interface Loopback2
Ip ospf network point-to-point
!
Interface Loopback3
Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


27 of 67
Task 3
Configure OSPF in Area 20 between R3, R5 & R6. Besides the physical
links, enable the Loopback 0 interface on R3 & R6 and all the loopbacks
on R5 in Area 20. Loopbacks should be advertised with the Interface
Mask. Hard Code the Router-id based on the following:
R5 – 0.0.0.5
R6 – 0.0.0.6

R5 R5

Router OSPF 1 Router OSPF 1


Network 192.1.35.0 0.0.0.255 area 20 Router-id 0.0.0.5
Network 5.0.0.0 0.255.255.255 area 20
Network 192.1.35.0 0.0.0.255 area 20
Network 192.1.56.0 0.0.0.255 area 20
!
Interface Loopback0
Ip ospf network point-to-point
R6

Router OSPF 1
Router-id 0.0.0.6
Network 6.0.0.0 0.255.255.255 area 20
Network 192.1.56.0 0.0.0.255 area 20
!
Interface Loopback0
Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


28 of 67
Task 4
Configure EIGRP is AS 111 between R1, R7 & R8. Enable all loopbacks
on R7 & R8 in EIGRP 111. Enable Loopback 1 on R1 in EIGRP 111.

R1 R7

Router EIGRP 111 Router EIGRP 111


Network 192.1.17.0 Network 192.1.17.0
Network 192.1.18.0 Network 7.0.0.0
Network 11.0.0.0 Network 107.0.0.0
R8

Router EIGRP 111


Network 192.1.18.0
Network 8.0.0.0
Network 88.0.0.0

Task 5
Configure EIGRP is AS 222 between R6 & R9. Enable all loopbacks on R9
in EIGRP 222. Enable Loopback 1 on R6 in EIGRP 222.

R6 R9

Router EIGRP 222 Router EIGRP 111


Network 192.1.69.0 Network 192.1.69.0
Network 66.0.0.0 Network 9.0.0.0
Network 99.0.0.0

Task 6
Configure Mutual Redistribution between the appropriate routers to
allow end-to-end connectivity between all routing domains. Use Seed
metric of your choice.

R1 R6

Router ospf 1 Router ospf 1


Redistribute eigrp 111 subnets Redistribute eigrp 222 subnets
! !
Router eigrp 111 Router eigrp 222
Redistribute ospf 1 metric 10 10 10 10 10 Redistribute ospf 1 metric 10 10 10 10 10

(c) KBITS Live | https://kbits.live


29 of 67
Lab 2 – Configuring Inter-Area Route
Summarization

Task 1
Configure Route Summarization on the appropriate ABR to summarize
all the R11 Loopbacks.

R2

Router ospf 1
Area 10 range 111.111.100.0 255.255.252.0

(c) KBITS Live | https://kbits.live


30 of 67
Lab 3 – Configuring External Route
Summarization

Task 1
Configure Route Summarization on the appropriate ASBR to summarize
all the routes from the 107.0.0.0/8 major network towards OSPF. Use
the longest mask for Route Summarization.

R1

Router ospf 1
Summary-address 107.7.72.0 255.255.252.0

(c) KBITS Live | https://kbits.live


31 of 67
Lab 4 – LSA Filtering

Task 1
Configure LSA Filtering such that network 4.0.0.0/8 is not allowed to
leave Area 10.

R2

Ip prefix-list FILTER1 deny 4.0.0.0/8


Ip prefix-list FILTER1 permit 0.0.0.0/0 le 32
!
Router ospf 1
Area 10 filter-list prefix FILTER1 out

(c) KBITS Live | https://kbits.live


32 of 67
Lab 5 – Configuring OSPF Authentication
– Clear Text

Task 1
Configure text authentication on all routers in 10. Use a key-string
cisco.

R2

interface E 0/1
ip ospf authentication
ip ospf authentication-key cisco
R4

interface E 0/0
ip ospf authentication
ip ospf authentication-key cisco
!
interface E 0/1
ip ospf authentication
ip ospf authentication-key cisco
R10

(c) KBITS Live | https://kbits.live


33 of 67
interface E 0/0
ip ospf authentication
ip ospf authentication-key cisco
!
interface E 0/1
ip ospf authentication
ip ospf authentication-key cisco
R11

interface E 0/0
ip ospf authentication
ip ospf authentication-key cisco

(c) KBITS Live | https://kbits.live


34 of 67
Lab 6 – Configuring OSPF Authentication
– MD5

Task 1
Configure the most secure authentication on all routers in Area's 0. Use
a key of 1 and a key-string ccie123.

R1

interface E 0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 ccie123
!
interface E 0/1
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 ccie123
R2

interface E 0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 ccie123
R3

(c) KBITS Live | https://kbits.live


35 of 67
interface E 0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 ccie123

(c) KBITS Live | https://kbits.live


36 of 67
Lab 7 – Configuring OSPF Area Types –
Stub Area

Task 1
Configure Area 10 such that it does not receive any External Routes. It
should maintain connectivity to the External Routes. (Stub Area)

R2 R4

Router ospf 1 Router ospf 1


Area 10 stub Area 10 stub
R10 R11

Router ospf 1 Router ospf 1


Area 10 stub Area 10 stub
Note: The ABR will block the External Routes from EIGRP 111 &
EIGRP 222 from reaching Area 10 Internal Routers. R2 will inject a
default route instead. This is a Stub Area. Verify it on R4, R10 &
R11 by checking the Routing table.

(c) KBITS Live | https://kbits.live


37 of 67
Lab 8 – Configuring OSPF Area Types –
Totally Stubby Area

Task 1
This step is a continuation of Task 1. Area 10 should also block Inter-
Area routes maintaining reachability to them. (Totally Stubby Area)

R2

Router ospf 1
Area 10 stub no-summary
Note: The ABR will block the Inter-Area Routes from getting
propagating into Area 10. Instead R2 will inject a default route
instead. This is a Totally Stubby Area. Verify it on R4, R10 & R11 by
checking the Routing table.

(c) KBITS Live | https://kbits.live


38 of 67
Lab 9 – Configuring OSPF Area Types –
NSSA Area

Task 1
Configure Area 20 such that it does not receive any external routes from
the backbone. The External routes from EIGRP 222 should continue to
be received in Area 20 and propagated into the Backbone. (NSSA Area)

R3

Router ospf 1
Area 20 nssa
R5

Router ospf 1
Area 20 nssa
R6

Router ospf 1
Area 20 nssa
Note: The ABR will block the External routes from the Backbone
(EIGRP). Area 20 will continue to receive the external routes from
EIGRP 222 as N routes. These routes will continue to be propagated
towards the backbone. The ABR will convert the N routes into E

(c) KBITS Live | https://kbits.live


39 of 67
routes as it propagates it into the Backbone. You will receive
reachability to the External Routes from the Backbone as the ABR
does not inject a default route in this configuration.

(c) KBITS Live | https://kbits.live


40 of 67
Lab 10 – Configuring OSPF Area Types –
NSSA Stub Area

Task 1
This step is a continuation of Task 3. Configure Area 20 such that the
previous requirement is maintained but Area 20 should also have
reachability to the external routes from the backbone (EIGRP Routes).
(NSSA-Stub Area)

R3

Router ospf 1
Area 20 stub default-information-originate
Note: This builds on the NSSA area by regaining reachability to the
Backbone external routes. This is done by having the ABR injecting
the default route into Area 20.

(c) KBITS Live | https://kbits.live


41 of 67
Lab 11 – Configuring OSPF Area Types –
NSSA Totally Stubby Area

Task 1
Configure Area 20 such that the Inter-Area routes are also blocked in
addition to the external routes from the backbone. (NSSA-Totally
Stubby Area)

R3

Router ospf 1
Area 20 nssa no-summary

(c) KBITS Live | https://kbits.live


42 of 67
Configuring OSPF for IPv4 Networks

Authored By:

Khawar Butt
CCIE # 12353
Hepta CCIE#12353
CCDE # 20110020 Redistribution with OSPF

(c) KBITS Live | https://kbits.live


Netmetric Solutions 43 of 67
Http://www.Netmetric-Solutions.com
Lab 1 – Configuring the Multi-Domain
Topology

Interface IP Address Configuration

R1

Interface IP Address Subnet Mask


Loopback 0 1.1.1.1 255.0.0.0
Loopback 1 11.11.11.11 255.0.0.0
E 0/0 192.1.12.1 255.255.255.0
E 0/1 192.1.13.1 255.255.255.0
E 0/2 192.1.17.1 255.255.255.0
E 0/3 192.1.18.1 255.255.255.0

R2

Interface IP Address Subnet Mask


Loopback 0 2.2.2.2 255.0.0.0
E 0/0 192.1.12.2 255.255.255.0

(c) KBITS Live | https://kbits.live


44 of 67
R3

Interface IP Address Subnet Mask


Loopback 0 3.3.3.3 255.0.0.0
Loopback 1 33.33.33.33 255.0.0.0
E 0/0 192.1.13.3 255.255.255.0
E 0/1 192.1.34.3 255.255.255.0

R4

Interface IP Address Subnet Mask


Loopback 0 4.4.4.4 255.0.0.0
E 0/0 192.1.34.4 255.255.255.0
E 0/1 192.1.45.4 255.255.255.0

R5

Interface IP Address Subnet Mask


Loopback 0 5.5.5.5 255.0.0.0
Loopback 1 55.55.55.55 255.0.0.0
E 0/0 192.1.45.5 255.255.255.0
E 0/1 192.1.56.5 255.255.255.0

R6

Interface IP Address Subnet Mask


Loopback 0 6.6.6.6 255.0.0.0
E 0/0 192.1.56.6 255.255.255.0

R7

Interface IP Address Subnet Mask


Loopback 0 7.7.7.7 255.0.0.0
E 0/0 192.1.17.7 255.255.255.0
R8

Interface IP Address Subnet Mask


Loopback 0 8.8.8.8 255.0.0.0
E 0/0 192.1.18.8 255.255.255.0

(c) KBITS Live | https://kbits.live


45 of 67
Task 1
Configure OSPF in Area 0 between R1, R7 & R8. Besides the physical
links, enable the Loopback 0 interfaces of all 3 routers in Area 0.
Loopbacks should be advertised with the Interface Mask. Hard Code the
Router-id based on the following:
R1 – 0.0.0.1
R7 – 0.0.0.7
R8 – 0.0.0.8

R1 R7

Router OSPF 1 Router OSPF 1


Router-id 0.0.0.1 Router-id 0.0.0.7
Network 1.0.0.0 0.255.255.255 area 0 Network 7.0.0.0 0.255.255.255 area 0
Network 192.1.12.0 0.0.0.255 area 0 Network 192.1.17.0 0.0.0.255 area 0
Network 192.1.13.0 0.0.0.255 area 0 !
! Interface Loopback0
Interface Loopback0 Ip ospf network point-to-point
Ip ospf network point-to-point
R8

Router OSPF 1
Router-id 0.0.0.8
Network 8.0.0.0 0.255.255.255 area 0
Network 192.1.18.0 0.0.0.255 area 0
!
Interface Loopback0
Ip ospf network point-to-point

Task 2
Configure EIGRP in AS 111 between R1, R2 & R3. Besides the physical
links, enable the Loopback 0 interfaces of R2 & R3 in EIGRP. R1
Loopback1 should also be enabled in EIGRP.

R1 R2

Router EIGRP 111 Router EIGRP 111


Network 192.1.12.0 Network 192.1.13.0
Network 192.1.13.0 Network 3.0.0.0
Network 11.0.0.0
R3

Router EIGRP 111


Network 192.1.13.0
Network 4.0.0.0

(c) KBITS Live | https://kbits.live


46 of 67
Task 3
Configure OSPF in Area 20 between R3, R4 & R5. Besides the physical
links, enable the Loopback 0 interfaces of R4 & R5 in Area 20. R3
Loopback1 should also be enabled in area 20. Loopbacks should be
advertised with the Interface Mask. Hard Code the Router-id based on
the following:
R4 – 0.0.0.4
R5 – 0.0.0.5

R3 R4

Router OSPF 1 Router OSPF 1


Network 192.1.34.0 0.0.0.255 area 20 Router-id 0.0.0.4
Network 33.0.0.0 0.255.255.255 area 20 Network 4.0.0.0 0.255.255.255 area 20
! Network 192.1.34.0 0.0.0.255 area 20
Interface Loopback1 Network 192.1.45.0 0.0.0.255 area 20
Ip ospf network point-to-point !
Interface Loopback0
Ip ospf network point-to-point
R5

Router OSPF 1
Router-id 0.0.0.5
Network 5.0.0.0 0.255.255.255 area 20
Network 192.1.45.0 0.0.0.255 area 20
!
Interface Loopback0
Ip ospf network point-to-point

Task 4
Configure Static Routing between R5 & R6. Configure R5 with a static
route towards the 6.0.0.0/8 network. R6 should be configured with a
default route towards R5.

R5

Ip route 6.0.0.0 255.0.0.0 192.1.56.6


R6

Ip route 0.0.0.0 0.0.0.0 192.1.56.5

(c) KBITS Live | https://kbits.live


47 of 67
Verification
Ping devices within the Routing Domains.

➢ OSPF Area 0 & 20 devices should be able to communicate to each


other
➢ EIGRP 111 devices should be able to communicate with each other
➢ R5 & R6 should be able to ping each other.

(c) KBITS Live | https://kbits.live


48 of 67
Lab 2 – Mutual Redistribution of OSPF &
EIGRP

Task 1
Configure mutual route redistribution between OSPF Area 0 & EIGRP
111 on R1. OSPF should inject the EIGRP routes using metric-type E2
(static metric). Use a metric of 10 10 10 10 10 to redistribute OSPF
routes into EIGRP. This metric should also be used in case of other
redistributions into EIGRP.

R1

Router OSPF 1
Redistribute eigrp 111 subnets
!
Router eigrp 111
Default-metric 10 10 10 10 10
Redistribute ospf 1

(c) KBITS Live | https://kbits.live


49 of 67
Task 2
Configure mutual route redistribution between OSPF Area 20 & EIGRP
111 on R3. OSPF should inject the EIGRP routes using metric-type E1
(dynamic metric). Use a metric of 10 10 10 10 10 to redistribute OSPF
routes into EIGRP.

R3

Router OSPF 1
Redistribute eigrp 111 metric-type 1 subnets
!
Router eigrp 111
Redistribute ospf 1 metric 10 10 10 10 10

(c) KBITS Live | https://kbits.live


50 of 67
Lab 3 – Redistributing Static Routes into
OSPF

Task 1
Redistribute Static routes into OSPF on R5.

R5

Router OSPF 1
Redistribute static

(c) KBITS Live | https://kbits.live


51 of 67
Lab 4 – Redistributing Connected Routes
into OSPF using Filtering

Task 1
Configure the following loopbacks on R4.

Loopback 101 – 44.1.1.0/24


Loopback 102 – 44.1.2.0/24

R4

Interface loopback101
Ip address 44.1.1.1 255.255.255.0
!
Interface loopback102
Ip address 44.1.2.1 255.255.255.0

(c) KBITS Live | https://kbits.live


52 of 67
Lab 5 – Redistribution with Filtering
using Route Tagging

(c) KBITS Live | https://kbits.live


53 of 67
Task 1
OSPF Area 0 Routes getting redistributed into EIGRP 111 should not get
injected into Area 20 and vice versa. Use Route Tagging to account for
any new routes getting injected into the OSPF domains.

R1

Route-map O2E permit 10


Set tag 111
!
Route-map E2O deny 10
Match tag 222
Route-map E2O permit 20
!
Router eigrp 111
Redistribute ospf 1 route-map O2E
!
Router ospf 1
Redistribute eigrp 111 route-map E2O
R3

Route-map E2O deny 10


match tag 111
Route-map E2O permit 20
!
Route-map O2E permit 10
Set tag 222
!
Router ospf 1
Redistribute eigrp 111 route-map E2O
!
Router eigrp 111
Redistribute ospf 1 route-map O2E

(c) KBITS Live | https://kbits.live


54 of 67
Configuring OSPF for IPv4 Networks

Authored By:

Khawar Butt
CCIE # 12353
Hepta CCIE#12353
CCDE # 20110020 OSPF Advanced Configurations

(c) KBITS Live | https://kbits.live


Netmetric Solutions 55 of 67
Http://www.Netmetric-Solutions.com
Lab 1 – Configuring Virtual Link –
Single Tier

Interface IP Address Configuration

R1

Interface IP Address Subnet Mask


Loopback 0 1.1.1.1 255.0.0.0
Loopback 1 11.11.11.11 255.0.0.0
E 0/0 192.1.12.1 255.255.255.0
E 0/1 192.1.13.1 255.255.255.0
E 0/2 192.1.17.1 255.255.255.0
E 0/3 192.1.18.1 255.255.255.0

R2

Interface IP Address Subnet Mask


Loopback 0 2.2.2.2 255.0.0.0
E 0/0 192.1.12.2 255.255.255.0
R3

(c) KBITS Live | https://kbits.live


56 of 67
Interface IP Address Subnet Mask
Loopback 0 3.3.3.3 255.0.0.0
Loopback 1 33.33.33.33 255.0.0.0
E 0/0 192.1.13.3 255.255.255.0
E 0/1 192.1.34.3 255.255.255.0
R4

Interface IP Address Subnet Mask


Loopback 0 4.4.4.4 255.0.0.0
E 0/0 192.1.34.4 255.255.255.0
E 0/1 192.1.45.4 255.255.255.0

R5

Interface IP Address Subnet Mask


Loopback 0 5.5.5.5 255.0.0.0
Loopback 1 55.55.55.55 255.0.0.0
E 0/0 192.1.45.5 255.255.255.0
E 0/1 192.1.56.5 255.255.255.0

R6

Interface IP Address Subnet Mask


Loopback 0 6.6.6.6 255.0.0.0
E 0/0 192.1.56.6 255.255.255.0
R7

Interface IP Address Subnet Mask


Loopback 0 7.7.7.7 255.0.0.0
E 0/0 192.1.17.7 255.255.255.0
R8

Interface IP Address Subnet Mask


Loopback 0 8.8.8.8 255.0.0.0
E 0/0 192.1.18.8 255.255.255.0

Task 1
Configure OSPF in Area 0 between R1, R7 & R8. Besides the physical
links, enable the Loopback 0 interfaces of all 3 routers in Area 0.
Loopbacks should be advertised with the Interface Mask. Hard Code the
Router-id based on the following:
R1 – 0.0.0.1
R7 – 0.0.0.7
R8 – 0.0.0.8

(c) KBITS Live | https://kbits.live


57 of 67
R1 R7

Router OSPF 1 Router OSPF 1


Router-id 0.0.0.1 Router-id 0.0.0.7
Network 1.0.0.0 0.255.255.255 area 0 Network 7.0.0.0 0.255.255.255 area 0
Network 192.1.12.0 0.0.0.255 area 0 Network 192.1.17.0 0.0.0.255 area 0
Network 192.1.13.0 0.0.0.255 area 0 !
! Interface Loopback0
Interface Loopback0 Ip ospf network point-to-point
Ip ospf network point-to-point
R8

Router OSPF 1
Router-id 0.0.0.8
Network 8.0.0.0 0.255.255.255 area 0
Network 192.1.18.0 0.0.0.255 area 0
!
Interface Loopback0
Ip ospf network point-to-point

Task 2
Configure OSPF in Area 10 between R1, R2 & R3. Besides the physical
links, enable the Loopback 0 interfaces of R2 & R3 in Area 10. R1
Loopback1 should also be enabled in area 10. Loopbacks should be
advertised with the Interface Mask. Hard Code the Router-id based on
the following:
R2 – 0.0.0.2
R3 – 0.0.0.3

R1 R2

Router OSPF 1 Router OSPF 1


Network 192.1.12.0 0.0.0.255 area 10 Router-id 0.0.0.2
Network 192.1.13.0 0.0.0.255 area 10 Network 2.0.0.0 0.255.255.255 area 10
Network 11.0.0.0 0.255.255.255 area 10 Network 192.1.12.0 0.0.0.255 area 10
! !
Interface Loopback1 Interface Loopback0
Ip ospf network point-to-point Ip ospf network point-to-point
R3

Router OSPF 1
Router-id 0.0.0.3
Network 3.0.0.0 0.255.255.255 area 10
Network 192.1.13.0 0.0.0.255 area 10

(c) KBITS Live | https://kbits.live


58 of 67
!
Interface Loopback0
Ip ospf network point-to-point

Task 3
Configure OSPF in Area 20 between R3, R4 & R5. Besides the physical
links, enable the Loopback 0 interfaces of R4 & R5 in Area 20. R3
Loopback1 should also be enabled in area 20. Loopbacks should be
advertised with the Interface Mask. Hard Code the Router-id based on
the following:
R4 – 0.0.0.4
R5 – 0.0.0.5

R3 R4

Router OSPF 1 Router OSPF 1


Network 192.1.34.0 0.0.0.255 area 20 Router-id 0.0.0.4
Network 33.0.0.0 0.255.255.255 area 20 Network 4.0.0.0 0.255.255.255 area 20
! Network 192.1.34.0 0.0.0.255 area 20
Interface Loopback1 Network 192.1.45.0 0.0.0.255 area 20
Ip ospf network point-to-point !
Interface Loopback0
Ip ospf network point-to-point
R5

Router OSPF 1
Router-id 0.0.0.5
Network 5.0.0.0 0.255.255.255 area 20
Network 192.1.45.0 0.0.0.255 area 20
!
Interface Loopback0
Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


59 of 67
Task 4
Configure a Virtual Link between the appropriate devices to allow Area
20 to communicate to the rest of the network.

R1

router ospf 1
area 10 virtual-link 0.0.0.3
R3

router ospf 1
area 10 virtual-link 0.0.0.1

(c) KBITS Live | https://kbits.live


60 of 67
Lab 2 – Configuring Virtual Link –
Multi-Tier

Task 1
Configure OSPF in Area 30 between R5 & R6. Besides the physical links,
enable the Loopback 0 interfaces of R6 in Area 30. R5 Loopback1 should
also be enabled in area 30. Loopbacks should be advertised with the
Interface Mask. Hard Code the Router-id based on the following:
R6 – 0.0.0.6

R5 R6

Router OSPF 1 Router OSPF 1


Network 192.1.56.0 0.0.0.255 area 30 Router-id 0.0.0.6
Network 55.0.0.0 0.255.255.255 area 30 Network 6.0.0.0 0.255.255.255 area 30
! Network 192.1.56.0 0.0.0.255 area 30
Interface Loopback1 !
Ip ospf network point-to-point Interface Loopback0
Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


61 of 67
Task 2
Configure a Virtual Link between the appropriate devices to allow Area
30 to communicate to the rest of the network.

R3

router ospf 1
area 20 virtual-link 0.0.0.5
R5

router ospf 1
area 20 virtual-link 0.0.0.3

(c) KBITS Live | https://kbits.live


62 of 67
Lab 3 – Configuring BFD for OSPF

Task 1
Configure BFD between all routers in area 0. Configure the BFD Interface
interval to be 300 for sending and receiving. A neighbor should be
deemed dead is the router misses 3 hellos.

R1 R7

Interface E 0/2 Interface E 0/0


bfd interval 300 min_rx 300 multiplier 3 bfd interval 300 min_rx 300 multiplier 3
! !
Router ospf 1 Router ospf 1
bfd all-interfaces bfd all-interfaces
R8

Interface E 0/0
bfd interval 300 min_rx 300 multiplier 3
!
Router ospf 1
bfd all-interfaces

(c) KBITS Live | https://kbits.live


63 of 67
Lab 4 – Configuring IP FRR - OSPF

Interface IP Address Configuration

R1

Interface IP Address Subnet Mask


Loopback 0 1.1.1.1 255.0.0.0
G1 192.1.12.1 255.255.255.0
G2 192.1.13.1 255.255.255.0
R2

Interface IP Address Subnet Mask


Loopback 0 2.2.2.2 255.0.0.0
G1 192.1.12.2 255.255.255.0
G2 192.1.24.2 255.255.255.0

(c) KBITS Live | https://kbits.live


64 of 67
R3

Interface IP Address Subnet Mask


Loopback 0 3.3.3.3 255.0.0.0
G1 192.1.13.3 255.255.255.0
G2 192.1.34.3 255.255.255.0
R4

Interface IP Address Subnet Mask


Loopback 0 4.4.4.4 255.0.0.0
G1 192.1.24.4 255.255.255.0
G2 192.1.34.4 255.255.255.0

Task 1
Configure OSPF in Area 0 between R1, R2, R3 & R4. Besides the physical
links, enable the Loopback 0 interfaces of all 4 routers in Area 0.
Loopbacks should be advertised with the Interface Mask. Hard Code the
Router-id based on the following:
R1 – 0.0.0.1
R2 – 0.0.0.2
R3 – 0.0.0.3
R4 – 0.0.0.4

R1 R2

Router OSPF 1 Router OSPF 1


Router-id 0.0.0.1 Router-id 0.0.0.2
Network 1.0.0.0 0.255.255.255 area 0 Network 2.0.0.0 0.255.255.255 area 0
Network 192.1.12.0 0.0.0.255 area 0 Network 192.1.12.0 0.0.0.255 area 0
Network 192.1.13.0 0.0.0.255 area 0 Network 192.1.24.0 0.0.0.255 area 0
! !
Interface Loopback0 Interface Loopback0
Ip ospf network point-to-point Ip ospf network point-to-point
R3 R4

Router OSPF 1 Router OSPF 1


Router-id 0.0.0.3 Router-id 0.0.0.4
Network 3.0.0.0 0.255.255.255 area 0 Network 4.0.0.0 0.255.255.255 area 0
Network 192.1.13.0 0.0.0.255 area 0 Network 192.1.24.0 0.0.0.255 area 0
Network 192.1.34.0 0.0.0.255 area 0 Network 192.1.34.0 0.0.0.255 area 0
! !
Interface Loopback0 Interface Loopback0
Ip ospf network point-to-point Ip ospf network point-to-point

(c) KBITS Live | https://kbits.live


65 of 67
Task 2
Configure the link cost based on the Diagram.

R1 R2

Interface Gig1 Interface Gig1


Ip ospf cost 10 Ip ospf cost 10
! !
Interface Gig2 Interface Gig2
Ip ospf cost 20 Ip ospf cost 10

R3 R4

Interface Gig1 Interface Gig1


Ip ospf cost 20 Ip ospf cost 10
! !
Interface Gig2 Interface Gig2
Ip ospf cost 20 Ip ospf cost 20

Task 3
Verify the routing table and CEF on R1 for Network 4.0.0.0/8. It should
have a single path via R2 (Lower cost)

R1

Show IP route 4.0.0.0

Note: It should have a single path via 192.1.12.2

Show ip cef 4.0.0.0

Note: It should have a single path via 192.1.12.2

(c) KBITS Live | https://kbits.live


66 of 67
Task 4
Enable Fast-reroute on all routers in area 0. Configure the Priority as low
that creates the backup route for all networks in the OSPF Database.

R1

Router ospf 1
fast-reroute per-prefix enable area 0 prefix-priority low
R2

Router ospf 1
fast-reroute per-prefix enable area 0 prefix-priority low
R3

Router ospf 1
fast-reroute per-prefix enable area 0 prefix-priority low
R4

Router ospf 1
fast-reroute per-prefix enable area 0 prefix-priority low

Task 5
Verify the routing table and CEF on R1 for Network 4.0.0.0/8. It should
have a repair path via R3 (higher cost) installed and ready in case the
lower cost route goes down.

R1

Show IP route 4.0.0.0

Note: It should have a repair path via 192.1.13.3

Show ip cef 4.0.0.0

Note: It should have a repair path via 192.1.13.3

(c) KBITS Live | https://kbits.live


67 of 67

You might also like