SlideShare ist ein Scribd-Unternehmen logo
1 von 19
1
OSPF - Network Diagram

AREA 1 10.0.0.1/8
S0

HYD

AREA 2

11.0.0.1/8
S0

S1
10.0.0.2/8

CHE

E0
192.168.1.150/24

S1
BAN
11.0.0.2/8
E0
E0
192.168.2.150/24
192.168.3.150/24

AREA 0

LAN - 192.168.1.0/24

LAN - 192.168.2.0/24

LAN - 192.168.3.0/24

2
3
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Directly Connected Networks on
Directly Connected Networks on
Hyderabad> enable
HYDERABAD Router
password : ****
HYDERABAD Router
Hyderabad# configure terminal
192.168.1.0
192.168.1.0
Enter configuration commands, one per line. End with CNTL/Z.
10.0.0.0
10.0.0.0
Hyderabad(config)# interface serial 0
Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0
Hyderabad(config-if)# no shut
Hyderabad(config-if)# clockrate 64000
Hyderabad(config-if)# encapsulation hdlc
Hyderabad(config-if)# exit
Hyderabad(config)#

4
Hyderabad(config)# no ip routing
Hyderabad(config)# ip routing
Hyderabad(config)# router ospf 1
Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 1
Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 1
Hyderabad(config-router)# Configuring OSPF
Configuring OSPF
Router(config)# router ospf <pid>
Router(config)# router ospf <pid>
Router(config-router)# network <Network ID>
Router(config-router)# network <Network ID>
<wildcard mask> area <area id>
<wildcard mask> area <area id>

5
Hyderabad(config)# no ip routing
Hyderabad(config)# ip routing
Hyderabad(config)# router ospf 1
Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 1
Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 1
Hyderabad(config-router)# ^Z
Hyderabad# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default
U - per-user static route, o - ODR

Gateway of last resort is not set
C
10.0.0.0/8 is directly connected, Serial0
O IA 11.0.0.0/8 [110/128] via 10.0.0.2, 00:01:03, Serial0
C
192.168.1.0/24 is directly connected, Ethernet0
O IAO IA – for OSPF [110/74] via ofOSPF
192.168.2.0/24 110 isnothing OSPF
Metric 10.0.0.2, 00:01:03, Serial0
O IA – for OSPF 110 isMetricof but
nothing but
Administrative Distance
O IAInterArea routes [110/138] via 10.0.0.2, 00:00:13, Serial0
192.168.3.0/24
Inter Area routes
Cost
Administrative Distance
Cost
Hyderabad#

6
Hyderabad# show ip ospf database
OSPF Router with ID (192.168.1.150) (Process ID 1)
Router Link States (Area 1)
Link ID
192.168.1.150
192.168.2.150

ADV Router
192.168.1.150
192.168.2.150

Age
272
273

Seq#
Checksum Link
0x80000003 0xA163
3
0x80000002 0xBACC
2

Summary Net Link States (Area 1)
Link ID
11.0.0.0
192.168.2.0
192.168.3.0

ADV Router
192.168.2.150
192.168.2.150
192.168.2.150

Age
273
273
208

Seq#
0x80000001
0x80000001
0x80000001

Checksum
0xDA15
0x8441
0xFB88

Hyderabad# show ip ospf neighbor
Neighbor ID
192.168.2.150
Hyderabad#

Pri
1

State
FULL/

-

Dead Time
00:00:32

Address
10.0.0.2

7
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai Router
================================
User Access Verification
password : ****
Directly Connected Networks on
Chennai> enable Directly Connected Networks on
CHENNAI Router
password : ****
CHENNAI Router
Chennai# configure terminal
192.168.2.0
192.168.2.0
Enter configuration commands, one per line. End with CNTL/Z.
10.0.0.0
10.0.0.0
Chennai(config)# interface serial 1
11.0.0.0
11.0.0.0
Chennai(config-if)# ip address 10.0.0.2 255.0.0.0
Chennai(config-if)# no shut
Chennai(config-if)# encapsulation hdlc
Chennai(config-if)# interface serial 0
Chennai(config-if)# ip address 11.0.0.1 255.0.0.0
Chennai(config-if)# no shut
Chennai(config-if)# encapsulation hdlc

