1 chapter 3. configuring ospf in a single area. 2 table of contents ospf overview ospf terminology...

79
1 Chapter 3. Configuring OSPF in a Single Area

Upload: arthur-ross

Post on 17-Jan-2016

468 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

1

Chapter 3.Configuring OSPF in a

Single Area

Page 2: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

2

Table of Contents

• OSPF Overview• OSPF Terminology• OSPF Operation in a Broadcast

Multiaccess Topology• OSPF Operation in a Point-to-Point

Topology• OSPF Operation in an NBMA Topology• Configuring OSPF in a Single Area• Verifying OSPF Operation• Summary

Page 3: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

3

OSPF Overview

• OSPF in an IP Packet

Page 4: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

4

OSPF(Open Short Path First) Overview

OSPF(Open Shortest Path First) 는 IETF(Internet Engineering Task Force) 의 IGP(Interior Gateway Protocol) Working Group 에 의해 , IP 네트웍을 위해 개발되었다 . 이 Working Group 은 인터넷 , 대단위 , 국제적 네트웍에서의 사용을 위한 SPF(Shortest Path First : 간혹 개발자의 이름을 따 Dijkstra 알고리즘이라 불린다 ) 알고리즘에 기초한 IGP 를 디자인 하기 위해 1988 년에 형성되었다 . OSPF 는 규모가 크고 성장하는 네트워크를 위해 고안 되었다 .RIP 의 한계를 극복하기 위해서 고안 되었다 .( 라우터가 50 개 이상인 경우에는 OSPF 의 사용을 검토해 볼 필요가 있다 .)

OSPF 는 Link State Protocol 로서 현재의 버전은 OSPF version 2이다 .(RFC 2328: April 1998, RFC 1247: 1991)

IGP(Interior Gateway Protocol) 이다 .

Page 5: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

5

OSPF(Open Short Path First) Overview

Convergence 의 속도 : Routing Change 가 즉시 Flooding 되어 각 라우터에서 Parallel 하게 계산 되므로 대단히 빠르다 .

VLSM 및 CIDR 을 지원한다 .

Network Reachability : OSPF 는 Reachability Limitation 이 없다 .

Use of Bandwidth : 네트워크에 변화가 있을 때만 Multicast 로 Link State Update 를 한다 .( 매 30 분 간격으로 모든 라우터간의 sync 를 확인하기 위한 Update 도 있다 .: 모든 LSA 에는 각각 Aging Timer(Default 30 분 ) 가 있어 Timeout 이 되면 LSA 를 발생시켰던 라우터가 LSA 를 다시 보낸다 .)

Method of path selection : OSPF 는 Bandwidth 에 기초한 Cost Value 를 Path Selection 에 사용한다 .OSPF 는 Equal-Cost Multiple Path 를 지원한다 .

Page 6: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

6

Dijkstra Overview

Shortest Path First (SPF) AlgorithmLink state databaseTENT database

Tentative triples (ID, path cost, direction)PATH database

Best path triples (ID, path cost, direction)Forwarding database

B B A A C C

D D

E E F F G G

4

2

2 2

2

1 4

1

Page 7: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

7

Page 8: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

8

Dijkstra Overview

B B A A C C

D D

E E F F G G

4

2

2 2

2

1 4

1

B C D E F

B/4

G/2

G

A/4

C/1

A

B/1

D/4

E/2

C/4

E/1

C/2

D/1

F/2

E/2

G/2

A/2

F/2

Page 9: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

9

Dijkstra Protocols - CLNS/DECnet Phase 5 (connectionless mode network Service) - IS-IS (intermediate sytem- to – Intermediate system) - OSPF - NLSP

• Now fill in G• FG is removed• AG is in path

C C

B B

A A

(0)

(1) (4)

(6) G G

(4)

(3)

D D

E E

C C

(5) F F

Dijkstra Overview

Page 10: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

10

Page 11: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

11

OSPF in an IP Packet

IP Header

Protocol Number

Frame Header

CRCPacket Payload

Frame Payload

89 - OSPF 6 - TCP17 - UDP

89 - OSPF 6 - TCP17 - UDP

OSPF 는 Link-State Routing Protocol 이다 .

•Routing Information 의 전달을 위해서 IP Packet 을 사용한다 .

•IP Protocol Number 89 번을 사용한다 .

•OSPF Current Version 은 Version 2 이다 .

Page 12: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

12

Page 13: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

13TCP

HeaderPort No.

SegmentPayload

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

6 - TCP6 - TCP 179 - BGP179 - BGP

UDP Header

Port No.

DatagramPayload

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

17 – UDP17 – UDP 520 - RIP520 - RIP

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

88 – EIGRP89 – OSPF9 - IGRP

88 – EIGRP89 – OSPF9 - IGRP

