CCNA Routing Scenario - RIP, OSPF, EIGRP, Static: Gokulvarmank 1 Comment

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13

CCNA Routing Scenario – RIP, OSPF,

EIGRP, Static
by gokulvarmank • March 15, 2013 • 1 Comment

Lab Topology

Scenario:

One loopback network to be added per routing protocol/domain in every router.

All loopbacks should be subnets of 172.16.0.0/16 with loopbacks of different routing protocols
having networks capable of hosting these many number of hosts:

EIGRP – 58

RIP – 1025

OSPF – 98

All links except R1 – R6 to be subnets of 192.168.1.0/24

R1 – R6 Fast Ethernet link to be subnet of 150.150.0.0/16


 

Objective:

Once routing has been completely achieved for communication between R1 and R6 following
priority should be there for route selection.

1. R2-R4

2. R3-R5

3. R1-R6

ie, the direct path from R1 to R6 should be taken only as the last resort.

Solution:

Subnetting

R1
l0 – 172.16.18.128/26 [e10]
s0/0 – 192.168.1.1/30
f1/0 – 192.168.1.25/30
f2/0 – 150.150.0.1/30

R2
l0 – 172.16.18.192/26[e10]
l1 – 172.16.19.0/26 [e20]
s0/0 192.168.1.2/30
s0/1 192.168.1.5/30
f1/0 – 192.168.1.30/30

R3
l0 – 172.16.0.0/21[rip]
l1 – 172.16.19.64/26 [e10]
s0/0 – 192.168.1.21/30
f1/0 – 192.168.1.26/30
f2/0 – 192.168.1.29/30
R4
l0 – 172.16.16.0/25 [0spf 0]
l1 – 172.16.19.128/26[e20]
s0/0 192.168.1.6/30
s0/1 192.168.1.9/30

R5
l0 – 172.16.8.0/21[rip]
l1 – 172.16.17.128/25[ospf 0]
s0/1 – 192.168.1.18/30
s0/0 – 192.168.1.22/30

R6
l0 – 172.16.16.128/25[ospf0]
l1 – 172.16.17.0/25[ospf10]
s0/0 192.168.1.10/30
s0/2 192.168.1.13/30
s0/1 – 192.168.1.17/30
f1/0 – 150.150.0.2/30

R7
l0 – 172.16.18.0/25
s0/0 192.168.1.14/30

Loopbacks
172.16.0.0/16 subnets
EIGRP - 58 hosts
OSPF - 98 hosts
RIP - 1025 hosts

Links
192.168.1.0/24 subnets

R1 to R6 Fast Ethernet Link


150.150.0.0/16 subnet

Objectives:
1. Achieve complete Routing
2. For communication from R1 to R7, path through R3 to be preferred
3. Default routing between R1 and R6 to be achieved via 150.150.0.0, the
network should not be advertised via any Dynamic routing protocols
4. Default routing between R1 and R6 to be made as a backup, to be taken only
when dynamic routing fails, ie when R2-R4 and R3-R5 links fail.
5. For communication from R1 to R7, primary preference for R1-R3-R5 path,
secondary preference to R1-R2-R4 path, and only when both fail, direct path
from R1-R6 to be taken.
R1
l0 - 172.16.18.128/26 [e10]
s0/0 - 192.168.1.1/30
f1/0 - 192.168.1.25/30
f2/0 - 150.150.0.1/30

R2
l0 - 172.16.18.192/26[e10]
l1 - 172.16.19.0/26 [e20]
s0/0 192.168.1.2/30
s0/1 192.168.1.5/30
f1/0 - 192.168.1.30/30

R3
l0 - 172.16.0.0/21[rip]
l1 - 172.16.19.64/26 [e10]
s0/0 - 192.168.1.21/30
f1/0 - 192.168.1.26/30
f2/0 - 192.168.1.29/30

R4
l0 - 172.16.16.0/25 [0spf 0]
l1 - 172.16.19.128/26[e20]
s0/0 192.168.1.6/30
s0/1 192.168.1.9/30

R5
l0 - 172.16.8.0/21[rip]
l1 - 172.16.17.128/25[ospf 0]
s0/1 - 192.168.1.18/30
s0/0 - 192.168.1.22/30

R6
l0 - 172.16.16.128/25[ospf0]
l1 - 172.16.17.0/25[ospf10]
s0/0 192.168.1.10/30
s0/2 192.168.1.13/30
s0/1 - 192.168.1.17/30
f1/0 - 150.150.0.2/30

R7
l0 - 172.16.18.0/25
s0/0 192.168.1.14/30

///////////// R1 //////////

enable
configure terminal
hostname R1
line console 0
exec-timeout 0 0
exit
no ip domain-lookup

ip route 0.0.0.0 0.0.0.0 150.150.150.2 180

interface loopback 0
ip address 172.16.18.129 255.255.255.192
exit

interface serial 0/0


ip address 192.168.1.1 255.255.255.252
no shutdown
exit

interface f1/0
ip address 192.168.1.25 255.255.255.252
no shutdown
exit

interface f2/0
ip address 150.150.0.1 255.255.255.252
no shutdown
exit

router eigrp 10
network 172.16.18.128 0.0.0.63
network 192.168.1.0 0.0.0.3
network 192.168.1.24 0.0.0.3
no auto-summary
exit

