Hi everyone,
I’m actually have 2 segments in my same ether1
192.168.30.0/24 wlan1
192.168.50.0/24. ether1
10.66.14.0/24. ether1
Routes list
0.0.0.0/0. 192.168.30.1. Reachable wlan1
192.168.30.0/24. wlan1 reachable
192.168.50.0/24. ether1 reachable
10.66.14.0/24. ether1 reachable
Address list
10.66.14.118/24. ether1
192.168.50.1/24. ether1
192.168.30.2/24. wlan1
I set the WAN of my router TPlink with the address
192.168.50.55
192.168.50.1. Gateway
192.168.50.1. Dns
And everything works fine but of course everything goes to wlan1… And I can’t reach nothing in the segment 10.66.14.X how can I fix this… Thx for advance
You should be able to reach that subnet unless you block the traffic… You can export your configuration with hide-sensitive and post it insde code tags…
Hi,
Thanks for you quickly answer… I don’t have sensitive data thx to God because it’s a private network for game and listen to music nothing else…I will try to export my config and post again…
Best regards
Hi,
Well hope this help…
apr/21/2020 23:35:43 by RouterOS 6.46.4
software id = Q099-6YST
model = RouterBOARD SXTsq G-5acD
serial number = 899108E1E407
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
/interface wireless
set [ find default-name=wlan1 ] ampdu-priorities=0,1,2,3,4,5,6,7 band=
5ghz-a/n basic-rates-a/g=
6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps country=
“united states” disabled=no frequency=5700 ht-basic-mcs=mcs-4,mcs-5
ht-supported-mcs=mcs-4,mcs-5 mode=station-wds radio-name=MoXi rate-set=
configured scan-list=5700 ssid=M5-HOME tx-power-mode=all-rates-fixed
wireless-protocol=802.11 wmm-support=enabled
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk eap-methods=“” mode=dynamic-keys name=Nauta
supplicant-identity=M5_HOME wpa-pre-shared-key=mipass
wpa2-pre-shared-key=mipass
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool1 ranges=0.0.0.2-255.255.255.254
add name=dhcp_pool2 ranges=192.168.15.2-192.168.15.254
add name=dhcp_pool3 ranges=
192.168.50.1-192.168.50.9,192.168.50.11-192.168.50.254
add name=dhcp ranges=192.168.50.2-192.168.50.254
add name=dhcp_pool5 ranges=192.168.15.2-192.168.15.254
add name=dhcp_pool6 ranges=192.168.20.2-192.168.20.254
add name=dhcp_pool7 ranges=192.168.20.2-192.168.20.254
add name=dhcp_pool8 ranges=192.168.50.2-192.168.50.254
add name=dhcp_pool9 ranges=192.168.50.2-192.168.50.254
add name=dhcp_pool10 ranges=192.168.50.2-192.168.50.254
add name=dhcp_pool11 ranges=192.168.50.2-192.168.50.254
add name=dhcp_pool12 ranges=192.168.2.2-192.168.2.254
/interface detect-internet
set detect-interface-list=all
/interface list member
add interface=wlan1 list=WAN
add interface=ether1 list=LAN
add list=LAN
/ip address
add address=192.168.50.1/24 interface=ether1 network=192.168.50.0
add address=10.66.14.144/24 interface=ether1 network=10.66.14.0
add address=10.18.34.192/24 interface=ether1 network=10.18.34.0
add address=10.10.10.249/24 interface=wlan1 network=10.10.10.0
/ip arp
add address=192.168.30.1 comment=MK interface=wlan1 mac-address=
80:2A:A8:7A:DF:9C
add address=192.168.50.22 comment=Pc interface=ether1 mac-address=
00:C0:CA:8F:FF:B7
add address=192.168.50.45 comment=“Yace Laptop” interface=ether1 mac-address=
28:56:5A:18:69:6F
add address=192.168.50.2 comment=“TPLINK Router” interface=ether1
mac-address=B0:4E:26:77:1B:85
/ip dhcp-client
add interface=wlan1
/ip dhcp-server network
add address=192.168.2.0/24 gateway=192.168.2.1
add address=192.168.15.0/24 dns-server=192.168.1.1 gateway=192.168.15.1
add address=192.168.20.0/24 dns-server=10.10.10.254 gateway=192.168.20.1
add address=192.168.50.0/24 dns-server=10.10.10.254 gateway=192.168.50.1
netmask=24
/ip dns
set allow-remote-requests=yes servers=10.10.10.254
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=
“place hotspot rules here” disabled=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=all src-address=
192.168.50.0/24
/ip route
add distance=1 gateway=10.10.10.254
/ip ssh
set forwarding-enabled=local
/system clock
set time-zone-name=America/Havana
/system logging
add topics=wireless,debug
I modify the Firewall
Out interface List: All
And so far it’s working…
Let me know if you see something wrong or maybe your opinion to optimize everything…