8
Chennai(config)# no ip routing
Chennai(config)# ip routing
Chennai(config)# router ospf 2
Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0
Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 1
Chennai(config-router)# network 11.0.0.0 0.255.255.255 area 2
Configuring OSPF
Configuring OSPF
Chennai(config-router)#
Router(config)# router ospf <pid>
Router(config)# router ospf <pid>
Router(config-router)# network <Network ID>
Router(config-router)# network <Network ID>
<wildcard mask> area <area id>
<wildcard mask> area <area id>

9
Chennai(config)# no ip routing
Chennai(config)# ip routing
Chennai(config)# router ospf 2
Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0
Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 1
Chennai(config-router)# network 11.0.0.0 0.255.255.255 area 2
Chennai(config-router)# ^Z
Chennai# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default
U - per-user static route, o - ODR

Gateway of last resort is not set
C
10.0.0.0/8 is directly connected, Serial1
C
11.0.0.0/8 is directly connected, Serial0
O
192.168.1.0/24 [110/74] via 10.0.0.1, 00:01:04, Serial1
C
192.168.2.0/24 is directly connected, Ethernet0
O
192.168.3.0/24 [110/74] isMetricof OSPF 00:00:09, Serial0
Metric of OSPF
110 isnothing but
110 via 11.0.0.2,
nothing but
O – for OSPF routes
O – for OSPF routes Administrative Distance
Chennai#
Cost
Administrative Distance
10
Cost
Chennai# show ip ospf database
OSPF Router with ID (192.168.2.150) (Process ID 2)
Router Link States (Area 0)
Link ID
192.168.2.150

ADV Router
192.168.2.150

Age
472

Seq#
Checksum Link
0x80000002 0xEFC7
1

Summary Net Link States (Area 0)
Link ID
10.0.0.0
11.0.0.0
192.168.1.0
192.168.3.0

ADV Router
192.168.2.150
192.168.2.150
192.168.2.150
192.168.2.150

Age
462
472
452
396

Seq#
0x80000001
0x80000001
0x80000001
0x80000001

Checksum
0xE709
0xDA15
0x1274
0xFB88

Router Link States (Area 1)
Link ID
192.168.1.150
192.168.2.150
--More—-

ADV Router
192.168.1.150
192.168.2.150

Age
463
462

Seq#
Checksum Link
0x80000003 0xA163
3
0x80000002 0xBACC
2

11
Summary Net Link States (Area 1)
Link ID
11.0.0.0
192.168.2.0
192.168.3.0

ADV Router
192.168.2.150
192.168.2.150
192.168.2.150

Age
462
465
400

Seq#
0x80000001
0x80000001
0x80000001

Checksum
0xDA15
0x8441
0xFB88

Router Link States (Area 2)
Link ID
192.168.2.150
192.168.3.150

ADV Router
192.168.2.150
192.168.3.150

Age
415
416

Seq#
Checksum Link
0x80000003 0xDAA8
2
0x80000003 0xD328
3

Summary Net Link States (Area 2)
Link ID
10.0.0.0
192.168.1.0
192.168.2.0

ADV Router
192.168.2.150
192.168.2.150
192.168.2.150

Chennai# show ip ospf
Neighbor ID
Pri
192.168.3.150
1
192.168.1.150
1
Chennai#

neighbor
State
FULL/ FULL/ -

Age
465
455
475

Seq#
0x80000001
0x80000001
0x80000001

Dead Time
00:00:35
00:00:32

Checksum
0xE709
0x1274
0x8441

Address
11.0.0.2
10.0.0.1

