OSPF Advertise Secondary Address
networker050184
Mod Posts: 11,962 Mod
in Juniper
I have an old Juniper M5 running 7.5 and I'm trying to figure out how to advertise a secondary address on a loopback into OSPF. Relevant interface and OSPF config below.
Is there a way to get the non "primary" address advertised via OSPF? Do I need to just make a new unit under lo0 and have it advertised that way like below?
Thanks for the help!
area 0.0.0.1 { authentication-type simple; } interface lo0.0 { passive; } } me@router> show configuration interfaces lo0 unit 0 { family inet { filter { input MGMT; } address 10.10.1.253/32; address 10.10.2.209/32; address 10.10.3.3/32 { primary; preferred; } } }
Is there a way to get the non "primary" address advertised via OSPF? Do I need to just make a new unit under lo0 and have it advertised that way like below?
set interfaces lo0 unit 1 family inet address 10.10.1.253/32 set protocols ospf area 0.0.0.1 interface lo0.1 passive
Thanks for the help!
An expert is a man who has made all the mistakes which can be made.
Comments
-
ColbyG Member Posts: 1,264I was still googling when you signed off, check this out:
Re: [j-nsp] OSPF from secondary IP addresses - msg#00093 - network.nsp.juniper
The guy says you can specify the IP under the OSPF process:user@router# show protocols ospf { area 0.0.0.0 { interface lo0.0; interface at-0/0/1.0; } area 0.0.0.2 { [b]interface 192.168.202.41;[/b] } }
-
networker050184 Mod Posts: 11,962 ModYou the man Colby. Maybe one day I can get my Juniper skills up to par.An expert is a man who has made all the mistakes which can be made.