Multiple DHCP on various ports

Hello,

I’ve just received my first MikroTik, and started learning about how things work.
I would like to ask if anyone can help me with my set up ?

My goal is to create a network which will be using different interfaces on the router. I wanted to dedicate ports ETH3 and ETH4 (on the router) + WLAN2 (entire wireless virtual AP) to use one IP ADDRESS range and have DHCP server running on it. In other words if I connected my cable to eth3 or 4 or connected to my wireless on wlan2 I would get an ip address from a pool that I configured. What I have already done is:

  1. I created a bridge for ETH3, 4 and WLAN2 calling it bridge_home
  2. Created VLAN_HOME with VLAN_ID = 1 and interface “bridge_home”
  3. Created Virtual AP , interface name wlan2.
  4. Created IP ADDRESS range of 192.168.3.0/24 on interface “VLAN_HOME”
  5. Created DHCP server on interface “VLAN_HOME” with address pool “home_dhcp”
  6. Created IP address pool called “home_dhcp” of 192.168.3.200-192.168.3.254


    Now, whenever I am connecting to either wifi or to the router I am :
  • wifi: not getting the ip address from DHCP
  • router via cable: the same.

and dmesg does not show much,

[125819.229074] tg3 0000:04:00.0 p2p1: Link is down
[125822.110200] tg3 0000:04:00.0 p2p1: Link is up at 1000 Mbps, full duplex
[125822.110233] tg3 0000:04:00.0 p2p1: Flow control is off for TX and off for RX
[125822.110241] tg3 0000:04:00.0 p2p1: EEE is enabled

Provided I set it manually, it behaves as if I put it in a wrong VLAN (can’t ping the default gw and so on).

Can anyone help me on this one? Your help is greatly appreciated.

Your clients are most likely only seeing untagged traffic so they do not see tagged traffic marked VLANID=1. Apply the DHCP server and relevant address straight to the bridge (rather than to VLAN 1 interface) and the clients will then get IPs allocated.