Community discussions

MikroTik App
 
Abdock
Member Candidate
Member Candidate
Topic Author
Posts: 261
Joined: Sun Sep 25, 2005 10:50 pm

help on routing via both links

Wed Aug 14, 2013 10:58 pm

Hello,

We have a simple set up where we have a fiber link connected to our main router and wireless link. We want to route some traffic via wireless link, as now all comes via the fiber link as the diag.

ISP router IP 8.8.8.1
The ISP routes all our IP (example 192.168.255.0/24) to 8.8.8.2 (our router IP)
192.168.255.0/24 to 8.8.8.2
192.168.1.0/24 to 8.8.8.2
192.168.2.0/24 to 8.8.8.2

(all are public I, i have just used example here)

And on our router, we route 0.0.0.0 to 8.8.8.1

How can we route 192.168.255.0 via the wireless link ? ospf ? or something else i can use to achieve this ? Bonding is not an option here.


Many thanks.
You do not have the required permissions to view the files attached to this post.
 
Ivoshiee
Member
Member
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: help on routing via both links

Wed Aug 14, 2013 11:35 pm

There is no direct source routing capabilities within ROS I know of, so you'll have to use routing marking and alternate route tables for that route mark.
 
Abdock
Member Candidate
Member Candidate
Topic Author
Posts: 261
Joined: Sun Sep 25, 2005 10:50 pm

Re: help on routing via both links

Wed Aug 14, 2013 11:58 pm

suppose i put ip 8.8.8.3 on ether 2 on our main router, and route few ranges to 8.8.8.3 would it work ?

and on the main router how can i force a gateway ? as both ip will be able to reach the gateway and i just want one link to be used for gateway, outgoing traffic.

thanks.
 
Ivoshiee
Member
Member
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: help on routing via both links

Fri Aug 16, 2013 1:03 am

You can make uni-directional links just by setting gateways over different links. You can explicitly state a different link for each subnet and send the default gw over a different link.
 
Abdock
Member Candidate
Member Candidate
Topic Author
Posts: 261
Joined: Sun Sep 25, 2005 10:50 pm

Re: help on routing via both links

Sun Aug 18, 2013 10:25 pm

I have made some changes, please see them and see what would be best to implement, we need dual link with fail over.

The IP are just example, but we use Public IP so no Nat is needed.

Thanks,
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: baragoon, k6ccc, Lupin, maldridge, ramin110 and 114 guests