RIP, IGRP, OSPF, EIGRP, BGP PDU Diagram

Page 14: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

14

OSPF Terminology

• Link-State and OSPF Components

Page 15: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

15

Autonomous System

RoutingTable

Lists Best Routes

Topology Database

Lists All Routes

Neighborship Database

Lists Neighbors

Cost = 10

Cost = 1785 Cost = 6

Neighbors

TokenRing

Interfaces

Area 1Area 0

OSPF Component

Area 는 Interface 별로 정의 된다 . Area 내의 모든 라우터는 동일한 Topology Database 를 갖는다 . Cost 는 100M 의 Link 가 1 의 값을 갖는다 . ip ospf cost 명령을 사용하여 수동으로 설정이 가능하다 . cost= 10000 0000/bandwith in bps예를 들어 , 10M 이더넷의 경우 10 EXP8/10 EXP7 = 10 이고 , T1 라인의 경우 10 EXP8/1544000 = 64 이다 .

Page 16: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

16

OSPF Topologies

Point-to-Point

( 전용선 )

NBMA X.25Frame Relay

Broadcast Multiaccess (Ethernet 등 LAN)

Page 17: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

17

OSPF Operation in a Broadcast Multiaccess

Topology• Designated Router and Backup

Designated Router• OSPF Startup• Choosing Routes• Maintaining Routing Information

Page 18: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

18

Hello

afadjfjorqpoeru39547439070713

Router IDHello/dead intervalsNeighborsArea-IDRouter priorityDR IP addressBDR IP addressAuthentication passwordStub area flag

* *

*

*

Hello

AA

DD EE

CCBB

Contents of OSPF Hello PacketHello Protocol 은 Neighbor Relationship 을 맺고 유지한다 .

Hello Packet 은 OSPF 에 참가한 Interface 로부터 주기적으로 멀티캐스트 ( 224.0.0.5) 된다

Hello Packet 에 있는 Information

* Entry 는 neighboring router 간에 반드시 일치해야 한다 . 일치하지 않는 경우는 Adjacency 를 맺을 수 없다 .

Page 19: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

19

Page 20: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

20

OSPF Packet Header

Version Number

TypePacket Length

RouterID

AreaID Checksum Authentica

-tion TypeAuthent-ication

Data

1 1 2 4 4 2 2 8 Variable

•Type 1, Hello : Hello Packet 이다 . Neighbor Relationship 을 맺고 유지하는데 사용된다 .•Type 2, DBD(Database Description) : Topology Database 의 내용에 대한 전체적인 Description 으로 Adjacency 가 초기화 될 때 , 라우터간에 교환된다 .•Type 3, LSR(Link State Request) : 자신의 Topology Database 가 Neighbor Router 의 DBD 에 표시된 LSA Sequence 번호보다 오래 된 경우 , Topology Database 에 대한 요청을 보내는 경우에 사용된다 .•Type 4, LSU(Link State Update) : LSR Packet 에 대한 응답 패킷으로 LSA(Link State Advertisement) 를 담고 있다 . 하나의 LSU 에 복수의 LSA를 포함할 수 있다 .•Type 5, LSA(Link State Acknowledgement) : LSU 에 대한 Ack Packet이다 .

OSPF Packet Type : OSPF Packet 의 Type 을 나타낸다 .

Page 21: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

21

Page 22: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

22

•Type 2, DBD(Database Description) : Topology Database 의 내용에 대한 전체적인 Description 으로 Adjacency 가 초기화 될 때 , 라우터간에 교환된다 .

Page 23: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

23

•Type 3, LSR(Link State Request) : 자신의 Topology Database 가 Neighbor Router 의 DBD 에 표시된 LSA Sequence 번호보다 오래 된 경우 , Topology Database 에 대한 요청을 보내는 경우에 사용된다 .

Page 24: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

24

LSA #1

Page 25: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

25

Page 26: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

26

Page 27: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

27

Page 28: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

28

DRDR BDRBDR

Adjacency with DR and BDR

Ethernet 등 LAN 환경에서는 DR, BDR 을 선출하여 그것들을 중심으로 LSA 를 교환한다 .Hello Packet 을 사용하여 Segment 를 대표하는 DR, BDR 을 선출한다 .이후 각각의 라우터는 DR, BDR 과의 Adjacency 를 확보한다 .BDR 은 라우터 들로부터 LSA 를 받지만 Flooding 시키지 않는다 . DR Fail 시에 DR 로 작동한다 .

Page 29: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

29

Hello packet 은 IP multicast(224.0.0.5) 를 사용하여 교환된다 . Interface 의 Default OSPF priority 는 1 이다 .OSPF Priority 가 동일한 경우

