Community discussions

MikroTik App
 
Pollux33
just joined
Topic Author
Posts: 1
Joined: Mon Apr 24, 2023 1:33 pm

WLAN -> LAN Bridge no DHCP

Mon Apr 24, 2023 2:07 pm

Dear Guru's,

Hope I'm making an obvious mistake here.
I need to connect two printers to the existing network (192.168.0.0/24).
There is no wired connection present in that area but we do have wifi via an existing Ruckuss Wifi system.

Purchased an mAP with the idea to bridge the wifi network to the two LAN ports which would connect the printers.

Issues encountered:
DHCP is not working when connecting on the LAN Ports
Connecting from the mAP LAN ports works when assigning a static IP f.e 192.168.0.215 but I cannot ping the device from the main network.
Tried to setup relay dhcp to solve the DHCP issue, but no joy.

========Edit and solution=======
Ruckuss has a feature which prevents this kind of dhcp traffic flow. You can disable it in the AP with ssh with this command:
set qos directedDHCP disable
Works like a charm after that

Steps taken:
  • Upgraded to the latest RouterOS 7.8
  • Quick Set
  • CPE
  • Connected to WLAN -> works (Mode station-pseudobridge)
  • Selected Bridge mode
  • Address automatic -> Source WLAN
  • Check-> Bridge All LAN Ports

The config:
# apr/24/2023 12:37:53 by RouterOS 7.8
# software id = 0BFC-XIN7
#
# model = RBmAP2nD
# serial number = DE4F0FDXXXXX
/interface bridge
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no mode=station-pseudobridge ssid=WT
/interface list
add name=WAN
add name=LAN
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk group-ciphers=tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik unicast-ciphers=\
    tkip,aes-ccm
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge filter
add action=drop chain=input dst-port=68 in-interface=!wlan1 ip-protocol=udp mac-protocol=ip
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface list member
add interface=wlan1 list=WAN
add interface=ether1 list=LAN
add interface=ether2 list=LAN
/interface ovpn-server server
set auth=sha1,md5
/ip dhcp-client
add interface=bridge1
/system clock
set time-zone-name=Europe/Amsterdam

Who is online

Users browsing this forum: No registered users and 49 guests