Community discussions

MikroTik App
 
tcpzix
just joined
Topic Author
Posts: 1
Joined: Tue Dec 21, 2021 10:55 pm

multi wan as gateway over a tunnel

Tue Dec 21, 2021 11:32 pm

Hello friends

This is my first time writing here and I'm sorry for my bad English.

this is what i have :
R1
router os version 7.1rc6 and one public ip.:217.x.x.38/30 in my office and lan network in 192.168.10/24 range.

R2
router os with same version in a datacenter with multi public ip address like this:
ip=>194.248.x.212/24 gw=>194.248.x.254
ip=>193.106.x.15/24 gw=>193.106.x.254
ip=>47.119.x.159/24 gw=>47.119.x.254

what i need:
i want each client in my local network(R1) use one of R2 ip as its gateway

i try to figure it out with tunnels like ipip/eoip/l2tp/wireguard and mark-routing but the main problem that i don't know the proper way to set multi public ip with different gateway on R2 and the main question: how i can route R1 lan network clients to R2 and split the in/out traffic base on client ip??

thanks so much

Who is online

Users browsing this forum: Ahrefs [Bot], ivicask, johnson73, mada3k, pajapatak, rhn007 and 82 guests