가장 높은 라우터 ID 를 갖는 라우터가 DR 로 선출된다 . OSPF 의 우선 순위가 높은 라우터 , 또는 Router ID 가 높은 라우터가 네트워크

상에 나타나도 DR, BDR 은 바뀌지 않는다 . debug ip ospf adj 명령을 통해 DR/BDR Election Process 를 관찰할 수 있다 .

P=1 P=0P=1

P=3 P=2

DRDR BDRBDR

Hello

Election of DR and BDR

Page 30: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

30

172.16.5.1/24E0

I am router ID 172.16.5.2, and I see 172.16.5.1.(Unicast)

Router ANeighbors List

172.16.5.2/24, int E0

172.16.5.2/24E1

Router BNeighbors List

172.16.5.1/24, int E1

I am router ID 172.16.5.1 and I see no one.(224.0.0.5)

Down State

Init State

Two-Way State

A B

Exchange Process

상대방 라우터가 보내는 Hello Packet 의 Neighbor List 에 나의 라우터 ID 가 나타난 시점이 Two-Way State 이다 . Two-Way State 가 맺어지면 DR 선출 등 Adjacency 설정 절차로 들어간다 . Adjacency 가 확보되어야 비로소 LSA 를 주고 받는다 .

Page 31: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

31

Here is a summary of my link-state database.DBD

afadjfjorqpoeru39547439070713

Exchange State : Master(DR) 와 Slave(DR Other) 간에 DBD 를 교환한다 .

Here is a summary of my link-state database.DBD

afadjfjorqpoeru39547439070713

E0

172.16.5.1

DRE0

172.16.5.3

No, I will start exchange because I have a higher router ID.

I will start exchange because I have router ID 172.16.5.1.Hello

afadjfjorqpoeru39547439070713

Hello

afadjfjorqpoeru39547439070713

Exstart State : DR 과 DR Other 사이에 Master/Slave 관계가 형성된다 .

Discovering Route

Page 32: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

32

Full State : LSR 에 대한 LSU 를 받은 후 LSAck 를 Master 가 수신한 상태이다 .

I need the complete entry for network 172.16.6.0/24.

Here is the entry for network 172.16.6.0/24.

Thanks for the information!

LSR

afadjfjorqpoeru39547439070713

LSAck

afadjfjorqpoeru39547439070713

LSU

afadjfjorqpoeru39547439070713

Loading State : Slave 가 DBD 를 점검하여 Master 에 LSR 을 요청하는 단계이다 .

E0

172.16.5.1

E0

172.16.5.3

Thanks for the information!LSAck

afadjfjorqpoeru39547439070713

LSAck

afadjfjorqpoeru39547439070713

DR

Discovering Route

Page 33: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

33

Page 34: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

34

Page 35: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

35

Page 36: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

36

Page 37: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

37

Page 38: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

38

Page 39: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

39

Page 40: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

40

Topology TableNet Cost Out Interface10.2.2.0 6 To010.3.3.0 7 To010.3.3.0 10 E0

TokenRing

Cost=10

Cost=6FDDI

Cost=1

A B C

This is the best route to 10.3.3.0.

10.1.1.0/24 10.2.2.0/24 10.3.3.0/24

10.4.4.0/24

Choosing Routes

Page 41: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

41

TOS(Type Of Service) 기능이 Enable 되어 있으면 Metric 은 Link 의 Delay, Throughput, Reliability 이용한다 . 그러나 많은 메모리가 필요하므로 Cisco 라우터에서는 디폴트로 TOS 기능의 활성화 되어 있지 않다 . 따라서 Link 의 대역 (Cost 값 ) 만을 이용한다 .Cost 값은 경유하는 링크의 누적 값이 된다 .

Cost = SUM(10^8/Bandwidth 1, ... ,10^8/Bandwidth N)

예 ) 1.544M serial(64) + 10M ethernet(10) = 74

OSPF Metric

10M ethernet : 10^8 / 10000000 = 101.544M Serial : 10^8 / 1544000 = 64

Page 42: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

42

I need to update my routing table.

4

LSU

3

LSU

2

xxLink-State Change

LSU1

DRDR

AA BB

Maintaining Routing Inforamtion

Link State 에 변화가 있는 경우 , Router A 가 LSU 를 OSPF DR, BDR 에 224.0.0.6번으로 Multicast 한다 .LSU Update 를 받은 DR 은 일반 라우터에 224.0.0.5 번으로 LSU 를 Multicast 한다 .LSU Packet 에 LSA(Link State Advertise) Entry 가 들어 있다 .LSU 를 받은 라우터는 Link State Database(Topology Database) 를 Update 한 후 , 일정시간의 Delay(Default 5 초 ) 후에 SPF Algorithm 을 작동시켜 새로운 라우팅테이블을 생성한다 . 일정시간의 Delay 는 Flapping 에 대한 대비이다 .다른 OSPF Interface 가 있는 경우 , Flooding 한다 .timer spf spf-delay-time spf-holdtime 명령 (Router Configuration 명령 ) 을 사용하여 SPF Algorithm 작동시 까지의 Delay Time(Default 5 초 ) 과 연속적인 재계산 사이의 경유해야 하는 시간 (Default 10 초 ) 을 설정할 수 있다 .

