cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1509
Views
0
Helpful
4
Replies

Loopback interface influence in OSPF.

binoyingen
Level 1
Level 1

Hi ,

can anyone help me to understand what happens in OSPF with the Router has 2 loop back interface configured and one loop back is configured with public IP for DMVPN purpose. My question is whether the Loopback interface with Public IP also advertise in OSPF rooting table if so how to eliminate.

2 Accepted Solutions

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

Hi

It will only advertise in ospf if you have allowed it in the router process ospf  as a network statement in the router itself , you can check if its advertised with show ip route ospf or look through the running config to the section router ospf x , under that section you can see what networks have been advertised specifically

View solution in original post

Hi

this is being used as the rid  its not specifically advertised per say in the routing process as your only advertising the class C 192.168.10.x network , that's by default its chosen that loopback as rid on startup , if you add in the 62 ip address it wont make a difference to the rid as its lower ip loopback than 192 so it shouldn't effect anything

also you can manually specify the rid so it doesn't change on you

router ospf x

router-id   x.x.x.x

View solution in original post

4 Replies 4

Mark Malone
VIP Alumni
VIP Alumni

Hi

It will only advertise in ospf if you have allowed it in the router process ospf  as a network statement in the router itself , you can check if its advertised with show ip route ospf or look through the running config to the section router ospf x , under that section you can see what networks have been advertised specifically

Hi Mark,

Thanks for your response !!!! 

my config looks like below : 

interface Loopback1
ip address 192.168.168.168 255.255.255.255

router ospf 100
redistribute static subnets
network 172.16.0.0 0.0.255.255 area 0
network 192.168.10.0 0.0.0.255 area 0

oom-dmvpn-Rtr2# sh ip ospf summary-address

OSPF Router with ID (192.168.168.168) (Process ID 100)



but i could see my loopback IP is showing as RID for ospf process because of high value interface, what happens if i configure another loopback interface with public IP like below, whether it will affect my existing OSPF process.

kindly suggest.

interface Loopback1
ip address 62.x.x.x 255.255.255.255

Hi

this is being used as the rid  its not specifically advertised per say in the routing process as your only advertising the class C 192.168.10.x network , that's by default its chosen that loopback as rid on startup , if you add in the 62 ip address it wont make a difference to the rid as its lower ip loopback than 192 so it shouldn't effect anything

also you can manually specify the rid so it doesn't change on you

router ospf x

router-id   x.x.x.x

Thanks Mark for your valuable inputs !!!!!!