12
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:> telnet 192.168.3.150
Connecting .....
================================
Welcome to Banglore Router
================================
User Access Verification
password : ****
Directly Connected Networks on
Banglore> enableDirectly Connected Networks on
Banglore Router
password : ****
Banglore Router
Banglore# configure terminal
192.168.3.0
192.168.3.0
Enter configuration commands, one per line. End with CNTL/Z.
11.0.0.0
11.0.0.0
Banglore(config)# interface serial 1
Banglore(config-if)# ip address 11.0.0.2 255.0.0.0
Banglore(config-if)# no shut
Banglore(config-if)# clockrate 64000
Banglore(config-if)# encapsulation hdlc
Banglore(config-if)# exit
Banglore(config)#

13
Banglore(config)# no ip routing
Banglore(config)# ip routing
Banglore(config)# router ospf 1
Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 2
Banglore(config-router)# network 11.0.0.0 0.255.255.255 area 2
Banglore(config-router)#
Configuring OSPF
Configuring OSPF
Router(config)# router ospf <pid>
Router(config)# router ospf <pid>
Router(config-router)# network <Network ID>
Router(config-router)# network <Network ID>
<wildcard mask> area <area id>
<wildcard mask> area <area id>

14
Banglore(config)# no ip routing
Banglore(config)# ip routing
Banglore(config)# router ospf 1
Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 2
Banglore(config-router)# network 11.0.0.0 0.255.255.255 area 2
Banglore(config-router)# ^Z
Banglore# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default
U - per-user static route, o - ODR

Gateway of last resort is not set
O IA 10.0.0.0/8 [110/128] via 11.0.0.1, 00:02:26, Serial1
C
11.0.0.0/8 is directly connected, Serial1
O IAO IA – for OSPF [110/138] via OSPF
192.168.1.0/24
Metric of 11.0.0.1, 00:02:26, Serial1
O IA – for OSPF 110 isMetricof but
110 isnothing OSPF
nothing but
O IA 192.168.2.0/24 [110/74] viaDistance
Administrative Distance 00:02:26, Serial1
Inter Area routes
Cost
Administrative 11.0.0.1,
Inter Area routes
Cost
C
192.168.3.0/24 is directly connected, Ethernet0
Banglore#

15
Banglore# show ip ospf database
OSPF Router with ID (192.168.3.150) (Process ID 1)
Router Link States (Area 2)
Link ID
192.168.2.150
192.168.3.150

ADV Router
192.168.2.150
192.168.3.150

Age
935
934

Seq#
Checksum Link
0x80000003 0xDAA8
2
0x80000003 0xD328
3

Summary Net Link States (Area 2)
Link ID
10.0.0.0
192.168.1.0
192.168.2.0

ADV Router
192.168.2.150
192.168.2.150
192.168.2.150

Age
985
975
995

Seq#
0x80000001
0x80000001
0x80000001

Checksum
0xE709
0x1274
0x8441

Banglore# show ip ospf neighbor
Neighbor ID
192.168.2.150
Banglore#

Pri
1

State
FULL/

-

Dead Time
00:00:36

Address
11.0.0.1

16
Hyderabad# ping 192.168.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:

!!!!!

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

Hyderabad# ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:

!!!!!

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

Hyderabad#

17
Chennai# ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:

!!!!!

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

Chennai# ping 192.168.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:

!!!!!

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

Chennai#

18
Banglore# ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:

!!!!!

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

Banglore# ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:

!!!!!

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

Banglore#

19

Weitere ähnliche Inhalte

Was ist angesagt?

Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital NetworkKishore Kumar
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of RoutersKishore Kumar
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1Kishore Kumar
 
Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01Ralph Nguyen
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2Kris Mofu
 
Mg90 h102 ethernet master
Mg90 h102 ethernet masterMg90 h102 ethernet master
Mg90 h102 ethernet masterconfidencial
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of RouterKishore Kumar
 
Eigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configurationEigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configuration3Anetwork com
 
Day 5.3 configuration of router
Day 5.3 configuration of routerDay 5.3 configuration of router
Day 5.3 configuration of routerCYBERINTELLIGENTS
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010irbas
 
