I have a Cisco Nexus that has a few vlans on it - total network size is 172.26.64.0/20 split into /24 vlans - each using the third octet as the vlan ID. It's IP is 172.26.x.254 on each vlan as the default gateway.
I have a Juniper SRX cluster, with one of the reth interfaces connected on 172.26.64.246, with interface subnet of /20.
On the Juniper, i have also configured a static route of 172.26.64.0/20 which points at the Nexus as next hop.
From the SRX, i can ping the Nexus on it's addresses of the .64 range.
However, i cannot ping anything on the .66.x range, or .67.x range, and nothing can ping the SRX UNLESS it is on the .64.x vlan.
My question is this...
I removed the following route from the SRX:
set routing-options static route 172.26.64.0/20 next-hop 172.26.64.254
and replaced it with:
set routing-options static route 172.26.64.0/24 next-hop 172.26.64.254
set routing-options static route 172.26.65.0/24 next-hop 172.26.64.254
set routing-options static route 172.26.66.0/24 next-hop 172.26.64.254
set routing-options ....
That now works - e.g. from a host on 172.26.66.x network, i can ping the SRX on 172.26.64.246 and vice versa.
Why? is this a defect\bug in JUNOS?
For note - The Juniper version is 15.1X49-D30.3