cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
606
Views
8
Helpful
3
Replies

loopback interface need a route?

teru-lei
Level 1
Level 1

Dear All,

When I config OSPF, I need to use loopback interface to form the neighbor. But whether I need to confirm that there is a route that can reach the ip of the loopback address? I had find many books but they have no this route. But if the route is not needed. how can the router know the way to the ip address of the loopback interface?

Thank you very much!

Best Regards

Teru Lei

2 Accepted Solutions

Accepted Solutions

DALE FRANCIS
Level 3
Level 3

Generally you configure iBGP neighbors with loopbacks as they are S/W interfaces that never (theoritically) go down.

The loopbacks are then generally learnt via the IGP to obtain a mesh and not advertised via BGP.

It is important to note that you do not have to use loopback interfaces to form relationships it is just a common practice and easier to manage as you know where the route was advertised from.

View solution in original post

thisisshanky
Level 11
Level 11

When you use BGP, with loopbacks as ip address in remote peer statements, you do need to have a route (atleast a static or learned via IGP). BGP cannot run on its own.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

View solution in original post

3 Replies 3

teru-lei
Level 1
Level 1

Sorry for mis type that I am configing BGP, not ospf.

Thank you

DALE FRANCIS
Level 3
Level 3

Generally you configure iBGP neighbors with loopbacks as they are S/W interfaces that never (theoritically) go down.

The loopbacks are then generally learnt via the IGP to obtain a mesh and not advertised via BGP.

It is important to note that you do not have to use loopback interfaces to form relationships it is just a common practice and easier to manage as you know where the route was advertised from.

thisisshanky
Level 11
Level 11

When you use BGP, with loopbacks as ip address in remote peer statements, you do need to have a route (atleast a static or learned via IGP). BGP cannot run on its own.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus