OSPF: Difference between revisions

74 bytes removed ,  5 years ago
Line 560:
 
= Concept Recap =
<pre>
 
Protocol Number = 89, TTL=1, DES IP = 224.0.0.5 & 6
'''Network Types:'''
PTP:
No DR, BDR and ospf packets are sent to MC address.
Line 576:
Virtual link:
Packets are unicast.
'''OSPF packet types:'''
Hello – type 1
Database description – type 2
Line 585:
Hello interval, Dead interval, area ID, network mask, option fields and authentication, if any
Neighborship will not form via secondary address. Other words, router will not generate hello packet with SRC IP = secondary IP.
'''DR/BDR election:'''
Highest Priority
Tie, highest router ID
Line 592:
Priority=0 means ineligible to become DR/BDR.
When interface comes up, it sets DR,BDR to 0.0.0.0 and wait for ‘wait timer’= router dead interval. Within that period, if it receives hello with DR/BDR filled, accept those. Else if the time period elapse, move to BDR and then to DR.
'''Timers:'''
Default H=10 sec and D= 40 sec
InfTransDelay = 1 sec. change by “ip ospf transmit-delay’
RxmtInterval = 5 sec. Change by “ip ospf retramit-delay’
'''Neighbor state machine:'''
Down: at initial
Attempt: Only in NBMA
Line 605:
Loading: Syn the LSD using LS request and LS update. In real scenario, both Exchange and loading occurs parallel.
Full: Database was sync-ed.
'''DBD packet:'''
Have Interface MTU settings.
Initial(I) bit, More (M) bit and Master/Slave (MS) bit
Line 613:
Retransmission packets are always unicast.
Use stub concept and summarization to reduce memory and CPU utilization.
'''Sequence number, checksum and age uniquely defines as LSA:'''
Seq #:
From 0×80000001 to 0x7fffffff
Line 623:
0 to 3600 (1 Hr-MaxAge)
Age increments when it resides in LSA and also incremented by ‘Infdelay’ value as it transits an interface.
'''Virtual Links:'''
Must be configured between 2 ABRs alone.
Transit area must have full routing information.
Line 629:
Usually it is the worst design and needs to be changed.
Can temporarily deploy to avoid partitioned area.
'''LSA types:'''
Router LSA:
Type-1. Generated by all routers with all active networks which has ospf configured.
Line 667:
Type- 9,10,11
Extension to OSPF. Used for TE in MPLS.
'''Areas:'''
Backbone area:
Area-0. Need for inter-area communication.
Line 688:
Can see Type-1,2,3,4 and type-7 LSAs.
Command: ‘area x nssa’.
'''Path types:'''
Intra-area paths
Inter-area paths. Denoted by “IA” in show ip route.
Line 697:
If there is only one ASBR in OSPF, there is no necessity of adding cost to ASBR. Hence E2 is default.
If there are more than on ASBR, enable E1.
'''Authentication:'''
No authentication: Type-0
Simple password: Type-1
MD5 password: Type-2
'''Few points:'''
Router LSA of ABR will have “B-bit” set in router-lsa packet
Router LSA of ASBR will have “E-bit” set in router-lsa packet
Line 716:
E – E bit=0 to indicate stub area.
MT – set to indicate Multi-topology OSPF support. Under development.
'''Troubleshooting point of view:''' few
Neighborship not coming UP:
Check for Hello packet parameter match
Line 730:
In case of external routes not installed in routing table, check whether the forwarding address is reachable. If not, configure ‘suppress-fa’ option at the NSSA ABR.
If an LSA has less age or high sequence number among others, we need to look for why this network was keep flapping and flooding updates. Might be reason for high CPU utilization.
'''Observations:'''
ABR with area-1 and area-2 only:.
Routes from area-1 are not leaked into area-2 using type-3 network summary LSA.
Authentication:
Line 746:
“%OSPF-4-ASBR_WITHOUT_VALID_AREA: Router is currently an ASBR while having only one area which is a stub area”
Summarization has no effect of external routes (E1/E2).
</pre>
 
=LAB=