Community discussions

MikroTik App
 
kesnar
just joined
Topic Author
Posts: 1
Joined: Sun May 08, 2022 3:58 pm

Help on VLAN Routing (two DHCP servers)

Sun May 08, 2022 4:34 pm

Hello. I am a newbie with MikroTik routers and I would like your help.
I have the setup that is shown on the attachment:
index.png
The Gateway is the default Gateway and also a DHCP server that is configured to give addresses in the 192.168.1.0/24 network, excluding the 192.168.1.1-192.168.1.100 range.
I want to have a net under the CRS326 switch (red lines) where I will have a local DHCP server (192.168.1.2/26), giving addresses on the 192.168.1.0/26 network and also hosts in that network to be accessible from 192.168.2.1.

Constraints: I do not have any access to the gateway configuration.


My initial idea is to define a VLAN with untagged ports 2,3 and tagged port 1. In that way I will limit the broadcast domain, forcing hosts on red lines to use the 192.168.1.2 DHCP server and not the Gateway one. However when I do this (following this: https://wiki.mikrotik.com/wiki/Manual:I ... ess_Ports)), 192.168.1.2 becomes unreachable from outside (Cloud shape). From my understanding this happens because the gateway does not get an arp response from 192.168.1.2 and thus cannot find it, as they are in a different broadcast domain.

To solve this, I am trying to enable arp-proxy on interfaces 1 and 2, with no result.

My questions are:

Is my intuition right? Would configuring VLAN and arp-proxy in this case, do what I want?
Can you provide me with an example of arp-proxy configuration in this setup? Because I couldn't find a good arp-proxy mikrotik example to work from.

Sorry if my case is a little convoluted, feel free to propose other ideas to do what I want.

Thank you very much!
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19109
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Help on VLAN Routing (two DHCP servers)

Sun May 08, 2022 6:29 pm

There are two ways to do vlans.
Bridge VLan FIltering method
Switch Chip method
and I think there are specific directions for the 300 series....

Check out Para O, for your best bet ( Para C is bridge vlan filtering) - viewtopic.php?t=182373

Who is online

Users browsing this forum: adrianmartin16, cmmike and 38 guests