Community discussions

MikroTik App
 
horstkevin
just joined
Topic Author
Posts: 14
Joined: Thu Feb 23, 2017 2:52 am

route special connection to 2nd internet gateway

Sun Jun 28, 2020 9:29 pm

Hi there,

there is an easy setup LAN as you can see here:
Zeichnung1.jpg
Now I try to add a second internet connection only for server backups to a specific cloud host as you can see here:
Zeichnung2.jpg
lets say cloud host has IP: 111.222.333.444

Mikrotik-Router:
ether1: 2nd internet gateway
ether2: LAN switch
ether3: LAN server

1)
I bridged ether2 and ether3 (maybe this is already one of the mistakes?)

2)
I tried to mangle with prerouting chain and "mark routing" all connections to 111.222.333.444 and gave these packets a routing mark "backup".
After that I added a new route for the marked packets to 2nd internet gateway.
https://wiki.mikrotik.com/wiki/Policy_Base_Routing

The problem is that no packets are marked. As a result of this the server still uses the default internet connection to connect to cloud backup server.

Can you please help me to get it working?

Regards,
horstkevin
You do not have the required permissions to view the files attached to this post.
 
horstkevin
just joined
Topic Author
Posts: 14
Joined: Thu Feb 23, 2017 2:52 am

Re: route special connection to 2nd internet gateway  [SOLVED]

Mon Jun 29, 2020 12:00 am

Problem solved!

I had to add a static route on the server:
route add 111.222.333.444 MASK 255.255.255.255 192.168.1.15
192.168.1.15 = IP of Bridge in Mikrotik-Router over ether 2/3

Who is online

Users browsing this forum: Google [Bot] and 38 guests