/interface bridge
add admin-mac= auto-mac=no l2mtu=1598 name=bridge-local protocol-mode=rstp
/interface wireless
set 0 band=2ghz-b/g/n channel-width=20/40mhz-ht-above disabled=no distance=indoors ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 mode=ap-bridge ssid=\
MikroTik-E0AC63 wireless-protocol=any
/interface ethernet
set 0 name=ether1-gateway
set 1 name=ether2-master-local
set 2 master-port=ether2-master-local name=ether3-slave-local
set 3 master-port=ether2-master-local name=ether4-slave-local
set 4 master-port=ether2-master-local name=ether5-slave-local
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1-gateway name=Dostup_inet password= use-peer-dns=yes user=
/interface pptp-server
add name=pptp-server user=maks
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys wpa-pre-shared-key= wpa2-pre-shared-key=
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/ip pool
add name=dhcp ranges=192.168.0.100-192.168.0.200
add name=pptp_pool ranges=192.168.1.205-192.168.1.210
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local name=default
/ppp profile
add change-tcp-mss=yes local-address=192.168.1.1 name=pptp_profile remote-address=pptp_pool
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
/interface pptp-server server
set default-profile=pptp_profile enabled=yes mrru=512
/ip address
add address=192.168.0.1/24 comment="default configuration" interface=bridge-local
/ip dhcp-client
add comment="default configuration" interface=ether1-gateway
/ip dhcp-server network
add address=192.168.0.0/24 comment="default configuration" dhcp-option="(unknown)" dns-server= gateway=192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add chain=input in-interface=bridge-local protocol=tcp src-address=192.168.0.1
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" disabled=yes out-interface=bridge-local to-addresses=0.0.0.0
add chain=srcnat out-interface=ether1-gateway
add action=masquerade chain=srcnat out-interface=Dostup_inet
/ip neighbor discovery
set ether1-gateway disabled=yes
set wlan1 disabled=yes
/ip route
add distance=1 dst-address=192.168.2.0/24 gateway=pptp-server
/ppp secret
add name=maks password=maks1 profile=pptp_profile service=pptp
/system leds
set 0 interface=wlan1
/tool mac-server
add disabled=no interface=ether2-master-local
add disabled=no interface=ether3-slave-local
add disabled=no interface=ether4-slave-local
add disabled=no interface=ether5-slave-local
add disabled=no interface=wlan1
add disabled=no interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 178.234.0.108 1
1 ADC 178.234.0.108/32 ,,,, Dostup_inet 0
2 ADC 192.168.0.0/24 192.168.0.1 bridge-local 0
3 ADC 192.168.1.210/32 192.168.1.1 pptp-server 0
4 A S 192.168.2.0/24 pptp-server 1
[admin@MikroTik] >
add admin-mac= auto-mac=no l2mtu=1598 name=bridge-local protocol-mode=rstp
/interface wireless
set 0 band=2ghz-b/g/n channel-width=20/40mhz-ht-above disabled=no distance=indoors ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 mode=ap-bridge ssid=\
MikroTik-E0AC63 wireless-protocol=any
/interface ethernet
set 0 name=ether1-gateway
set 1 name=ether2-master-local
set 2 master-port=ether2-master-local name=ether3-slave-local
set 3 master-port=ether2-master-local name=ether4-slave-local
set 4 master-port=ether2-master-local name=ether5-slave-local
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1-gateway name=Dostup_inet password= use-peer-dns=yes user=
/interface pptp-server
add name=pptp-server user=maks
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys wpa-pre-shared-key= wpa2-pre-shared-key=
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/ip pool
add name=dhcp ranges=192.168.0.100-192.168.0.200
add name=pptp_pool ranges=192.168.1.205-192.168.1.210
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local name=default
/ppp profile
add change-tcp-mss=yes local-address=192.168.1.1 name=pptp_profile remote-address=pptp_pool
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
/interface pptp-server server
set default-profile=pptp_profile enabled=yes mrru=512
/ip address
add address=192.168.0.1/24 comment="default configuration" interface=bridge-local
/ip dhcp-client
add comment="default configuration" interface=ether1-gateway
/ip dhcp-server network
add address=192.168.0.0/24 comment="default configuration" dhcp-option="(unknown)" dns-server= gateway=192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add chain=input in-interface=bridge-local protocol=tcp src-address=192.168.0.1
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" disabled=yes out-interface=bridge-local to-addresses=0.0.0.0
add chain=srcnat out-interface=ether1-gateway
add action=masquerade chain=srcnat out-interface=Dostup_inet
/ip neighbor discovery
set ether1-gateway disabled=yes
set wlan1 disabled=yes
/ip route
add distance=1 dst-address=192.168.2.0/24 gateway=pptp-server
/ppp secret
add name=maks password=maks1 profile=pptp_profile service=pptp
/system leds
set 0 interface=wlan1
/tool mac-server
add disabled=no interface=ether2-master-local
add disabled=no interface=ether3-slave-local
add disabled=no interface=ether4-slave-local
add disabled=no interface=ether5-slave-local
add disabled=no interface=wlan1
add disabled=no interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 178.234.0.108 1
1 ADC 178.234.0.108/32 ,,,, Dostup_inet 0
2 ADC 192.168.0.0/24 192.168.0.1 bridge-local 0
3 ADC 192.168.1.210/32 192.168.1.1 pptp-server 0
4 A S 192.168.2.0/24 pptp-server 1
[admin@MikroTik] >
сеть за микротиком 192.168.0.0/24
сеть за клиентом 192.168.2.0/24
К клиенту подключен контроллер с адресом 192.168.2.2 (нет никаких защит)
сейчас есть пинг 192.168.2.1 (роутер-клиент)
192.168.2.2 не пингуется
Правильно сети раскидал?