Page 43: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

43

When a Link Changes State

Page 44: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

44

YesNo

Send LSUwith newer

information to source

Is LSA’s seq. #higher?

No

Yes

Is LSA’s seq. # the same?

Yes

Ignore LSAIs entry inlink-state

database? LSA

LSU

No

Run SPF to calculate new routing table

Add to database

Flood LSA

Send LSAckto DR

End End

Analyzing an LSU

Page 45: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

45

OSPF Operation in a Point-to-Point Topology

Page 46: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

46

Point-to-Point Neighborship

Router 는 Hello Protocol 을 사용하여 Dynamic 하게 Neighboring Router 를 Detection 한다 . No Election: Router 가 Communication 을 시작하면 Adjacency 가 자동으로 이루어지므로 Point-to-Point Neighborship 에서는 Election 이 필요 없다 . Point-to-Point Neighbor 간의 OSPF Packet 은 항상 Multicast 224.0.0.5 로 보내어 진다 . PRI/BRI 연결에서 OSPF 를 사용하는 경우에는 dialer map 명령을 사용하여 Neighbor Router 의 IP Address 와 전화번호를 Mapping 해주어야 하며 , 라우팅 정보 교환을 원하는 경우는 Broadcast 키워드를 사용한다 . Async Link 에서 OSPF Routing 을 시키는 경우는 async default routing 명령을 사용하여야 라우팅 정보가 Neighbor Router 로 넘어 간다 .

Page 47: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

47

네트워크 Address 또는 Interface Address 를 할당한다 .

Broadcast Network Point-to-Point Network

E0

10.64.0.1

10.64.0.2E0

S0

10.2.1.2 10. 2.1.1S1

AA BB CC

<Output Omitted>interface Ethernet0 ip address 10.64.0.1 255.255.255.0!<Output Omitted>router ospf 1 network 10.64.0.0 0.0.0.255 area 0

<Output Omitted>interface Ethernet0 ip address 10.64.0.2 255.255.255.0!interface Serial0 ip address 10.2.1.2 255.255.255.0<Output Omitted>router ospf 1 network 10.2.1.2 0.0.0.0 area 0 network 10.64.0.2 0.0.0.0 area 0

Configuring OSPF in a Single Area

참고 : Process ID 를 두개 이상 사용하는 경우는 Neighbor Router 와 일치하는 Process ID가 유효하다 . Area_ID 은 4 Octet 의 Dotted Decimal Format 으로 표현할 수 있다 . 예를 들어 Backbone Area 는 0.0.0.0 으로 일반 Area 는 192.168.1.0 등으로 표현하여 IP 대역을 표시하게 할 수 있다 .

Page 48: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

48

Optional OSPF Configuration Command

Router Priority

Router(config-if)# ip ospf priority number

Number 는 0 에서 255 까지 사용이 가능하다 . Default 는 1이며 0 은 DR 이나 BDR 이 될 수 없음을 의미한다 .

Router ID 라우터가 OSPF 에 알려지는 Number 이다 . Default: OSPF Process 가 Startup 시의 Active Interface 의 IP Address 중 가장 높은 IP Address 가 Router ID 가 된다 . Loopback Interface 가 있으면 Override 한다 . 이 경우 Active Loopback Interface 중 가장 높은 IP Address 가 Router ID 가 된다 . Router ID 는 OSPF Process 가 Re-Startup 시에 재계산 된다 .Router 의 Router ID 를 판단하기 위해서는 show ip ospf interface 명령을 사용한다 .

Page 49: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

49

Cisco Non-Cisco

Traffic

TokenRing

Optional OSPF Configuration Command

나가는 Interface 에 Cost 를 부여한다 . Non-Cisco Device(OSPF Cost 계산방법이 시스코와 상이할 수 있다 .)와의 Interoperability 를 위해서 사용될 수 있다 .Cisco Device 간에는 Default Cost 를 사용한다 .Default cost 는 공식 10^8/bandwidth(in bps) 로 계산된다 .(56K Serial :1785, T1 : 64, Ethernet : 10, Fast Ethernet : 1)Serial Line 의 경우 , Default Bandwidth 는 1.544Mbps 이다 . 실제 링크 스피드를 명시하기 위하여 bandwidth 명령을 사용한다 .Ethernet 등의 경우도 Bandwidth 설정을 바꾸면 즉시 적용된다 .

Router(config-if)#ip ospf cost cost

Page 50: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

50

Router(config-router)# auto-cost reference-bandwidth reference-bandwidth

Cost Modification

Cost 계산 공식의 분모값 (Default 100M=10^8) 을 reference-bandwidth 설정 값으로 바꾸어 Gigait Ethernet, ATM 등 100Mbps 의 속도를 초과하는 Link 에 대해 보다 정교한 Cost 값을 갖도록 한다 .

Reference-bandwidth 의 단위는 Mbps 로 Range 는 1 에서 4294967 까지 가능하다 . 값을 명시하지 않으면 Defualt 로 100M 이다 . (reference-bandwidth값이 100 이다 )

참고 : ip ospf cost 명령을 사용하여 부여한 Cost 는 auto-cost 에 의해 계산된 값을 항상 Override 한다 .( 우선한다 .)

Page 51: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

51

OSPF Configuration Command ( 기타 )

ip ospf authentication-key password : OSPF Neighbor Router 간에 인증을 하게 한다 . Neighbor Router 간에 Password 가 일치해야 한다 .

Page 52: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

52

OSPF Operation in an NBMA Topology

• OSPF over NBMA Topology-Modes of Operation

• NBMA Mode Neighborship

Page 53: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

53

NBMA Topology

X.25

Frame Relay

ATM

Multiple Site 를 연결하는 데 Single Interface 가 사용된다 . NBMA Topology 는 Multiple Router 와의 연결을 지원하나 LAN 환경의 Broadcasting 을 지원하지 않는다 . OSPF 는 NBMA 환경을 Ethernet 과 같은 Multiple Access Broadcast 환경과 동일하게 인식하므로 DR, BDR 선출이 필요한데 Broadcasting Capability 가 지원되지 않는 NBMA 환경에서는 DR, BDR 선출이 자동으로 이루어 질 수 없으므로 , 수동으로 Neighbor 를 설정해 주어야 한다 .

Page 54: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

54

OSPF EnvironmentOSPF Environment Hello IntervalHello Interval Dead IntervalDead IntervalBroadcast 10 sec 40 secPoint-to-Point 10 sec 40 secNBMA 30 sec 120 sec

Default Hello and Dead Intervals

ip ospf hello-interval, ip ospf dead interval 명령 (Interface Configuration Mode 에서 설정한다 .) 을 사용하여 바꿀 수 있다 .

backbone_r1(config)#interface fastEthernet 0backbone_r1(config-if)#ip ospf hello-interval 15backbone_r1(config-if)#ip ospf dead-interval 60

Page 55: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

55

Frame Relay Topologies

Star (Hub and Spoke)

Full Mesh

Partial Mesh

Page 56: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

56

RoutingUpdate

A C

B

2

3

1 B

C

D

A

Routing Update Isssue

Routing Update 를 하는 Broadcast/Multicast traffic 이 모든 VC(Virtual Circuit) 로 각각 전달 되어야 한다 . 라우터 B 로부터의 라우팅 Update 가 라우터 A 로 전달되면 , 라우터 A는 라우터 C, D 에 라우터 B 로 부터 받은 라우팅 Update 를 전달하지 않는다 .(VC 는 다수이나 Interface 는 하나를 사용하므로 , 같은 Interface 로 부터 받은 Routing Update 를 같은 Interface 로 내보내지 않는 Split Horizon 에 의해서 이러한 현상이 발생한다 .)

Page 57: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

57

Subnet A

Subnet B

Subnet C

S0

PhysicalInterface

S0.1S0.2S0.3

Logical Interface

NBMA 환경에서 Split horizon 이 Routing Update 에 문제를 발생 시킨다 .

Subinterface 를 설정하면 split horizon issue 를 해결할 수 있다 .

Subinterface 를 설정하면 하나의 physical interface 가 복수의 Logical Interface 를 Simulation 할 수 있다 .

NBMA 환경에서의 Split Horizon 과 Solution

Page 58: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

58

Point-to-Point• Subinterface가 전용선 처럼 작동한다 .• 각각의 Point-to-Point Sub-interface가 각각의 서브넷을 필요로 한다 .

• Hub and Spoke Topology에 적용이 가능하다 .

Multipoint• Subinterface가 NBMA Network으로 작동하여 split horizon issue를 해결하지 못한다 . Broadcast 키워드와 함께 수동으로 Map을 잡아 주어 Split Horizon을 생기는 문제를 해결할 수 있다 .

• Single Subnet을 사용하므로 Address를 절약할 수 있다 .• Full-Mesh Topology나 Partial-Mesh Topology에서 사용될 수 있다 .

Sub-Interface Configuration

Page 59: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

