Hello,
I am fairly new to Quagga and OSPF. I just started a new job and am trying
to learn as quickly as possible. I think I understand all of the basic
stuff, but I am having trouble understanding how to have 2 of my routers
advertise default routes to a particular area.
Here is our basic setup.
[image: Inline image 1]
We have two debian firewall servers which all of our ISP's are connected
to. I will refer to them as R1 and R2. They are both in Area 0
R1 has this configuration for OSPF:
ospf router-id 10.147.1.10
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
network 10.3.251.0/29 area 10.18.0.0
network 10.147.1.4/30 area 0.0.0.0
network 10.147.1.8/30 area 0.0.0.0
network 10.147.1.48/30 area 0.0.0.0
area 10.18.0.0 range 10.18.0.0/16
R2 has this configuration for OSPF:
ospf router-id 10.147.1.22
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
network 10.1.254.0/29 area 10.18.0.0
network 10.147.1.17/30 area 0.0.0.0
network 10.147.1.20/30 area 0.0.0.0
network 10.147.1.52/30 area 0.0.0.0
area 10.18.0.0 range 10.18.0.0/16
We also have two debian firewall servers (RR1 and RR2 both in Area 0)
outside our local network that have openvpn connections to R1 and R2.
RR1 has this configuration for OSPF
ospf router-id 10.147.1.9
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
redistribute static
network 10.84.0.0/22 area 10.88.0.69
network 10.88.1.0/24 area 10.88.0.69
network 10.88.250.0/30 area 0.0.0.0
network 10.147.1.2/30 area 0.0.0.0
network 10.147.1.8/30 area 0.0.0.0
RR2 has this configuration for OSPF:
ospf router-id 10.147.1.21
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
network 10.85.0.0/22 area 10.88.0.69
network 10.88.1.0/24 area 10.88.0.69
network 10.88.250.0/30 area 0.0.0.0
network 10.147.1.12/30 area 0.0.0.0
network 10.147.1.20/30 area 0.0.0.0
We have two Dell N3024 switches behind R1 and R2 that are our core switches
(S1 and S2). They are in area 10.18.0.0
I am trying to get this set up properly for High Availability. How do I
have R1 and R2 advertise themselves as a default route to S1 and S2 without
also advertising to RR1 and RR2? Can anyone point me in the right
direction? Also, is there any way to specify which one should take
precedence when both routes are available? We have two other debian
firewalls connected through openvpn that are set up similarly to RR1 and
RR2. We cannot afford to have ALL the traffic from the other locations
coming through our main location.
I am fairly new to Quagga and OSPF. I just started a new job and am trying
to learn as quickly as possible. I think I understand all of the basic
stuff, but I am having trouble understanding how to have 2 of my routers
advertise default routes to a particular area.
Here is our basic setup.
[image: Inline image 1]
We have two debian firewall servers which all of our ISP's are connected
to. I will refer to them as R1 and R2. They are both in Area 0
R1 has this configuration for OSPF:
ospf router-id 10.147.1.10
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
network 10.3.251.0/29 area 10.18.0.0
network 10.147.1.4/30 area 0.0.0.0
network 10.147.1.8/30 area 0.0.0.0
network 10.147.1.48/30 area 0.0.0.0
area 10.18.0.0 range 10.18.0.0/16
R2 has this configuration for OSPF:
ospf router-id 10.147.1.22
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
network 10.1.254.0/29 area 10.18.0.0
network 10.147.1.17/30 area 0.0.0.0
network 10.147.1.20/30 area 0.0.0.0
network 10.147.1.52/30 area 0.0.0.0
area 10.18.0.0 range 10.18.0.0/16
We also have two debian firewall servers (RR1 and RR2 both in Area 0)
outside our local network that have openvpn connections to R1 and R2.
RR1 has this configuration for OSPF
ospf router-id 10.147.1.9
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
redistribute static
network 10.84.0.0/22 area 10.88.0.69
network 10.88.1.0/24 area 10.88.0.69
network 10.88.250.0/30 area 0.0.0.0
network 10.147.1.2/30 area 0.0.0.0
network 10.147.1.8/30 area 0.0.0.0
RR2 has this configuration for OSPF:
ospf router-id 10.147.1.21
max-metric router-lsa on-startup 30
max-metric router-lsa on-shutdown 30
network 10.85.0.0/22 area 10.88.0.69
network 10.88.1.0/24 area 10.88.0.69
network 10.88.250.0/30 area 0.0.0.0
network 10.147.1.12/30 area 0.0.0.0
network 10.147.1.20/30 area 0.0.0.0
We have two Dell N3024 switches behind R1 and R2 that are our core switches
(S1 and S2). They are in area 10.18.0.0
I am trying to get this set up properly for High Availability. How do I
have R1 and R2 advertise themselves as a default route to S1 and S2 without
also advertising to RR1 and RR2? Can anyone point me in the right
direction? Also, is there any way to specify which one should take
precedence when both routes are available? We have two other debian
firewalls connected through openvpn that are set up similarly to RR1 and
RR2. We cannot afford to have ALL the traffic from the other locations
coming through our main location.