Jump to content
Калькуляторы

Mikrotik caps-man не получает ip

добрый день  настраиваю  caps-man в итоге клиент когда подключется в wifi  не получает ip  клиенты должны бsть в 19 vlan

на сервере caps-man

caps-man export 
/caps-man channel
add band=2ghz-b/g/n name="channel_2.4 Ghz_1" tx-power=28
add band=2ghz-b/g/n name="channel2.4 Ghz_6" tx-power=28
add band=5ghz-a/n/ac extension-channel=Ce name="channel_ 5 Ghz_36" tx-power=28
add band=5ghz-a/n/ac extension-channel=Ce name="channel_ 5 Ghz_44" tx-power=28
/caps-man datapath
add client-to-client-forwarding=yes local-forwarding=no name=datapath1
/caps-man interface
add disabled=no mac-address=CC:2D:E0:92:20:48 master-interface=none name=cap1 radio-mac=CC:2D:E0:92:20:48 radio-name=CC2DE0922048
add disabled=no mac-address=CC:2D:E0:92:20:49 master-interface=none name=cap2 radio-mac=CC:2D:E0:92:20:49 radio-name=CC2DE0922049
add disabled=no mac-address=CC:2D:E0:92:20:6C master-interface=none name=cap3 radio-mac=CC:2D:E0:92:20:6C radio-name=CC2DE092206C
add disabled=no mac-address=CC:2D:E0:92:20:6D master-interface=none name=cap4 radio-mac=CC:2D:E0:92:20:6D radio-name=CC2DE092206D
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm group-key-update=1h name=security1 passphrase=123qweasd
/caps-man configuration
add channel="channel_ 5 Ghz_36" country=russia datapath=datapath1 datapath.vlan-id=19 datapath.vlan-mode=use-tag mode=ap name=cfg_5G rx-chains=0,1,2,3 security=security1 ssid="Mikrotik caps 5G" tx-chains=0,1,2,3
add channel="channel_2.4 Ghz_1" country=russia datapath=datapath1 datapath.vlan-id=19 datapath.vlan-mode=use-tag mode=ap name=cfg_2.4G rx-chains=0,1,2,3 security=security1 ssid="Mikrotik caps" tx-chains=0,1,2
/caps-man access-list
add action=reject allow-signal-out-of-range=10s disabled=no interface=any signal-range=-120..-80 ssid-regexp=""
add action=accept allow-signal-out-of-range=10s disabled=no interface=any signal-range=-80..120 ssid-regexp=""
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=an,ac master-configuration=cfg_5G
add action=create-dynamic-enabled hw-supported-modes=b,gn master-configuration=cfg_2.4G
/interface> export
add name=bridge_vlan
/interface ethernet
set [ find default-name=ether1 ] comment=Wan mac-address=00:12:36:15:17:01 speed=100Mbps
set [ find default-name=ether2 ] comment=LAN mac-address=00:12:36:15:17:02 speed=100Mbps
set [ find default-name=ether3 ] mac-address=00:12:36:15:17:03 speed=100Mbps
set [ find default-name=ether4 ] mac-address=00:12:36:15:17:04 speed=100Mbps
set [ find default-name=ether5 ] mac-address=00:12:36:15:17:05 speed=100Mbps
set [ find default-name=ether6 ] mac-address=00:12:36:15:17:06 speed=100Mbps
set [ find default-name=ether7 ] mac-address=00:12:36:15:17:07 speed=100Mbps
set [ find default-name=ether8 ] mac-address=00:12:36:15:17:08 speed=100Mbps
/interface vlan
add comment=WIFI interface=bridge_vlan name=vlan19 vlan-id=19
/interface bridge port
add bridge=bridge_vlan interface=ether3
add bridge=bridge_vlan interface=ether2
add bridge=bridge_vlan interface=ether4
add bridge=bridge_vlan interface=cap1
add bridge=bridge_vlan interface=cap2
add bridge=bridge_vlan interface=cap3
add bridge=bridge_vlan interface=cap4
/interface vrrp
add interface=vlan19 interval=10s name=vlan19_vrrp_master priority=254 vrid=19
/ip dhcp-server
add address-pool=vlan19 disabled=no interface=vlan19_vrrp_master name=vlan19
/ip dhcp-server network
add address=10.0.19.0/24 dns-server=10.0.19.1 gateway=10.0.19.1

на  точке доступа

# model = RBcAPGi-5acD2nD
# serial number = BECD08A571C3
/interface bridge
add admin-mac=CC:2D:E0:92:20:5A auto-mac=no comment=defconf name=bridgeLocal
/interface wireless
# managed by CAPsMAN
# channel: 2447/20-Ce/gn(20dBm), SSID: Mikrotik caps, CAPsMAN forwarding
set [ find default-name=wlan1 ] ssid=MikroTik
# managed by CAPsMAN
# channel: 5765/20-Ce/ac(20dBm), SSID: Mikrotik caps 5G, CAPsMAN forwarding
set [ find default-name=wlan2 ] 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=bridgeLocal comment=defconf interface=ether1
add bridge=bridgeLocal comment=defconf interface=ether2
/interface wireless cap
# 
set bridge=bridgeLocal caps-man-addresses=10.0.19.1 discovery-interfaces=bridgeLocal enabled=yes interfaces=wlan1,wlan2
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=bridgeLocal
/system clock
set time-zone-name=Europe/Moscow
/system identity
set name=caps3

 

 

Share this post


Link to post
Share on other sites

VLAN прокидывают между двумя управляемыми свичами у Вас 

CAPsMAN forwarding

То есть трафик разруливает сам CAPsMAN,  между чем и чем он должен прокладывать vlan? 

Cap интерфейсы уже прокинуты до роутера.

 

За настройку WIFI Вам двойка. Это ж надо вывалить мощность на 28.

Вот статья, с которой нужно было ознакомиться до покупки оборудования. https://habr.com/ru/article/456918/ 

Edited by Корпич

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.