Mikrotik bridge firewall5/16/2023 ![]() This will make a bridge between the wireless interface and all the MikroTik ethernet ports, carrying all traffic transparently. ![]() To do it, upload it to the router and type "import filename" in a Terminal. Set authentication-types=wpa-psk,wpa2-psk group-ciphers=tkip,aes-ccm unicast-ciphers=tkip,aes-ccm mode=dynamic-keys wpa-pre-shared-key="**Your WiFi password**" wpa2-pre-shared-key="**Your WiFi password**" Set wlan1 mode=ap-bridge wireless-protocol=802.11 band=2ghz-b/g/n frequency=auto ssid="**Your WiFi SSID**" enabled=yes Then, apply the following config: /interface bridgeĪdd name=lan auto-mac=no admin-mac= mac-address] If that's not the case just edit the script to fit the specifications of your router.įirst of all, do a System > Reset configuration (check No default configuration). ![]() I'll assume you are using a RB951 series router, which has ether1-5 and wlan1. If I connect the ethernet to the ether1-gateway port, I can successfully route through it (access the router etc) but then I'm not actually connecting the network together (which kind of defeats the point).Īny pointers as to where I'm going wrong would be gratefully received, this isn't something I normally do so stupid errors are not unlikely. Do I want to setup a DHCP relay? Setup a separate DHCP server? This is still the case after setting the DHCP client to attach to the bridge-local interface. ![]() the MikroTik itself acts as a DHCP server rather than the main router.Attempting to ping the router sends back the following response:ĩ2 bytes from router (192.168.88.1): Redirect Host(New addr: 192.168.0.1) I assume this is some kind of routing issue in that it doesn't know where to try and send the requests, but my understanding of bridging would imply that would be a non-issue. WLAN devices cannot communicate with devices which are connected to the router (or in fact, the router itself).When I attempt this however, there are couple of problems I seem to face: My understanding is that the correct way to do this is to create a bridge on the MikroTik that incorporates the port that it's plugged into (a normal LAN port) and the WLAN. I have a router and a MikroTik connected by a (long) ethernet cable that I'm trying to setup with switch-like functionality.
0 Comments
Leave a Reply. |