cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2626
Views
0
Helpful
2
Replies

OSPF host route advertisement

inoc_noc
Level 1
Level 1

Lets say a device has a single loopback interface with several /32 IP addresses configured on it. Taking subinterfaces out of the equation, is there any way to advertise a "router LSA" that will list the various /32 network "links" with different costs?

2 Replies 2

Hi,

Is this a trick question? (J/K)

let's test it by using use point-to-multipoint ospf network. You will see a host route advertised by a neighbor.

Toshi

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Inoc,

>> Lets say a device has a single loopback interface with several /32 IP addresses configured on it.

Taking subinterfaces out of the equation, is there any way to advertise a "router LSA" that will list the various /32 network "links" with different costs?

no, ip ospf cost is per link, only with an OSPF network point to multipoint you could provide a per neighbor cost.

but you think of a loopback it is isolated from outside world by definition.

I suppose you have a primary address and several secondary addresses.

you could use a redistribute connected with a route map that set different seed metrics for different addresses.

but this would mean injecting external routes in OSPF that can be acceptable or not.

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card