59

Frame Relay 망은 기본적으로 NBMA(Nonbroadcast Multiaccess)이므로 하나의 라우터 인터페이스가 여러 개의 PVC 에 연결된 스타형 연결의 경우 , 하나의 DLCI 로 부터 전달받은 브로드캐스트를 다른 DLCI를 통해 전달하지 않는다 . 이는 Frame-Relay Interface 가 라우팅 루프를 방지하기 위하여 사용하는 Split Horizon 으로 인한 것이다 .

NBMA 의 경우도 Subinterface 를 사용하면 Point to Point 및 Multi-Point 연결을 통하여 Split Horizon 으로 인한 문제를 해결할 수 있다 . Subinterface 를 사용하면 마치전용선의 Point to Point 연결처럼 PVC를 처리할 수 있다 .

Full Mesh 의 경우는 Subinterface 를 설정하지 않으면서 , Same Subnet 으로 구성할 수도 있고 , Subinterface 를 Multi-Point 로 잡으면서 Same Subnet 으로 구성할 수 있다 .

Star 형 프레임릴레이 연결과 Full Mesh 형 연결

Page 60: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

60

A

10.17.0.1s0.2

B

interface Serial0 no ip address encapsulation frame-relay!interface Serial0.2 point-to-point ip address 10.17.0.1 255.255.255.0 bandwidth 64 frame-relay interface-dlci 110!interface Serial0.3 point-to-point ip address 10.18.0.1 255.255.255.0 bandwidth 64 frame-relay interface-dlci 120!

s0.310.18.0.1

C

10.17.0.2

10.18.0.2

DLCI=110

DLCI=120

Point to Point Sub-Interface

각각의 Subinterface 에 대하여 해당 dlci 값을 반드시 할당한다 .

Page 61: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

61

interface Serial2 no ip address encapsulation frame-relay!interface Serial2.2 multipoint ip address 10.17.0.1 255.255.255.0 bandwidth 64 frame-relay map ip 10.17.0.2 120 broadcast frame-relay map ip 10.17.0.3 130 broadcast frame-relay map ip 10.17.0.4 140 broadcast

s2.1=10.17.0.2/24s2.2=10.17.0.1/24

s2.1=10.17.0.4/24

s2.1=10.17.0.3/24

RTR1

B

RTR3

RTR4

DLCI=120

DLCI=130

DLCI=140

Multi- Point Sub-Interface

하나의 Multipoint Subinterface 를사용하므로 IP Address 와 DLCI Map 을 설정해 준다 .

Page 62: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

62

DR Selection in NBMA Topology

OSPF 는 NBMA Network 를 Broadcast Media 와 동일하게 취급하여 DR 과 BDR 을 선출한다 .

DR,BDR,DR Other 라우터들 간에 Neighbor 설정해 주어야 한다 .

Page 63: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

63

Subinterfaces

NBMA Topology 에서 주로 사용된다 .

Physical Interface 는 Subinterface 라 불리우는 복수의 Logical Interface 로 나누어 질 수 있다 .

point-to-point 또는 multipoint 일 수 있다 .

point-to-point subinterface 상의 Default OSPF Mode 는 point-to-point Mode 이다 .

point-to-multipoint subinterface 상의 Default OSPF Mode 는 NBMA(nonbroadcast multiaccess) Mode 이다 .

Page 64: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

64

Configuring OSPF in a Single Area

• Optional OSPF Configuration Commands• Configuring OSPF over NMBA Topology

Page 65: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

65

R1(config)#interface Serial0

R1(config-if)#ip address 10.1.1.1 255.255.255.0

R1(config-if)#encapsulation frame-relay

R1(config-if)#ip ospf network non-broadcast

R1(config)#router ospf 1

R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

R1(config-router)#neighbor 10.1.1.2

R1(config-router)#neighbor 10.1.1.3

R1(config-router)#neighbor 10.1.1.4

Configuring OSPF in NBMA Mode

Fully-Meshed Network 에서 사용된다 . 하나의 IP subnet 을 사용한다 .DR/BDR Election 이 필요하다 . Neighbor 설정은 반드시 필요하다 .RFC 2328 호환이다 . ( 표준이다 .)NBMA 환경에서의 OSPF 는 Nonbroadcast mode 가 default이므로 , ip ospf network 명령을 주지 않아도 된다 .

Page 66: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

66

R1(config)#interface Serial0

R1(config-if)#no ip address

R1(config-if)#encapsulation frame-relay

R1(config)#interface Serial0.1 multipoint

R1(config-subif)#ip address 10.1.1.1 255.255.255.0

R1(config-subif)#ip ospf network point-to-multipoint

R1(config)#router ospf 1

R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

Configuring OSPF in Point-to-Multipoint Mode

