Page 1 of 1
ospf with 2 gateway to internet
Posted: Tue Feb 20, 2007 3:38 am
by hajid
internet internet
| |
LAN 192.168.0.0/24--R1------------------R2--LAN 192.168.1.0/24
| 10.10.10.0/30 |
10.10.30.0/30| |10.10.20.0/30
| |
| |
|---------R3---------|
|
LAN 192.168.2.0/24
can any one help me how to set up ospf routing for this network configuration.
Posted: Tue Feb 20, 2007 8:01 am
by mneumark
The manual has some great examples of how to do this:
http://www.mikrotik.com/testdocs/ros/2. ... g/ospf.php
Posted: Tue Feb 20, 2007 8:02 am
by mneumark
Posted: Tue Feb 20, 2007 9:17 am
by hajid
i have tested with 1 gateway to internet and work. then how we set up ospf if we have 2 gateway to internet at different router.
Posted: Tue Feb 20, 2007 9:46 am
by mneumark
Are you trying to load balance between two different gateways? We need a little more information to help you. OSPF and load balancing should do what you want. The manual has examples at the bottom of the pages on how to do OSPF.
Posted: Tue Feb 20, 2007 9:53 am
by janisk
if you have 2 gateways on one router OSPF will not help you, if you have 2 gateways on 2 different routers you will have your network divided in to parts, one that will go through one GW another through another, if one of them fail OSPF auto-magically will update it's routes. But you will not get load balancing with OSPF.
if you have 2 interfaces on one router you will have to follow example of load balancing in wiki and leave OSPF as it is
Posted: Tue Feb 20, 2007 10:34 am
by hajid
Are you trying to load balance between two different gateways? We need a little more information to help you. OSPF and load balancing should do what you want. The manual has examples at the bottom of the pages on how to do OSPF.
not load balance, just fail over. i have 2 ADSL internet connection at different site then i make ring wireless network. at manual example it just have 1 area and 1 internet connection. in my case i have 2 internet connection. so how to configure OSPF with this network design.
internet internet
| |
LAN 192.168.0.0/24--R1-------------R2--LAN 192.168.1.0/24
| 10.10.10.0/30 |
10.10.30.0/30| |10.10.20.0/30
| |
| |
|------- R3-------|
|
LAN 192.168.2.0/24
Posted: Tue Feb 20, 2007 10:37 am
by janisk
there is no real difference in configuration
just set not one router as edge router but two routers as edge routers and set them both to distribute static routes.
Posted: Tue Feb 20, 2007 2:22 pm
by Diganet
there is no real difference in configuration
just set not one router as edge router but two routers as edge routers and set them both to distribute static routes.
Also remember to raise the cost for the backup line.
/Henrik