Hi First post as this is the first time i’ve been asked to do any work on a Mikrotik device,
Have a client who has 2 vlans on their network voice and data. They also have 2 WAN connections with static IP address. What they have asked is to send Data traffic out of one and Voice out the other. Having used Cisco and Juniper in the past i know how to do this with these 2 but no idea.
Setting up the WAN and LAN i’m happy to do it’s getting LAN1 to send traffic to WAN1 and LAN2 to use WAN2
Never afraid to step in it, but here is a conceptual guess…
Combination of SNAT rules - one for each WAN (not masquerade as both WANIPs are static)
I would think that one would only need to identify one stream of traffic (call it the secondary vlan) mark it and then associate a specific routing rule for it.
The other stream of traffic (primary vlan) would just use default MAIN routing table information.
route rule 1 - lowest distance to WAN1
route rule 2 - higher distance to WAN2 ***********
route rule 3- for marked traffic use WAN2
**************** not sure if you need rule 2.
Dont know how to avoid vlan1 traffic going thru WAN2 if WAN1 goes down??
Dont know how to avoid vlan2 traffic going thru WAN2 if WAN2 goes down???