Hi there, I tried what you guys said
...
and I'm totally confused.
I did everything Revelation wrote and as far as I can tell nothing has changed. Computers can still see each other and the subnet is still 192.168.88.0/24.
I've also added two new DHCP servers and IP pools (10.10.100.0/24 and 10.10.200.0/24) but that didn't change anything either and they're shown in red.
My best guess is that some previous settings take precedence but that's as far as I can tell. Here's some ways I managed to break things maybe it'll give you some pointers:
- disabled bridge-local (bridging eth2-4 and wifi) and everybody lost internet connection
- started tagging wlan with tag 100 and all the packets seemed to be dropped after that
interface wireless set 0 vlan-mode=use-tag vlan-id=100
- turned on VLAN tagging on the TP-Link APs and same story (maybe the switch passes tags? it does advertise handling jumbo packets)
- removed eth2-master from bridge-local (lost internet)
- that's what I can remember but I'm sure I broke it in many more ways... also I did ipconfig /release and /renew after each one to see if my IP change
I would really like to understand why things are happening I usually suck these things right up but every time I think I understand something RouterOS goes ahead and surprises me. I really appreciate you guys helping
I'm guessing you will need me to give you some connfig data so here is all of them:
add admin-mac=D4:CA:6D:06:F2:C7 auto-mac=no mtu=1500 name=bridge-local
add name=bridge_vlan100
add name=bridge_vlan200
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n comment=WiFi country=hungary disabled=no distance=indoors mode=ap-bridge ssid=[redacted] vlan-id=100 \
wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] comment=Internet name=ether1-gateway
set [ find default-name=ether2 ] comment="POS terminal" name=ether2-master-local
set [ find default-name=ether3 ] comment="2-es epulet" master-port=ether2-master-local name=ether3-slave-local
set [ find default-name=ether4 ] comment=Net-Porta master-port=ether2-master-local name=ether4-slave-local
set [ find default-name=ether5 ] comment="TV-s szoba" master-port=ether2-master-local name=ether5-slave-local
/interface wireless manual-tx-power-table
set wlan1 comment=WiFi
/interface wireless nstreme
set wlan1 comment=WiFi
/ip neighbor discovery
set ether1-gateway comment=Internet
set ether2-master-local comment="POS terminal"
set ether3-slave-local comment="2-es epulet"
set ether4-slave-local comment=Net-Porta
set ether5-slave-local comment="TV-s szoba"
set wlan1 comment=WiFi discover=no
/interface vlan
add interface=bridge_vlan100 name=vlan100_bridge vlan-id=100
add interface=ether3-slave-local name=vlan100_eth3 vlan-id=100
add interface=ether5-slave-local name=vlan100_eth5 vlan-id=100
add interface=bridge_vlan200 name=vlan200_bridge vlan-id=200
add interface=ether2-master-local name=vlan200_eth2 vlan-id=200
add interface=ether3-slave-local name=vlan200_eth3 vlan-id=200
add interface=ether4-slave-local name=vlan200_eth4 vlan-id=200
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik wpa-pre-shared-key=[redacted] wpa2-pre-shared-key=[redacted]
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.240
add name=pool_vlan100 ranges=10.10.100.10-10.10.100.240
add name=pool_vlan200 ranges=10.10.200.10-10.10.200.240
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local lease-time=2h name=default
add address-pool=pool_vlan100 disabled=no interface=bridge_vlan100 lease-time=2h name=dhcp_vlan100
add address-pool=pool_vlan200 disabled=no interface=bridge_vlan200 lease-time=1d name=dhcp_vlan200
/snmp community
add addresses=192.168.88.0/24 name=[redacted] write-access=yes
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/interface bridge port
add bridge=bridge-local interface=wlan1
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge_vlan100 interface=vlan100_eth5
add bridge=bridge_vlan200 interface=vlan200_eth3
add bridge=bridge_vlan100 interface=vlan100_eth3
add bridge=bridge_vlan200 interface=vlan200_eth4
add bridge=bridge_vlan200 interface=vlan200_eth2
/ip address
add address=192.168.88.251/24 comment="default configuration" interface=ether2-master-local network=192.168.88.0
add address=192.168.1.60/24 interface=ether1-gateway network=192.168.1.0
add address=10.10.200.1/24 interface=vlan200_bridge network=10.10.200.0
add address=10.10.100.1/24 interface=vlan100_bridge network=10.10.100.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid interface=ether1-gateway
/ip dhcp-server config
set store-leases-disk=never
/ip dhcp-server lease
add address=192.168.88.246 always-broadcast=yes client-id=1:0:19:d2:ae:41:ef comment[redacted] mac-address=00:19:D2:AE:41:EF server=default
add address=192.168.88.244 client-id=1:e4:98:d1:4d:89:74 comment="David's Windows Phone" mac-address=E4:98:D1:4D:89:74 server=default
/ip dhcp-server network
add address=10.10.200.0/24 dns-server=10.10.200.1 gateway=10.10.200.1 netmask=24
add address=192.168.88.0/24 comment="default configuration" dns-server=192.168.88.251 gateway=192.168.88.251 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,4.4.4.4
/ip dns static
add address=192.168.88.251 name=router
add address=192.168.1.254 name=speedport.ip
/ip firewall filter
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="Port scanners to list" protocol=tcp psd=21,3s,3,1
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="NMAP FIN stealth scan" protocol=tcp tcp-flags=\
fin,!syn,!rst,!psh,!ack,!urg
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="SYN/FIN scan" protocol=tcp tcp-flags=fin,syn
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="SYN/RST scan" protocol=tcp tcp-flags=syn,rst
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="FIN/PSH/URG scan" protocol=tcp tcp-flags=\
fin,psh,urg,!syn,!rst,!ack
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="ALL/ALL scan" protocol=tcp tcp-flags=fin,syn,rst,psh,ack,urg
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="NMAP/NULL scan" protocol=tcp tcp-flags=\
!fin,!syn,!rst,!psh,!ack,!urg
add action=drop chain=input comment="Dropping port scanners" src-address-list="port scanners"
add action=drop chain=input comment="Drop SSH bruteforcers" dst-port=22,6513,4952 protocol=tcp src-address-list=ssh_blacklist
add action=add-src-to-address-list address-list=ssh_blacklist address-list-timeout=1w3d chain=input connection-state=new dst-port=22,6513,4952 protocol=tcp \
src-address-list=ssh_stage3
add action=add-src-to-address-list address-list=ssh_stage3 address-list-timeout=1m chain=input connection-state=new dst-port=22,6513,4952 protocol=tcp src-address-list=\
ssh_stage2
add action=add-src-to-address-list address-list=ssh_stage2 address-list-timeout=1m chain=input connection-state=new dst-port=22,6513,4952 protocol=tcp src-address-list=\
ssh_stage1
add action=add-src-to-address-list address-list=ssh_stage1 address-list-timeout=1m chain=input connection-state=new dst-port=22,6513,4952 protocol=tcp
add chain=input comment="Allow limited pings" limit=50/5s,2:packet protocol=icmp
add action=drop chain=input comment="Drop excess pings" protocol=icmp
add chain=input comment="default configuration - accept ICMP" protocol=icmp
add chain=input comment="remote SSH" dst-port=[redacted] protocol=tcp
add chain=input comment="remote Winbox" disabled=yes dst-port=[redacted] protocol=tcp
add chain=input comment="default configuration - accept establilshed" connection-state=established
add chain=input comment="default configuration - accept related" connection-state=related
add action=drop chain=input comment="default configuration - drop all else" in-interface=ether1-gateway
add chain=forward comment="default configuration - forward establilshed" connection-state=established
add chain=forward comment="default configuration - forward related" connection-state=related
add action=drop chain=forward comment="default configuration - drop invalid" connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1-gateway to-addresses=0.0.0.0
/ip route
add distance=1 gateway=192.168.1.254
/ip service
set telnet disabled=no
set ftp disabled=yes
set www port=220
set ssh port=[redacted]
set api disabled=yes
set winbox port=[redacted]
/snmp
set contact=admin@[redacted] location=2es_epulet trap-community=[redacted] trap-interfaces=ether3-slave-local trap-target=192.168.88.252
/system clock
set time-zone-autodetect=no time-zone-name=Europe/Budapest
/system identity
set name=[redacted]
/system leds
set 0 interface=wlan1
/system ntp client
set enabled=yes primary-ntp=148.6.0.1 secondary-ntp=198.123.30.132
/system scheduler
add interval=15m name=DDNS on-event="/system script run DDNS" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=jul/13/2014 start-time=13:45:00
/system script
add name=wb_disable owner=admin policy=ftp,read,write,policy source=\
"ip firewall filter disable [/ip firewall filter find comment=\"remote Winbox\"]\r\
\nuser disable remoteWinbox"
add name=wb_enable owner=admin policy=ftp,read,write,policy source=\
"ip firewall filter enable [/ip firewall filter find comment=\"remote Winbox\"]\r\
\nuser enable remoteWinbox"
add name=DDNS owner=admin policy=ftp,read,write,test source="# Set needed variables\r\
\n:local username \"[redacted]\"\r\
\n:local password \"[redacted]\"\r\
\n:local hostname \"[redacted].dlinkddns.com\"\r\
\n\r\
\n:global dyndnsForce\r\
\n:global previousIP \r\
\n\r\
\n# print some debug info\r\
\n:log info (\"UpdateDynDNS: username = \$username\")\r\
\n#:log info (\"UpdateDynDNS: password = \$password\")\r\
\n:log info (\"UpdateDynDNS: hostname = \$hostname\")\r\
\n:log info (\"UpdateDynDNS: previousIP = \$previousIP\")\r\
\n\r\
\n# get the current IP address from the internet (in case of double-nat)\r\
\n/tool fetch mode=http address=\"checkip.dyndns.org\" src-path=\"/\" dst-path=\"/dyndns.checkip.html\"\r\
\n:delay 1\r\
\n:local result [/file get dyndns.checkip.html contents]\r\
\n\r\
\n# parse the current IP result\r\
\n:local resultLen [:len \$result]\r\
\n:local startLoc [:find \$result \": \" -1]\r\
\n:set startLoc (\$startLoc + 2)\r\
\n:local endLoc [:find \$result \"</body>\" -1]\r\
\n:local currentIP [:pick \$result \$startLoc \$endLoc]\r\
\n:log info \"UpdateDynDNS: currentIP = \$currentIP\"\r\
\n\r\
\n# Remove the # on next line to force an update every single time - useful for debugging,\r\
\n# but you could end up getting blacklisted by DynDNS!\r\
\n\r\
\n#:set dyndnsForce true\r\
\n\r\
\n# Determine if dyndns update is needed\r\
\n# more dyndns updater request details http://www.dyndns.com/developers/specs/syntax.html\r\
\n\r\
\n:if ((\$currentIP != \$previousIP) || (\$dyndnsForce = true)) do={\r\
\n :set dyndnsForce false\r\
\n :set previousIP \$currentIP\r\
\n :log info \"\$currentIP or \$previousIP\"\r\
\n /tool fetch user=\$username password=\$password mode=http address=\"members.dyndns.org\" \\\r\
\n src-path=\"nic/update\?system=dyndns&hostname=\$hostname&myip=\$currentIP&wildcard=no\" \\\r\
\n dst-path=\"/dyndns.txt\"\r\
\n :delay 1\r\
\n :local result [/file get dyndns.txt contents]\r\
\n :log info (\"UpdateDynDNS: Dyndns update needed\")\r\
\n :log info (\"UpdateDynDNS: Dyndns Update Result: \".\$result)\r\
\n :put (\"Dyndns Update Result: \".\$result)\r\
\n} else={\r\
\n :log info (\"UpdateDynDNS: No dyndns update needed\")\r\
\n}"
/tool mac-server
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
/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
EDIT: added empty lines to space out text