Routing
Highlighted
Routing

Multipath OSPF and default route - EX4300

‎03-22-2019 11:23 AM

I have a pretty simple setup:

ISP <-> SiteA <-> SiteB

I am running OSPF between SiteA and SiteB over a single fiber cable, with a static default route on SiteB to SiteA

 

We are moving to a point to point wireless connection with two pairs of radios running in parallel, so it would look like:

SiteA                                                           SiteB

ge-0/0/46 <-> radio <-> radio <-> ge-4/0/20

ge-1/0/46 <-> radio <-> radio <-> ge-4/0/21

 

I am thining of connecting the interfaces the radios are on VLAN and to the OSPF config, and letting OSPF choose the path. The IRB interface on the VLANs would be used for the default route. This config wouldn't work, but something along the lines of:

SiteA

set vlans OSPF vlan-id 1010 l3-interface irb.1010
set interfaces irb unit 1010 family inet address 10.10.1.1/28
set interfaces ge-0/0/46 unit 0 family inet address 10.10.1.2/28
set interfaces ge-1/0/46 unit 0 family inet address 10.10.1.4/28
set protocols ospf area 0.0.0.0 interface ge-0/0/46
set protocols ospf area 0.0.0.0 interface ge-1/0/46
set routing-options static route 0.0.0.0/0 next-hop <Edge-Firewall-IP>

 

SiteB
set vlans OSPF vlan-id 1010 l3-interface irb.1010
set interfaces irb unit 1010 family inet address 10.10.1.14/28
set interfaces ge-4/0/20 unit 0 family inet address 10.10.1.13/28
set interfaces ge-4/0/21 unit 0 family inet address 10.10.1.11/28
set protocols ospf area 0.0.0.0 interface ge-4/0/20
set protocols ospf area 0.0.0.0 interface ge-4/0/21
set routing-options static route 0.0.0.0/0 next-hop 10.10.1.1

 

The problem I am trying to solve with this is having a way to access to the Management IP of the radios (in band as the OOB interface is not weatherproofed). My original idea was to just add the radio interfaces on the switch to a LAG but I think I would run into issues accessing the Management IP.

 

Is there a reasonable way to do what I am thinking?

2 REPLIES 2
Routing

Re: Multipath OSPF and default route - EX4300

‎03-22-2019 04:29 PM

Hi J,

about this:

 

The problem I am trying to solve with this is having a way to access to the Management IP of the radios (in band as the OOB interface is not weatherproofed). 

 

is the management IP of the radios advertised to OSPF? 

 

 

I help you, you help me... please share a Kudos or accepted solution whenever you feel I have helped with your problem! Smiley Happy
Routing

Re: Multipath OSPF and default route - EX4300

‎03-23-2019 06:15 AM

Note that the interfaces in OSPF are added including the unit number. 

I also assume these are p-2-p links so you would add that parameter to the OSPF stanza

 

Assuming the mgmt address is the loopback or some other interface you would add this as a passive interface to the OSPF area so the address is advertised.

 

You would do the same for any locally connected subnets on this device that you want to be reachable.  Make the gateway interface on the MX a passive interface in OSPF.

 

Another option to consider it using OSPF cost to to insure the radio is your backup link if that is desired.  

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home