I have a working set-up that I want to modify but I don't know how to do it. I have two MT routers in my setup with ROS 7.13.3.
Router-1 is a hAPax² with network 192.168.88.1/24 that connects to the internet on ether1. The other 4 ether-ports and wifi-2G and wifi-5G "ports" are bridged.
Router-2 is installed in a mobile cabinet with some audio-visual equipment connected to it on the ether-ports. Being mobile I don't want to run a cable from router-2 to router-1. They connect over wifi-5G.
Router-2 is a hAPac² with network 192.168.66.1/24. The wifi-5G interface is defined as a station that logins into router-1. A DHCP-client is defined on wifi-5G. The equipment attached to router-2 has internet access over wifi-5G. The 5 ether-ports and wifi-2G "port" are bridged.
However I don't need or want a second network 192.168.66.0/24. I would be more convenient to have all equipment on the 192.168.88.0 network. I have tried modifying DHCP and DNS entries to no avail. My question is how to configure router-2 (and/or router-1) to this end.
Code: Select all
# 2024-02-01 18:10:42 by RouterOS 7.13.3
# software id = ABCD-1234
#
# model = RBD52G-5HacD2HnD
# serial number = ABCDEF1234
/interface bridge
add igmp-snooping=yes name=bridgeTV
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n channel-width=20/40mhz-XX \
country=netherlands disabled=no frequency=auto installation=indoor \
mac-address=AA:BB:CC:DD:EE:80 mode=ap-bridge name=wifi-2G ssid=\
"2171AA=22"
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
20/40/80mhz-XXXX country=netherlands disabled=no frequency=auto \
installation=indoor mac-address=AA:BB:CC:DD:EE:7F name=wifi-5G ssid=\
2171AA-22
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.66.100-192.168.66.199
/ip dhcp-server
add address-pool=dhcp_pool0 interface=bridgeTV name=dhcp-server
/interface bridge port
add bridge=bridgeTV interface=ether2 internal-path-cost=10 path-cost=10
add bridge=bridgeTV interface=ether3 internal-path-cost=10 path-cost=10
add bridge=bridgeTV interface=ether4 internal-path-cost=10 path-cost=10
add bridge=bridgeTV interface=ether1 internal-path-cost=10 path-cost=10
add bridge=bridgeTV interface=ether5 internal-path-cost=10 path-cost=10
add bridge=bridgeTV interface=wifi-2G
/ip neighbor discovery-settings
set discover-interface-list=*2000011
/interface detect-internet
set detect-interface-list=all
/ip address
add address=192.168.66.1/24 interface=bridgeTV network=192.168.66.0
/ip dhcp-client
add interface=wifi-5G
/ip dhcp-server network
add address=192.168.66.0/24 gateway=192.168.66.1
/ip dns
set allow-remote-requests=yes servers=192.168.66.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=wifi-5G
/system clock
set time-zone-name=Europe/Amsterdam
/system identity
set name=MikrotikTV
/system note
set show-at-login=no
/system routerboard settings
set auto-upgrade=yes