Community discussions

MikroTik App
 
cneg1485
just joined
Topic Author
Posts: 9
Joined: Sat Jun 06, 2020 1:39 am

Bridge on wireless

Sat Jun 06, 2020 1:55 am

Hello, i am having trouble trying to make dhcp server work on my mikrotik router. my current setup, my isp router is the current dhcp server providing ips in the range of 10.0.0.0/24. the mikrotik which is a 952 is connected to the isp router via ether2. i have a bridge where all the interfaces are in. the bridge gets ip from the isp router's dhcp. do i have to shutdown the dhcp server in the isp router for the dhcp of the mikrotik to work? how would i assign an ip to the mikrotik so that it could communicate with isp router? i would like the mikrotik to assign IP's in the 192.168.0.1

/interface bridge
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no mode=ap-bridge ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge1 interface=all
/ip dhcp-client
add disabled=no interface=bridge1
/system clock
set time-zone-name
 
User avatar
mutluit
Forum Veteran
Forum Veteran
Posts: 854
Joined: Wed Mar 25, 2020 4:04 am

Re: Bridge on wireless

Sun Jun 14, 2020 2:48 pm

You can specify the IP range in the "pool" settings. In RouterOS see "/ip pool" either in GUI or CLI.
Your ISP router surely has similar settings where you can define the IP pool.
Normally you should have only 1 DHCP server active.
You can instead also assign IPs manually to some or all ports/devices, especially for the router itself. See docs/wiki pages.
 
User avatar
w32pamela
Member Candidate
Member Candidate
Posts: 212
Joined: Fri Jul 12, 2013 4:22 pm

Re: Bridge on wireless

Mon Jun 15, 2020 3:48 pm

If you reset your router to defaults and plug the isp router into port 1 the router should work the way you want execept it will be giving out IP address in 192.168.88.0/24. If this works you just need to modify the configuration to give out IP's in the 192.168.0.0/24 range.