OSPF Neighbor Address
up2thetime
Member Posts: 154
in Juniper
Hey everyone,
Just a question on interface IP addresses...
R1 and R2 are connected via their em1 interface. Here is the em1 config of R1:
set interface em1 unit 0 family inet address 10.1.1.1/24
set interface em1 unit 0 family inet address 10.1.1.5/24 preferred
R2 is configured with 10.1.1.2/24 only. I turned on OSPF between these two routers (on their em1 interface).
R2 sees 10.1.1.1 as a neighbor, then toggles to 10.1.1.5 as a neighbor (and 10.1.1.1 disappears from the neighbor table). This keeps changing every few seconds. I was trying to get R2 to form an adjacency with R1's 10.1.1.5 address, but it seems like there is an issue. I thought setting preferred will cause the preferred address to be used. I also tried using primary instead of preferred and noticed the same things. Just thought I'd put this together to understand how it treats primary and preferred addresses. Not sure why it's doing this.
Any ideas? Hopefully it has nothing to do with me using Olives
Just a question on interface IP addresses...
R1 and R2 are connected via their em1 interface. Here is the em1 config of R1:
set interface em1 unit 0 family inet address 10.1.1.1/24
set interface em1 unit 0 family inet address 10.1.1.5/24 preferred
R2 is configured with 10.1.1.2/24 only. I turned on OSPF between these two routers (on their em1 interface).
R2 sees 10.1.1.1 as a neighbor, then toggles to 10.1.1.5 as a neighbor (and 10.1.1.1 disappears from the neighbor table). This keeps changing every few seconds. I was trying to get R2 to form an adjacency with R1's 10.1.1.5 address, but it seems like there is an issue. I thought setting preferred will cause the preferred address to be used. I also tried using primary instead of preferred and noticed the same things. Just thought I'd put this together to understand how it treats primary and preferred addresses. Not sure why it's doing this.
Any ideas? Hopefully it has nothing to do with me using Olives
Comments
-
zoidberg Member Posts: 365 ■■■■□□□□□□I would start with trying this:
set protocols ospf area 0.0.0.0 interface 10.1.1.5
Not sure if that will fix your issue, it's been a very long time, but that is the first thing that popped into my mind. Let us know!