Community discussions

MikroTik App
 
kneuzgi
just joined
Topic Author
Posts: 23
Joined: Thu Mar 13, 2014 10:33 am

Using DHCP from Fritzbox (Mikrotik Audience AP)

Thu Jun 17, 2021 5:06 pm

Hi

I'd like to use the DHCP settings from my Fritzbox and using the Mikrotik Audience
"only" as an access point.

What do I need to configure so that a wirless device is getting an ip address
directly from the Fritzbox (and not from the Audience)

Thank you very much

Kind regards
Michel


That is the acutal config:

# jun/17/2021 16:02:01 by RouterOS 6.48.3
# software id = MIUK-GYS3
#
# model = RBD25G-5HPacQD2HPnD
# serial number = SERIAL
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=defconf name=bridge
add fast-forward=no name=bridge1
/interface wireless
# managed by CAPsMAN
# channel: 2447/20-Ce/gn(16dBm), SSID: Mikrotik_AP, local forwarding
set [ find default-name=wlan1 ] disabled=no ssid=MikroTik station-roaming=enabled
# managed by CAPsMAN
# channel: 5200/20-eCee/ac/P(18dBm), SSID: Mikrotik_AP_5G, local forwarding
set [ find default-name=wlan2 ] disabled=no ssid=MikroTik station-roaming=enabled
/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm group-encryption=aes-ccm name=security passphrase=PASSWORD
/caps-man configuration
add channel.band=2ghz-b/g/n channel.control-channel-width=20mhz channel.extension-channel=XX comment=defconf country=switzerland datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes distance=indoors installation=indoor name=cfg-2ghz security=security ssid=Mikrotik_AP
add channel.band=5ghz-a/n/ac channel.control-channel-width=20mhz channel.extension-channel=XXXX comment=defconf country=switzerland datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes distance=indoors installation=indoor name=cfg-5ghz-ac security=security ssid=Mikrotik_AP_5G
add channel.band=5ghz-a/n channel.control-channel-width=20mhz channel.extension-channel=XX comment=defconf country=switzerland datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes distance=indoors installation=indoor name=cfg-5ghz-an security=security ssid=Mikrotik_AP_5G
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk comment=defconf disable-pmkid=yes mode=dynamic-keys name=wpsSync supplicant-identity=MikroTik wpa2-pre-shared-key=KEY
/interface wireless
set [ find default-name=wlan3 ] band=5ghz-a/n/ac channel-width=20/40mhz-XX disabled=no mode=ap-bridge security-profile=wpsSync ssid=SYNC-F914CD station-roaming=enabled
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/user group
set full policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api,romon,dude,tikapp
/caps-man manager
set enabled=yes
/caps-man manager interface
set [ find default=yes ] forbid=yes
add comment=defconf disabled=no interface=bridge
/caps-man provisioning
add action=create-dynamic-enabled comment=defconf hw-supported-modes=gn master-configuration=cfg-2ghz name-format=prefix-identity name-prefix=2ghz
add action=create-dynamic-enabled comment=defconf hw-supported-modes=ac master-configuration=cfg-5ghz-ac name-format=prefix-identity name-prefix=5ghz-ac
add action=create-dynamic-enabled comment=defconf hw-supported-modes=an master-configuration=cfg-5ghz-an name-format=prefix-identity name-prefix=5ghz-an
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge comment=defconf interface=wlan3
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface wireless cap
#
set caps-man-addresses=127.0.0.1 enabled=yes interfaces=wlan1,wlan2
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=accept chain=input comment="defconf: drop all not coming from LAN" in-interface-list=LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/system clock
set time-zone-name=Europe/Zurich
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Using DHCP from Fritzbox (Mikrotik Audience AP)

Thu Jun 17, 2021 8:19 pm

read ahead
Last edited by rextended on Thu Jun 17, 2021 8:36 pm, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Using DHCP from Fritzbox (Mikrotik Audience AP)

Thu Jun 17, 2021 8:29 pm

This is how I'm set MY Audience. As Access Point only. I do not use CAPsMAN for only one access point...
viewtopic.php?f=7&t=175543&p=859309#p859309

But this is for you:
paste this on new terminal, WITHOUT OMITTING THE { } !!!
this convert your router+ap to only AP,
you can go back resetting to default the Audience
{
/interface bridge
set bridge protocol=none
remove [find where name=bridge1]
/caps-man security
set [find] authentication-types=wpa2-psk
/interface list
remove [find]
/ip pool
remove [find]
/ip dhcp-server
remove [find]
/user group
set full policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api,romon,!dude,tikapp
/interface bridge port
remove [find]
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=wlan1
add bridge=bridge interface=wlan2
add bridge=bridge interface=wlan3
/ip neighbor discovery-settings
set discover-interface-list=static
/interface list member
remove [find]
/interface wireless cap
set interfaces=wlan1,wlan2,wlan3
/ip dhcp-client
set [find] interface=bridge
/ip dhcp-server network
remove [find]
/ip dns
set allow-remote-requests=no
/ip dns static
remove [find]
/ip firewall filter
remove [find]
/ip firewall nat
remove [find]
/tool mac-server
set allowed-interface-list=all
/tool mac-server mac-winbox
set allowed-interface-list=all
/interface wireless
set [ find ] station-roaming=disabled
}
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19099
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Using DHCP from Fritzbox (Mikrotik Audience AP)

Thu Jun 17, 2021 11:09 pm

Nice!
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Using DHCP from Fritzbox (Mikrotik Audience AP)

Fri Jun 18, 2021 12:53 am

Nice!

Thanks!

Who is online

Users browsing this forum: No registered users and 45 guests