Partially-Meshed Topology 또는 Star Topology 의 경우에 설정 된다 . 하나의 IP subnet 을 사용한다 . DR/BDR Election 이 없다 . Neighbor 설정 Statement 가 필요 없다 .(Adjacency 가 자동으로 맺어 진다 .) ip ospf network point-to-multipoint 명령은 주어야 한다 . (point-to-multipoint subinterface 상의 Default OSPF Mode 는 NBMA Mode 로 설정되기 때문이다 .) RFC 2328 호환이다 .( 표준이다 .)

Page 67: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

67

R1(config)#interface Serial0

R1(config-if)#ip address 10.1.1.1 255.255.255.0

R1(config-if)#encapsulation frame-relay

R1(config-if)#ip ospf network broadcast

R1(config)#router ospf 1

R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

R1(config)#interface Serial0

R1(config-if)#ip address 10.1.1.1 255.255.255.0

R1(config-if)#encapsulation frame-relay

R1(config-if)#ip ospf network broadcast

R1(config)#router ospf 1

R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

Configuring OSPF in Broadcast Mode

Fully-Meshed Network 에서 사용된다 .DR/BDR Election 을 한다 .Broadcast Mode 이므로 Neighbor 설정 Statement 가 필요 없다 .Cisco Proprietary 이다 .

Page 68: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

68

Star Topology 의 경우에 설정 된다 . Sub-interface 별로 상이한 서브넷을 사용한다 . DR/BDR Election 을 하지 않는다 . Neighbor 설정 Statement 가 필요 없다 .(Adjacency 가 자동으로 맺어 진다 .) point-to-point subinterface 상의 Default OSPF Mode 는 point-to-point Mode 이므로 ip ospf network broadcast 명령을 사용할 필요가 없다 . Cisco Proprietary 이다 .

Configuring OSPF in Point-to-Point Mode

R1(config)#interface Serial0

R1(config-if)#no ip address

R1(config-if)#encapsulation frame-relay

R1(config)#interface Serial0.1 point-to-point

R1(config-subif)#ip address 10.1.1.1 255.255.255.0

R1(config-subif)#frame-relay interface-dlci 51

R1(config)#interface Serial0.2 point-to-point

R1(config-subif)#ip address 10.1.2.1 255.255.255.0

R1(config-subif)#frame-relay interface-dlci 52

R1(config)#router ospf 1

R1(config-router)#network 10.1.0.0 0.0.255.255 area 0

Page 69: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

69

OSPF over NBMA Topology Summary

RFC orCisco

PreferredTopology

SubnetAddress

Adjacency

NBMA

Mode

Cisco

Cisco

RFC

Point-to-point

Fully meshed

Partial mesh or star, using subinterface

Same

Same

Different foreach subint.

Same

Manualconfiguration

DR/BDR elected

AutomaticNo DR/BDR

Same RFC

CiscoBroadcastAutomatic

DR/BDR elected

Point-to-multipoint

Partial mesh or star

AutomaticNo DR/BDR

Point-to-multipoint

nonbroadcast

Manual configurationNo DR/BDR

Partial mesh or star

Fully meshed

Page 70: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

70

Full Mesh 인 경우는 Subinterface 없이 동일한 Subnet 으로 Frame-Relay 설정을 한 후 , OSPF Mode 는 NBMA 또는 Broadcast Mode 를 사용할 수 있다 .

Star Topology 인 경우는 Point to Point, 또는 Multi-Point 로 Frame-Relay 설정을 한 후 , OSPF Mode 는 각각 Point-to-point 및 Point-to-multipoint 를 사용하면 된다 .

Partial Mesh 인 경우는 Point-to-multipoint 로 Frame-Relay 설정을 한 후 , OSPF Mode 는 Point-to-multipoint 를 사용하면 된다 .

OSPF over NBMA Topology Summary

Page 71: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

71

Verifying OSPF Operation

Page 72: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

72

OSPF 설정을 확인한다 .

라우터가 알고 있는 모든 Route 를 Display 한다 .

Verifying OSPF Operation

Router#show ip protocols

Router#show ip route (ospf)

Page 73: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

73

Verifying OSPF Operation

IP routing table 를 Clear 시키고 새로 Update 한다 .

hello, exchange, flooding process 등 Router 간 Interaction 을 Debugging 한다 .

Router#clear ip route *

Router#debug ip ospf option

Page 74: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

74

R2#sh ip ospf int e0Ethernet0 is up, line protocol is up Internet Address 192.168.0.12/24, Area 0 Process ID 1, Router ID 192.168.0.12, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DROTHER, Priority 1 Designated Router (ID) 192.168.0.11, Interface address 192.168.0.11 Backup Designated router (ID) 192.168.0.13, Interface address 192.168.0.13 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:04 Neighbor Count is 3, Adjacent neighbor count is 2 Adjacent with neighbor 192.168.0.13 (Backup Designated Router) Adjacent with neighbor 192.168.0.11 (Designated Router) Suppress hello for 0 neighbor(s)

