Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
# software id = 34NW-X144
#
/interface bridge
add name=bridge1
/interface wireless
# managed by CAPsMAN
# channel: 2447/20-Ce/gn(20dBm), SSID: KV-15, CAPsMAN forwarding
set [ find default-name=wlan1 ] name=wlan2
/interface ethernet
set [ find default-name=ether1 ] mac-address=E4:8D:8C:81:3F:C1
set [ find default-name=ether2 ] mac-address=E4:8D:8C:81:3F:C2
set [ find default-name=ether3 ] mac-address=E4:8D:8C:81:3F:C3
set [ find default-name=ether4 ] mac-address=E4:8D:8C:81:3F:C4
set [ find default-name=ether5 ] mac-address=E4:8D:8C:81:3F:C5
set [ find default-name=ether6 ] mac-address=E4:8D:8C:81:3F:C6
set [ find default-name=ether7 ] mac-address=E4:8D:8C:81:3F:C7
set [ find default-name=ether8 ] mac-address=E4:8D:8C:81:3F:C8
set [ find default-name=sfp1 ] mac-address=E4:8D:8C:81:3F:C9
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm,tkip \
group-encryption=aes-ccm name=sec passphrase=XXXXXX
/caps-man configuration
add country=russia datapath.bridge=bridge1 mode=ap name=cfg1 \
security=sec ssid=KV-15
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk \
mode=dynamic-keys supplicant-identity=MikroTik \
wpa-pre-shared-key=XXXXXX wpa2-pre-shared-key=XXXXXXX
/ip pool
add name=dhcp ranges=192.168.1.3-192.168.1.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=cfg1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
add bridge=bridge1 disabled=yes
add bridge=bridge1 interface=sfp1
/interface wireless cap
set caps-man-addresses=192.168.1.1 enabled=yes interfaces=wlan2
/ip address
add address=192.168.1.1/24 interface=bridge1 network=192.168.1.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server lease
add address=192.168.1.168 mac-address=00:04:A3:81:72:1C
/ip dhcp-server network
add address=192.168.1.0/24 gateway=192.168.1.1 netmask=24
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/lcd interface pages
set 0 interfaces=*1
/system clock
set time-zone-name=Europe/Moscow
/system identity
set name=Manager