exit
///////////// R2 //////////

enable
configure terminal
hostname R2
line console 0
exec-timeout 0 0
exit
no ip domain-lookup
interface loopback 0
ip address 172.16.18.193 255.255.255.192
exit

interface loopback 1
ip address 172.16.19.1 255.255.255.192
exit

interface serial 0/0


ip address 192.168.1.2 255.255.255.252
no shutdown
exit

interface serial 0/1


ip address 192.168.1.5 255.255.255.252
no shutdown
exit

interface f1/0
ip address 192.168.1.30 255.255.255.252
no shutdown
exit
router eigrp 10
network 172.16.18.192 0.0.0.63
network 192.168.1.2 0.0.0.3
network 192.168.1.28 0.0.0.3
redistribute eigrp 20 metric 100 14 254 200 1500
no auto-summary
exit

router eigrp 20
network 172.16.19.0 0.0.0.63
network 192.168.1.4 0.0.0.3
redistribute eigrp 10 metric 10000 14 254 10 1500
no auto-summary
exit
exit

///////////// R3 //////////

enable
configure terminal
hostname R3
line console 0
exec-timeout 0 0
exit
no ip domain-lookup

interface loopback 0
ip address 172.16.0.1 255.255.248.0
exit

interface loopback 1
ip address 172.16.19.65 255.255.255.192
exit

interface serial 0/0


ip address 192.168.1.21 255.255.255.252
no shutdown
exit

interface f1/0
ip address 192.168.1.26 255.255.255.252
no shutdown
exit

interface f2/0
ip address 192.168.1.29 255.255.255.252
no shutdown
exit

router eigrp 10
network 172.16.19.64 0.0.0.63
network 192.168.1.24 0.0.0.3
network 192.168.1.28 0.0.0.3
redistribute rip metric 1000000 14 254 1 1500
no auto-summary
exit

router rip
network 172.16.0.0
network 192.168.1.0
no auto-summary
redistribute eigrp 10 metric 2
exit
exit

///////////// R4 //////////

enable
configure terminal
hostname R4
line console 0
exec-timeout 0 0
exit
no ip domain-lookup

interface loopback 0
ip address 172.16.16.1 255.255.255.128
exit
interface loopback 1
ip address 172.16.19.129 255.255.255.192
exit

interface serial 0/0


ip address 192.168.1.6 255.255.255.252
no shutdown
exit

interface serial 0/1


ip address 192.168.1.9 255.255.255.252
no shutdown
exit

router eigrp 20
network 172.16.19.128 0.0.0.63
network 192.168.1.4 0.0.0.3
redistribute ospf 1 metric 10000 14 254 50 1500
no auto-summary
exit

router ospf 1
network 192.168.1.8 0.0.0.3 area 0
network 172.16.16.0 0.0.0.127 area 0
redistribute eigrp 20 metric 45 subnets
exit
exit

///////////// R5 //////////

enable
configure terminal
hostname R5
line console 0
exec-timeout 0 0
exit
no ip domain-lookup

interface loopback 0
ip address 172.16.8.1 255.255.248.0
exit

interface loopback 1
ip address 172.16.17.129 255.255.255.128
exit

interface serial 0/0


ip address 192.168.1.22 255.255.255.252
no shutdown
exit

interface serial 0/1


ip address 192.168.1.18 255.255.255.252
no shutdown
exit

router rip
network 172.16.0.0
network 192.168.1.0
no auto-summary
redistribute ospf 1 metric 4
exit

router ospf 1
network 172.16.17.128 0.0.0.127 area 0
network 192.168.1.16 0.0.0.3 area 0
redistribute rip metric 48 subnets
exit
exit
///////////// R6 //////////

enable
configure terminal
hostname R6
line console 0
exec-timeout 0 0
exit
no ip domain-lookup

interface loopback 0
ip address 172.16.16.129 255.255.255.128
exit

interface loopback 1
ip address 172.16.17.1 255.255.255.128
exit

interface serial 0/0


ip address 192.168.1.10 255.255.255.252
no shutdown
exit

interface serial 0/1


ip address 192.168.1.17 255.255.255.252
no shutdown
exit

interface serial 0/2


ip address 192.168.1.13 255.255.255.252
no shutdown
exit

interface f1/0
ip address 150.150.0.2 255.255.255.252
no shutdown
exit

router ospf 1
network 192.168.1.8 0.0.0.3 area 0
network 192.168.1.16 0.0.0.3 area 0
network 172.16.16.128 0.0.0.127 area 0
network 192.168.1.12 0.0.0.3 area 10
network 172.16.17.0 0.0.0.127 area 10
exit
ip route 0.0.0.0 0.0.0.0 150.150.0.1 180
exit

///////////// R7 //////////

enable
configure terminal
hostname R7
line console 0
exec-timeout 0 0
exit
no ip domain-lookup

ip route 0.0.0.0 0.0.0.0 192.168.1.13 180

interface loopback 0
ip address 172.16.18.1 255.255.255.128
exit

interface serial 0/0


ip address 192.168.1.14 255.255.255.252
no shutdown
exit
router ospf 1
network 172.16.18.0 0.0.0.127 area 10
network 192.168.1.12 0.0.0.3 area 10
exit
exit

You might also like