show ip ospf interface

Area ID 와 adjacency information, OSPF Timers 와 Statistics 을 Display 한다 .

Page 75: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

75

Neighbor ID Pri State Dead Time Address Interface192.168.0.13 1 2WAY/DROTHER 00:00:31 192.168.0.13 Ethernet0192.168.0.14 1 FULL/BDR 00:00:38 192.168.0.14 Ethernet0192.168.0.11 1 2WAY/DROTHER 00:00:36 192.168.0.11 Ethernet0192.168.0.12 1 FULL/DR 00:00:38 192.168.0.12 Ethernet0

OSPF over Ethernet : Multiaccess Network

Neighbor ID Pri State Dead Time Address Interface192.168.0.11 1 FULL/ - 00:00:39 10.1.1.2 Serial1

OSPF over HDLC :Point-to-Point Network

show ip ospf neighbor (detail)DR, BDR,Neighbor 에 대한 정보를 보여 준다 .

Page 76: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

76

Neighbor ID Pri State Dead Time Address Interface192.168.0.12 1 FULL/DROTHER 0:01:56 10.1.1.2 Serial0192.168.0.13 0 FULL/DROTHER 0:01:34 10.1.1.3 Serial0192.168.0.11 1 FULL/BDR 0 :01:56 10.1.1.1 Serial0

OSPF over Frame Relay : NBMA Mode Using the neighbor Command

show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface192.168.0.14 1 FULL/DR 00:00:30 10.1.1.4 Serial0192.168.0.13 1 FULL/DROTHER 00:00:36 10.1.1.3 Serial0192.168.0.12 1 FULL/DROTHER 00:00:39 10.1.1.2 Serial0

OSPF over Frame Relay–Broadcast Mode

Page 77: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

77

R2#show ip ospf database

OSPF Router with ID (192.168.0.12) (Process ID 1)

Router Link States (Area 0)

Link ID ADV Router Ag Seq# Checksum Link count192.168.0.10 192.168.0.10 817 0x80000003 0xFF56 1192.168.0.11 192.168.0.11 817 0x80000003 0xFD55 1192.168.0.12 192.168.0.12 816 0x80000003 0xFB54 1192.168.0.13 192.168.0.13 816 0x80000003 0xF953 1192.168.0.14 192.168.0.14 817 0x80000003 0xD990 1

Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum192.168.0.14 192.168.0.14 812 0x80000002 0x4AC8

show ip ospf databaselink-state database(Topology Database) 를 보여 준다 .

Page 78: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

78

192.168.0.14 on Ethernet0, state 2WAYOSPF: end of Wait on interface Ethernet0OSPF: DR/BDR election on Ethernet0OSPF: Elect BDR 192.168.0.14OSPF: Elect DR 192.168.0.14 DR: 192.168.0.14 (Id) BDR: 192.168.0.14 (Id)OSPF: Send DBD to 192.168.0.14 on Ethernet0 seq 0x11DB opt 0x2 flag 0x7 len 32OSPF: Build router LSA for area 0, router ID 192.168.0.11OSPF: Neighbor change Event on interface Ethernet0OSPF: Rcv DBD from 192.168.0.14 on Ethernet0 seq 0x1598 opt 0x2 flag 0x7 len 32

state EXSTARTOSPF: NBR Negotiation Done. We are the SLAVEOSPF: Send DBD to 192.168.0.14 on Ethernet0 seq 0x1598 opt 0x2 flag 0x2 len 52OSPF: Rcv DBD from 192.168.0.14 on Ethernet0 seq 0x1599 opt 0x2 flag 0x3 len 92

state EXCHANGEOSPF: Exchange Done with 192.168.0.14 on Ethernet0OSPF: Send DBD to 192.168.0.14 on Ethernet0 seq 0x159A opt 0x2 flag 0x0 len 32OSPF: Synchronized with 192.168.0.14 on Ethernet0, state FULLOSPF: Build router LSA for area 0, router ID 192.168.0.11OSPF: Neighbor change Event on interface Ethernet0OSPF: DR/BDR election on Ethernet0OSPF: Elect BDR 192.168.0.13OSPF: Elect DR 192.168.0.14 DR: 192.168.0.14 (Id) BDR: 192.168.0.13 (Id)

debug ip ospf adj

Page 79: 1 Chapter 3. Configuring OSPF in a Single Area. 2 Table of Contents OSPF Overview OSPF Terminology OSPF Operation in a Broadcast Multiaccess Topology

79

Summary