Привет, у меня есть два роутера с Ethernet-хотспотом, и я пытаюсь запустить хотспот на бридже из двух портов (ether0 + ether1). Все работает хорошо без включенного хотспота, локальные пользователи получают DHCP, DNS-запросы разрешаются и т.д. Но когда я включаю хотспот, сеть умирает, я даже не могу пинговать внутрь или наружу! Сначала я пробовал на нашем C-классе, а потом на 10.1.0.0/16. Вот конфиги. Я пробовал /system reset, и сейчас версия 2.9.41. Моя конфигурация такая:
```
/ ip hotspot
add name="hotspot1" interface=bridge1 address-pool=wire-pool profile=hsprof1 idle-timeout=none \
keepalive-timeout=none addresses-per-mac=1 disabled=no
/ ip hotspot service-port
set ftp ports=21 disabled=no
/ ip hotspot profile
add name="hsprof1" hotspot-address=10.1.0.3 dns-name="" html-directory=hotspot rate-limit="" \
http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d \
split-user-domain=no use-radius=yes
/ ip hotspot user
add name="admin" password="**********" profile=default comment="" disabled=no
/ ip hotspot user profile
set default name="default" idle-timeout=none keepalive-timeout=2m status-autorefresh=1m shared-users=1 \
transparent-proxy=no dhcp admin@auth2.9.41]/ip dhcp-server>export
add name="dhcp1" interface=bridge1 lease-time=1h address-pool=wire-pool bootp-support=static authoritative=yes \
disabled=no
/ ip dhcp-server config
set store-leases-disk=5m
/ ip dhcp-server lease
/ ip dhcp-server network
add address=10.1.0.0/16 gateway=10.1.0.3 dns-server=192.168.2.2,10.1.100.10 comment="hotspot network" dns [admin@NOCAuth-2.9.41] ip dns> export
/ ip dns
set primary-dns=192.168.2.2 secondary-dns=10.1.100.10 allow-remote-requests=no cache-size=2048KiB \
cache-max-ttl=1w dhcp- pool [admin@NOCAuth-2.9.41] ip pool> export
/ ip pool
add name="wire-pool" ranges=10.1.200.1-10.1.201.254 bridge [admin@NOCAuth-2.9.41] interface> export
/ interface ethernet
set out-wire name="out-wire" mtu=1500 mac-address=00:08:54:1D:57:0E arp=enabled disable-running-check=yes \
auto-negotiation=yes full-duplex=yes cable-settings=default speed=100Mbps comment="" disabled=no
set in-lan name="in-lan" mtu=1500 mac-address=00:14:2A:FE:8C:61 arp=enabled disable-running-check=yes \
auto-negotiation=yes full-duplex=yes cable-settings=default speed=100Mbps comment="" disabled=no
/ interface bridge
add name="bridge1" mtu=1500 arp=enabled stp=no priority=32768 ageing-time=5m forward-delay=15s \
garbage-collection-interval=4s hello-time=2s max-message-age=20s comment="" disabled=no
/ interface bridge port
add interface=in-lan bridge=bridge1 priority=128 path-cost=10 comment="" disabled=no
add interface=out-wire bridge=bridge1 priority=128 path-cost=10 comment="" disabled=no ip address [admin@NOCAuth-2.9.41] ip address> pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.1.0.3/16 10.1.0.0 10.1.255.255 bridge1 routes [admin@NOCAuth-2.9.41] ip route> pr
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 10.1.0.0/16 10.1.0.3 bridge1
1 A S 0.0.0.0/0 r 10.1.0.1 bridge1 thank you, Kiira
```
```
/ ip hotspot
add name="hotspot1" interface=bridge1 address-pool=wire-pool profile=hsprof1 idle-timeout=none \
keepalive-timeout=none addresses-per-mac=1 disabled=no
/ ip hotspot service-port
set ftp ports=21 disabled=no
/ ip hotspot profile
add name="hsprof1" hotspot-address=10.1.0.3 dns-name="" html-directory=hotspot rate-limit="" \
http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d \
split-user-domain=no use-radius=yes
/ ip hotspot user
add name="admin" password="**********" profile=default comment="" disabled=no
/ ip hotspot user profile
set default name="default" idle-timeout=none keepalive-timeout=2m status-autorefresh=1m shared-users=1 \
transparent-proxy=no dhcp admin@auth2.9.41]/ip dhcp-server>export
add name="dhcp1" interface=bridge1 lease-time=1h address-pool=wire-pool bootp-support=static authoritative=yes \
disabled=no
/ ip dhcp-server config
set store-leases-disk=5m
/ ip dhcp-server lease
/ ip dhcp-server network
add address=10.1.0.0/16 gateway=10.1.0.3 dns-server=192.168.2.2,10.1.100.10 comment="hotspot network" dns [admin@NOCAuth-2.9.41] ip dns> export
/ ip dns
set primary-dns=192.168.2.2 secondary-dns=10.1.100.10 allow-remote-requests=no cache-size=2048KiB \
cache-max-ttl=1w dhcp- pool [admin@NOCAuth-2.9.41] ip pool> export
/ ip pool
add name="wire-pool" ranges=10.1.200.1-10.1.201.254 bridge [admin@NOCAuth-2.9.41] interface> export
/ interface ethernet
set out-wire name="out-wire" mtu=1500 mac-address=00:08:54:1D:57:0E arp=enabled disable-running-check=yes \
auto-negotiation=yes full-duplex=yes cable-settings=default speed=100Mbps comment="" disabled=no
set in-lan name="in-lan" mtu=1500 mac-address=00:14:2A:FE:8C:61 arp=enabled disable-running-check=yes \
auto-negotiation=yes full-duplex=yes cable-settings=default speed=100Mbps comment="" disabled=no
/ interface bridge
add name="bridge1" mtu=1500 arp=enabled stp=no priority=32768 ageing-time=5m forward-delay=15s \
garbage-collection-interval=4s hello-time=2s max-message-age=20s comment="" disabled=no
/ interface bridge port
add interface=in-lan bridge=bridge1 priority=128 path-cost=10 comment="" disabled=no
add interface=out-wire bridge=bridge1 priority=128 path-cost=10 comment="" disabled=no ip address [admin@NOCAuth-2.9.41] ip address> pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.1.0.3/16 10.1.0.0 10.1.255.255 bridge1 routes [admin@NOCAuth-2.9.41] ip route> pr
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 10.1.0.0/16 10.1.0.3 bridge1
1 A S 0.0.0.0/0 r 10.1.0.1 bridge1 thank you, Kiira
```
