Community discussions

MikroTik App
 
ICNIT
just joined
Topic Author
Posts: 5
Joined: Mon May 17, 2021 9:32 am

Different Interface to difference WAN

Mon May 17, 2021 1:04 pm

Hi All,

I think it sounds stupid, but I just want to double confirm.

Scenario Ether=WAN1 , Ether2=WAN2 , Ether3,4,5=Bridge (VLAN1,VLAN10,VLAN20,VLAN30).

If I want VLAN1 user to use WAN1, and VLAN10,20,30 to use WAN2, is it possible to be done in firewall > NAT?

Chain: scr-nat
Src. address: 172.16.0.0/24 (VLAN1)
Out. Interface: WAN1
Action: masquerade

Chain: scr-nat
Src. address: 172.16.10.0/24, 172.16.20.0/24, 172.16.30.0/24(VLAN10,20,30)
Out. Interface: WAN2
Action: masquerade

So user in VLAN1 wont share the bandwidth with user in VLAN10,20,30.

Is it possible to work?

Thanks.
 
sid5632
Long time Member
Long time Member
Posts: 552
Joined: Fri Feb 17, 2017 6:05 pm

Re: Different Interface to difference WAN

Mon May 17, 2021 2:13 pm

Ask yourself this question: How does it work out where to route the WAN1/2 outbound traffic in the first place?
Src-nat happens at the very end of the chain, if you look at the packet routing diagram, so obviously a routing decision needs to be made earlier somehow.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Different Interface to difference WAN

Mon May 17, 2021 2:23 pm

viewtopic.php?f=2&t=175314&p=857680#p857680

Please keep it to one thread, aka the one linked above.
 
colekayley
just joined
Posts: 1
Joined: Sun May 30, 2021 8:13 pm

Re: Different Interface to difference WAN

Mon May 31, 2021 10:16 am

WAN stands for Wide Area Network and this is the network that connects your router to your service provider. The WAN port usually connects to a DSL modem, cable modem or fibre media converter. LAN stands for Local Area Network and this is the network that connects the devices within your home/business to the router.

Who is online

Users browsing this forum: No registered users and 14 guests