Initial router and switch configuration
Initial router and switch configurationInitial router and switch configuration
Initial router and switch configurationHari Prasetyo Utomo
 
Cisco Router EIGRP Config
Cisco Router EIGRP ConfigCisco Router EIGRP Config
Cisco Router EIGRP ConfigKadir CIKIS
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrpzafar85
 
103320664 eigrp-sba
103320664 eigrp-sba103320664 eigrp-sba
103320664 eigrp-sbajlvive
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsEng. Emad Al-Atoum
 

Was ist angesagt? (19)

Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Switching 2
Switching 2Switching 2
Switching 2
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1
 
Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01
 
Day 13.1..1 catalyst switch
Day 13.1..1 catalyst switchDay 13.1..1 catalyst switch
Day 13.1..1 catalyst switch
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
Mg90 h102 ethernet master
Mg90 h102 ethernet masterMg90 h102 ethernet master
Mg90 h102 ethernet master
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Eigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configurationEigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configuration
 
Day 5.3 configuration of router
Day 5.3 configuration of routerDay 5.3 configuration of router
Day 5.3 configuration of router
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
 
Initial router and switch configuration
Initial router and switch configurationInitial router and switch configuration
Initial router and switch configuration
 
Cisco Router EIGRP Config
Cisco Router EIGRP ConfigCisco Router EIGRP Config
Cisco Router EIGRP Config
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
 
103320664 eigrp-sba
103320664 eigrp-sba103320664 eigrp-sba
103320664 eigrp-sba
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 

Andere mochten auch

Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of RoutersKishore Kumar
 
Recognizing security threats
Recognizing security threatsRecognizing security threats
Recognizing security threatsKishore Kumar
 
Route Authentication
Route AuthenticationRoute Authentication
Route AuthenticationKishore Kumar
 
Ccna simulation exam practice guide
Ccna simulation exam practice guideCcna simulation exam practice guide
Ccna simulation exam practice guideKishore Kumar
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of RouterKishore Kumar
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital NetworkKishore Kumar
 
Dynamic routing under_sec
Dynamic routing under_secDynamic routing under_sec
Dynamic routing under_secsubhash85
 
Sept 2017 technology management
Sept 2017  technology managementSept 2017  technology management
Sept 2017 technology managementshahin raj
 
Sept 2017 dynamic routing
Sept 2017   dynamic routingSept 2017   dynamic routing
Sept 2017 dynamic routingshahin raj
 

Andere mochten auch (20)

Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
RIP Update Timers
RIP Update TimersRIP Update Timers
RIP Update Timers
 
Recognizing security threats
Recognizing security threatsRecognizing security threats
Recognizing security threats
 
Route Authentication
Route AuthenticationRoute Authentication
Route Authentication
 
Switching Types
Switching TypesSwitching Types
Switching Types
 
Ccna simulation exam practice guide
Ccna simulation exam practice guideCcna simulation exam practice guide
Ccna simulation exam practice guide
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
Dynamic routing under_sec
Dynamic routing under_secDynamic routing under_sec
Dynamic routing under_sec
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
1. Introduction
1. Introduction1. Introduction
1. Introduction
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
Sept 2017 technology management
Sept 2017  technology managementSept 2017  technology management
Sept 2017 technology management
 
Switching Types
Switching TypesSwitching Types
Switching Types
 
Sept 2017 dynamic routing
Sept 2017   dynamic routingSept 2017   dynamic routing
Sept 2017 dynamic routing
 
Static Routing
Static RoutingStatic Routing
Static Routing
 

Ähnlich wie OSPF 3

Ähnlich wie OSPF 3 (20)

acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Lab 9 instructions
Lab 9 instructionsLab 9 instructions
Lab 9 instructions
 
Labs ospf
Labs ospfLabs ospf
Labs ospf
 
