OSPF Advertise Secondary Address

networker050184networker050184 Mod Posts: 11,962 Mod
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.
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

Sign In or Register to comment.