OSPF Flashcards

1
Q

Administrative Distance

A

110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

OSPF Process stages

A
  1. Down - no hello packet recieved
  2. INIT - recieved hello packet but it’s router-id was not included in hello packet neighbor field.
  3. 2Way - We have bi-directional communication. both routers see their router-ids in hello packets
  • DR/BDR election will occur.
  • In NBMA and broadcast networks, the router will only become FULL with the DR and BDR. it will become DROTHER with the other routers.
  • In point2point or point2multipoint networks, the routers will become FULL with other router.
  1. Exstart - The start of the exchange process. The routers and their DR and BDR establish a master-slave relationship and choose the initial sequence number for adjacency formation.
  2. Exchange - OSPF routers will exchange database descriptors (DBD) packets. DBD contains link-state advertisement (LSA) Headers only and describe the contents of the entire link-state database.
  3. Loading
  4. Full
    https: //www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13685-13.html
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Tables

A

Neighbor Table | Database Table | Routing Table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

OSPF Packet types

A
Hello
Database Description
Link-State Request
Link-State Update
Link-State Acknowledge
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Hello Packets

A

Every 10 seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Dead Timer

A

Every 40 Seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Multicast addresses

A
  1. 0.0.5 - DR will send updates to DROTHERS using this multicast address.
  2. 0.0.6 - DROTHERS will send updates to DR/BDR routers using this address.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Understanding OSPF Packet types in detail

A

https://sites.google.com/site/amitsciscozone/home/important-tips/ospf/ospf-packet-types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Metric

A

Open Shortest Path First (OSPF) uses “Cost” as the value of metric and uses a Reference Bandwidth of 100 Mbps for cost calculation.

The formula to calculate the cost is Reference Bandwidth divided by interface bandwidth. For example, in the case of 10 Mbps Ethernet , OSPF Metric Cost value is 100 Mbps / 10 Mbps = 10.

The default Reference Bandwidth of OSPF is 100 Mbps and the default OSPF cost formula doesn’t differentiate between interfaces with bandwidth faster than 100 Mbps. These days, 1 Gbps and 10 Gbps links are also common.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Virtual Links

A
  • Virtual links are used to connect a dis-contiguous area to area 0.
  • A logical connection built between routers.
  • Virtual links are recommended for backup or temp connections.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

configuring Virtual Links

A

Virtual links command will need to be configured on both ABRs that bound the area that we’re trying to build the link through.

Router(config)#router ospf
Router(config-router)#Area 20 virtual-link 3.3.3.3

Verify Virtual links
sh ip ospf virtual-links

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DR / BDR

A

The designated router (DR) is responsible for updating all other routers about changes in the network. The Backup designated router (BDR) is the back up for the DR and will only assume the position or DR when the DR goes down.
Selecting the DR
1. highest priority [0-255]
2.second highest priority will be the BDR
3.default priority is 1.
4. in case of a tie, the router with the highest router-id will be the DR and the second highest router-id will be the BDR.
5. routers with priority value of 0 will never be DR or BDR
. These routers will be DROther

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

changing the priority value

A

router(config)interface x

router(config-if)ip ospf priority [0-255]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

OSPF router relationships

A

DR/BDR —> DROTHER = FULL

DROTHER – > DROTHER = 2WAY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Link State Advertisements Types

A

LSA Type 1 - Router LSAs
LSA Type 2 - Network LSAs
LSA Type 3 or 4 - Summary LSAs
LSA Type 5 - Autonomous Systems External LSAs
LSA Type 6 - Multicast OSPF LSA
LSA Type 7 - Defined for Not-so-stubby areas
LSA Type 8 - External Attributes LSA for BGP
LSA Type 9,10,11 - Opaque LSAs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

LSA Type 1

A

Router LSA

  • generated by the internal router
  • “o” routes in routing table
  • Floods within it’s router only; does not cross ABR
17
Q

LSA Type 2

A

Network LSA

  • happens in broadcast networks
  • advertised by DR of transit network
  • floods within its area only; does not cross ABR
  • “o” routes
18
Q

LSA Type 3

A

Summary LSA

  • used to flood network information to areas outside the originating area (inter area)
  • “oIA” routes in routing table.
  • Advertised by ABR of originating area.
  • regenerated by subsequent ABR to flood throughout the AS
19
Q

LSA Type 4

A

LSAs are used to advertise the address of the ASBR to all other areas.

  • they are generated by the ABR of the originating router
  • -regenerated by subsequent ABR to flood throughout the AS
20
Q

LSA Type 5

A

are used to advertise routes from another autonomous system.
they are advertised and owned by the ASBR of the originated routers.

21
Q

Purpose of Ospf stubs

A
  1. Reduce the processing overheads from routers.

2. Reduce the size of the routing table.

22
Q

What does it mean to configure a stub area?

A

When an Area is configured as a stub.. it means that the ABR will no longer send LSA Type 5 advertisments to the internal routers but just a default route. External routes are replaced by a default route (o*IA)

23
Q

E1/E2 routes

A

E1 - internal cost to ASBR added to external cost
E2 - internal cost. It is same as external cost.

Https://ipwithease.com/ospf-external-e1-and-e2-routes/

24
Q

Areas which cannot be stub

A
  1. Area 0
  2. Area with ASBR
  3. Virtual Area (Area that the virtual link passes through)
25
Q

How to configure stub area

A

Router ospf 1

Area 10 stub

26
Q

What does it mean to be a Totally Stubby Area?

A

When an Area is configured as a totllly stubby area.. it means that the ABR will no longer send LSA Type 5 & Type 3 advertisments to the internal routers but just a default route. External routes and inter-Area routes are replaced by a default route (o*IA)

27
Q

How to configure Totally Stubby Area

A

On All Internal Routers:
> router ospf 1
> area 10 stub

On the ABR
> routers ospf 1
>Area 10 stub no summary

28
Q

NBMA

A

NBMA is mainly employed on networks that do not have broadcast or multicast capabilities. Frame Relay, Asynchronous Transfer Mode (ATM), home power line networking, and X.25 are some common examples of NBMA network technologies.