第8讲 Rip和Igrp
第8讲 Rip和Igrp第8讲 Rip和Igrp
第8讲 Rip和Igrp
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
OSPF Internal Route Summarization
OSPF Internal Route SummarizationOSPF Internal Route Summarization
OSPF Internal Route Summarization
 
OSPF_multi.pdf
OSPF_multi.pdfOSPF_multi.pdf
OSPF_multi.pdf
 
OSPF v3
OSPF v3OSPF v3
OSPF v3
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Day 12 enabling ospf
Day 12 enabling ospfDay 12 enabling ospf
Day 12 enabling ospf
 
Networking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP ConfigurationNetworking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP Configuration
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
 
BGP Next-hop-self
BGP Next-hop-selfBGP Next-hop-self
BGP Next-hop-self
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
 
IPv6_ROUTING_RIP
IPv6_ROUTING_RIPIPv6_ROUTING_RIP
IPv6_ROUTING_RIP
 
06 tk 1073 network layer
06   tk 1073 network layer06   tk 1073 network layer
06 tk 1073 network layer
 
Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02
 

Kürzlich hochgeladen

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Kürzlich hochgeladen (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

OSPF 3

  • 1. 1
  • 2. OSPF - Network Diagram AREA 1 10.0.0.1/8 S0 HYD AREA 2 11.0.0.1/8 S0 S1 10.0.0.2/8 CHE E0 192.168.1.150/24 S1 BAN 11.0.0.2/8 E0 E0 192.168.2.150/24 192.168.3.150/24 AREA 0 LAN - 192.168.1.0/24 LAN - 192.168.2.0/24 LAN - 192.168.3.0/24 2
  • 3. 3
  • 4. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.1.150 Connecting ..... ================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** Directly Connected Networks on Directly Connected Networks on Hyderabad> enable HYDERABAD Router password : **** HYDERABAD Router Hyderabad# configure terminal 192.168.1.0 192.168.1.0 Enter configuration commands, one per line. End with CNTL/Z. 10.0.0.0 10.0.0.0 Hyderabad(config)# interface serial 0 Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0 Hyderabad(config-if)# no shut Hyderabad(config-if)# clockrate 64000 Hyderabad(config-if)# encapsulation hdlc Hyderabad(config-if)# exit Hyderabad(config)# 4
  • 5. Hyderabad(config)# no ip routing Hyderabad(config)# ip routing Hyderabad(config)# router ospf 1 Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 1 Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 1 Hyderabad(config-router)# Configuring OSPF Configuring OSPF Router(config)# router ospf <pid> Router(config)# router ospf <pid> Router(config-router)# network <Network ID> Router(config-router)# network <Network ID> <wildcard mask> area <area id> <wildcard mask> area <area id> 5
  • 6. Hyderabad(config)# no ip routing Hyderabad(config)# ip routing Hyderabad(config)# router ospf 1 Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 1 Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 1 Hyderabad(config-router)# ^Z Hyderabad# show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set C 10.0.0.0/8 is directly connected, Serial0 O IA 11.0.0.0/8 [110/128] via 10.0.0.2, 00:01:03, Serial0 C 192.168.1.0/24 is directly connected, Ethernet0 O IAO IA – for OSPF [110/74] via ofOSPF 192.168.2.0/24 110 isnothing OSPF Metric 10.0.0.2, 00:01:03, Serial0 O IA – for OSPF 110 isMetricof but nothing but Administrative Distance O IAInterArea routes [110/138] via 10.0.0.2, 00:00:13, Serial0 192.168.3.0/24 Inter Area routes Cost Administrative Distance Cost Hyderabad# 6
  • 7. Hyderabad# show ip ospf database OSPF Router with ID (192.168.1.150) (Process ID 1) Router Link States (Area 1) Link ID 192.168.1.150 192.168.2.150 ADV Router 192.168.1.150 192.168.2.150 Age 272 273 Seq# Checksum Link 0x80000003 0xA163 3 0x80000002 0xBACC 2 Summary Net Link States (Area 1) Link ID 11.0.0.0 192.168.2.0 192.168.3.0 ADV Router 192.168.2.150 192.168.2.150 192.168.2.150 Age 273 273 208 Seq# 0x80000001 0x80000001 0x80000001 Checksum 0xDA15 0x8441 0xFB88 Hyderabad# show ip ospf neighbor Neighbor ID 192.168.2.150 Hyderabad# Pri 1 State FULL/ - Dead Time 00:00:32 Address 10.0.0.2 7
  • 8. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.2.150 Connecting ..... ================================ Welcome to Chennai Router ================================ User Access Verification password : **** Directly Connected Networks on Chennai> enable Directly Connected Networks on CHENNAI Router password : **** CHENNAI Router Chennai# configure terminal 192.168.2.0 192.168.2.0 Enter configuration commands, one per line. End with CNTL/Z. 10.0.0.0 10.0.0.0 Chennai(config)# interface serial 1 11.0.0.0 11.0.0.0 Chennai(config-if)# ip address 10.0.0.2 255.0.0.0 Chennai(config-if)# no shut Chennai(config-if)# encapsulation hdlc Chennai(config-if)# interface serial 0 Chennai(config-if)# ip address 11.0.0.1 255.0.0.0 Chennai(config-if)# no shut Chennai(config-if)# encapsulation hdlc 8
  • 9. Chennai(config)# no ip routing Chennai(config)# ip routing Chennai(config)# router ospf 2 Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0 Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 1 Chennai(config-router)# network 11.0.0.0 0.255.255.255 area 2 Configuring OSPF Configuring OSPF Chennai(config-router)# Router(config)# router ospf <pid> Router(config)# router ospf <pid> Router(config-router)# network <Network ID> Router(config-router)# network <Network ID> <wildcard mask> area <area id> <wildcard mask> area <area id> 9
  • 10. Chennai(config)# no ip routing Chennai(config)# ip routing Chennai(config)# router ospf 2 Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0 Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 1 Chennai(config-router)# network 11.0.0.0 0.255.255.255 area 2 Chennai(config-router)# ^Z Chennai# show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set C 10.0.0.0/8 is directly connected, Serial1 C 11.0.0.0/8 is directly connected, Serial0 O 192.168.1.0/24 [110/74] via 10.0.0.1, 00:01:04, Serial1 C 192.168.2.0/24 is directly connected, Ethernet0 O 192.168.3.0/24 [110/74] isMetricof OSPF 00:00:09, Serial0 Metric of OSPF 110 isnothing but 110 via 11.0.0.2, nothing but O – for OSPF routes O – for OSPF routes Administrative Distance Chennai# Cost Administrative Distance 10 Cost
  • 11. Chennai# show ip ospf database OSPF Router with ID (192.168.2.150) (Process ID 2) Router Link States (Area 0) Link ID 192.168.2.150 ADV Router 192.168.2.150 Age 472 Seq# Checksum Link 0x80000002 0xEFC7 1 Summary Net Link States (Area 0) Link ID 10.0.0.0 11.0.0.0 192.168.1.0 192.168.3.0 ADV Router 192.168.2.150 192.168.2.150 192.168.2.150 192.168.2.150 Age 462 472 452 396 Seq# 0x80000001 0x80000001 0x80000001 0x80000001 Checksum 0xE709 0xDA15 0x1274 0xFB88 Router Link States (Area 1) Link ID 192.168.1.150 192.168.2.150 --More—- ADV Router 192.168.1.150 192.168.2.150 Age 463 462 Seq# Checksum Link 0x80000003 0xA163 3 0x80000002 0xBACC 2 11
  • 12. Summary Net Link States (Area 1) Link ID 11.0.0.0 192.168.2.0 192.168.3.0 ADV Router 192.168.2.150 192.168.2.150 192.168.2.150 Age 462 465 400 Seq# 0x80000001 0x80000001 0x80000001 Checksum 0xDA15 0x8441 0xFB88 Router Link States (Area 2) Link ID 192.168.2.150 192.168.3.150 ADV Router 192.168.2.150 192.168.3.150 Age 415 416 Seq# Checksum Link 0x80000003 0xDAA8 2 0x80000003 0xD328 3 Summary Net Link States (Area 2) Link ID 10.0.0.0 192.168.1.0 192.168.2.0 ADV Router 192.168.2.150 192.168.2.150 192.168.2.150 Chennai# show ip ospf Neighbor ID Pri 192.168.3.150 1 192.168.1.150 1 Chennai# neighbor State FULL/ FULL/ - Age 465 455 475 Seq# 0x80000001 0x80000001 0x80000001 Dead Time 00:00:35 00:00:32 Checksum 0xE709 0x1274 0x8441 Address 11.0.0.2 10.0.0.1 12
  • 13. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> telnet 192.168.3.150 Connecting ..... ================================ Welcome to Banglore Router ================================ User Access Verification password : **** Directly Connected Networks on Banglore> enableDirectly Connected Networks on Banglore Router password : **** Banglore Router Banglore# configure terminal 192.168.3.0 192.168.3.0 Enter configuration commands, one per line. End with CNTL/Z. 11.0.0.0 11.0.0.0 Banglore(config)# interface serial 1 Banglore(config-if)# ip address 11.0.0.2 255.0.0.0 Banglore(config-if)# no shut Banglore(config-if)# clockrate 64000 Banglore(config-if)# encapsulation hdlc Banglore(config-if)# exit Banglore(config)# 13
  • 14. Banglore(config)# no ip routing Banglore(config)# ip routing Banglore(config)# router ospf 1 Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 2 Banglore(config-router)# network 11.0.0.0 0.255.255.255 area 2 Banglore(config-router)# Configuring OSPF Configuring OSPF Router(config)# router ospf <pid> Router(config)# router ospf <pid> Router(config-router)# network <Network ID> Router(config-router)# network <Network ID> <wildcard mask> area <area id> <wildcard mask> area <area id> 14
  • 15. Banglore(config)# no ip routing Banglore(config)# ip routing Banglore(config)# router ospf 1 Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 2 Banglore(config-router)# network 11.0.0.0 0.255.255.255 area 2 Banglore(config-router)# ^Z Banglore# show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set O IA 10.0.0.0/8 [110/128] via 11.0.0.1, 00:02:26, Serial1 C 11.0.0.0/8 is directly connected, Serial1 O IAO IA – for OSPF [110/138] via OSPF 192.168.1.0/24 Metric of 11.0.0.1, 00:02:26, Serial1 O IA – for OSPF 110 isMetricof but 110 isnothing OSPF nothing but O IA 192.168.2.0/24 [110/74] viaDistance Administrative Distance 00:02:26, Serial1 Inter Area routes Cost Administrative 11.0.0.1, Inter Area routes Cost C 192.168.3.0/24 is directly connected, Ethernet0 Banglore# 15
  • 16. Banglore# show ip ospf database OSPF Router with ID (192.168.3.150) (Process ID 1) Router Link States (Area 2) Link ID 192.168.2.150 192.168.3.150 ADV Router 192.168.2.150 192.168.3.150 Age 935 934 Seq# Checksum Link 0x80000003 0xDAA8 2 0x80000003 0xD328 3 Summary Net Link States (Area 2) Link ID 10.0.0.0 192.168.1.0 192.168.2.0 ADV Router 192.168.2.150 192.168.2.150 192.168.2.150 Age 985 975 995 Seq# 0x80000001 0x80000001 0x80000001 Checksum 0xE709 0x1274 0x8441 Banglore# show ip ospf neighbor Neighbor ID 192.168.2.150 Banglore# Pri 1 State FULL/ - Dead Time 00:00:36 Address 11.0.0.1 16
  • 17. Hyderabad# ping 192.168.3.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Hyderabad# ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Hyderabad# 17
  • 18. Chennai# ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Chennai# ping 192.168.3.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Chennai# 18
  • 19. Banglore# ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Banglore# ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Banglore# 19