algerka писал(а): ↑01 мар 2019, 13:40
danila.ivanov писал(а): ↑01 мар 2019, 13:19
А то с бубном танцевать устал.
Нарисуйте нормальную схему, покажите конфиг, может и поможем.
Думаю теперь понятнее :) (настройщик из меня тот еще)
/interface bridge
add name=bridge1
add name=bridge2
/interface ethernet
set [ find default-name=ether1 ] mac-address=00:01:02:03:04:05
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 \
password=(ХХХ) use-peer-dns=yes user=(ХХХ)
/ip pool
add name=dhcp_pool0 ranges=192.168.110.х-192.168.110.ххх
add name=dhcp_pool2 ranges=192.168.111.х-192.168.111.ххх
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge1 name=dhcp1
add address-pool=dhcp_pool2 disabled=no interface=bridge2 name=dhcp2
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
/ip address
add address=192.168.110.х/24 interface=bridge1 network=192.168.110.х
add address=192.168.111.х/24 interface=bridge2 network=192.168.111.х
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge1
/ip dhcp-server network
add address=192.168.110.х/24 dns-server=192.168.110.х,8.8.8.8 gateway=\
192.168.110.х netmask=24
add address=192.168.111.х/24 dns-server=192.168.111.х,8.8.8.8 gateway=\
192.168.111.х netmask=24
/ip firewall address-list
add address=192.168.110.х-192.168.110.ххх list=Equipments
add address=192.168.111.х-192.168.111.ххх list=Equipments
add address=192.168.114.х-192.168.114.хххlist=Equipments
add address=192.168.115.х-192.168.115.ххх list=Equipments
/ip firewall filter
add action=accept chain=forward dst-address=192.168.110.х/24 src-address=\
192.168.111.х/24
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1
add action=masquerade chain=srcnat out-interface=bridge1 src-address=\
192.168.111.х/24
add action=masquerade chain=srcnat out-interface=bridge1 src-address=\
192.168.110.х/24
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
set udplite disabled=yes
set dccp disabled=yes
set sctp disabled=yes
/ip service
set www-ssl disabled=no
/system clock
/system routerboard settings
set init-delay=0s