Networkxone
Welcome!

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
Register Now! Sign In ยป


Regards

YASIR IMRAN
SR.NETWORK ENGINEER
CTTC PVT LTD
Cell:+92-333-7474148
Latest topics
» CCNA Industrial 200-601 IMINS2 exam dumps
Sat Apr 23, 2016 9:04 am by tracy_k

» CompTIA A+ 220-901 dumps
Tue Mar 08, 2016 8:20 am by tracy_k

» Updated CCIE Collaboration 400-051 dumps
Sat Jan 30, 2016 8:47 am by tracy_k

» JN0-691 Junos Troubleshooting (JNCSP) dumps
Tue Jan 12, 2016 9:33 am by tracy_k

» CompTIA Server+ SK0-004 practice test
Tue Jan 12, 2016 9:31 am by tracy_k

» CCNA Security 210-260 IINS practice test
Sat Nov 07, 2015 9:06 am by tracy_k

» 300-320 ARCH exam practice test
Sat Oct 24, 2015 10:26 am by tracy_k

» MCSA 70-461 exam practice test
Tue Oct 20, 2015 10:26 am by tracy_k

» Microsoft Dynamics CRM MB2-708 practice test
Sat Oct 17, 2015 9:50 am by tracy_k

Earn Money
Log in

I forgot my password

Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None

Most users ever online was 53 on Fri May 11, 2012 9:02 am
Top posters
tracy_k (95)
 
Yasir-Imran (76)
 
amaqsood1 (52)
 
m.abidkh (25)
 
BILAL KHAN (24)
 
kamran akbar (22)
 
yyy (18)
 
s4cnc (16)
 
dani14 (13)
 
QADEER HUSSAIN (9)
 

Statistics
We have 3550 registered users
The newest registered user is sharee4

Our users have posted a total of 727 messages in 319 subjects
Poll

You like This Way to learn Knowledge ?

63% 63% [ 42 ]
22% 22% [ 15 ]
15% 15% [ 10 ]

Total Votes : 67


How Does OSPF Neighbor State Change

View previous topic View next topic Go down

How Does OSPF Neighbor State Change

Post by vl1111 on Wed Apr 13, 2011 11:23 am

How Does OSPF Neighbor State Change
Q1. What are OSPF packets? What do they do?
Answer: There are 5 OSPF packets:
Hello: Discover neighbors.
DD (Data Description): Exchange LSDB catalog (LSA headers).
Request: Ask neighbor to send LSA that I don't have.
Update: Send LSA requested by neighbors.
Ack: Tell Update sending router that I have received your Update.
Q2: What are neighbor states? What do they do?
Answer: There are 7 states:
Down. Neighbor is gone. E.g. neighbor is down, stops running OSPF, or is just initialized.
Init: The node has a one-way relationship with a neighbor. It receives a Hello from the neighbor.
2-way. The node has a bidirectional relationship with a neighbor. It has received a Hello from the neighbor and the Hello's neighbor list contains my name.
ExStart. Two neighbors negotiate Master-Slave relationship before exchanging LSA.
Exchange: Exchange LSDB catalogs with neighbors and find out which LSA is missing.
Loading. Ask a neighbor to send LSAs that I don't have.
Full: Two neighbors have the same LSDB. They have the same knowledge of the topology.
Note: See the companion simulation to relate how routers change states when receiving packets.
Q3. How to groups 9 neighbor into some meaningful stages?
Answer. These states can be classified into 4 stages:
- Discover neighbors. Down, Init, 2-way. Use Hello.
- Determine Master-Slave: ExStart, Exchange. Use DD.
- Find out which LSA to exchange: Loading. Use DD, Request.
- Synchronize LSDB: Full Adjacency. Use Update, Ack.
Q4. What is Master-Slave relationship for neighbors?
Answer: When two neighbors are ready to exchange LSA catalogs, they need to use a sequence number to tag LSA catalog exchange. The first job is to decide the sequence number. Two neighbors exchange DD to indicate their Router ID. The one with the higher Router ID wins and chooses a sequence number.
Note. In the companion simulation (External link), you can click DD to see its content.
Q5. Why neighbors need to use a sequence number to track LSA catalog exchange?
Answer: Sequence numbers are used to track LSA catalog transaction sessions. A router may have a large LSA catalog that does fit into one DD packet. This router may have several neighbors to exchange LSA catalog at the same time.
Q6. Does OSPF use TCP to provide reliable transmission of LSA?
Answer: No. OSPF uses Request-Update-Ack to ensure reliable transmission of LSA.
Q7. Why doesn't OSPF use TCP to transfer LSA?
Answer: TCP is designed to transmit large chunk of data across a congested network. Its goal is to adapt to network congestion and avoid packet losses due to router queue full. It is costly to set up a TCP sessions. An OSPF router transmits LSA to directly connected neighbors. There is no network congestion is involved between sender and receiver nodes. Using a light weight send-ack reliable transmission method is sufficient.
This article is the FAQ of an interactive simulation: OSPF Neighbor state. It visualizes topology, packets, router state changes. It listed under External links.
External links for network simulation:
1. OSPF Simulation: Neighbor State (This article): [url=http://www.visualland.net/view.php?cid=915&protocol=OSPF&title=1.5%20Neighbor%20State&ctype=1 ][You must be registered and logged in to see this link.] [/url]
2. More network protocol simulation: [You must be registered and logged in to see this link.]

vl1111

Age : 33
Location : china

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum