(The subnets you see in the firewall sections (10, 20 30 and 99) which don't exist on this router are actually on another router that I want to connect to this one)
Help please.
Below is my router config
Code: Select all
# jan/02/1970 04:37:20 by RouterOS 6.47.1
# software id = WRR1-G24G
#
# model = 951Ui-2HnD
# serial number = <removed>
/interface bridge
add name=bridge2 protocol-mode=none vlan-filtering=yes
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
/interface vlan
add interface=bridge2 name=management_vlan2 vlan-id=100
add interface=bridge2 name=vlan40 vlan-id=40
/interface list
add name=vlan
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=pool_vlan40 ranges=192.168.40.2-192.168.40.254
add name=pool_vlan100 ranges=192.168.100.2-192.168.100.254
add name=dhcp_pool2 ranges=192.168.40.2-192.168.40.254
add name=dhcp_pool3 ranges=192.168.100.2-192.168.100.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=vlan40 name=dhcp1
add address-pool=dhcp_pool3 disabled=no interface=management_vlan2 name=dhcp2
/interface bridge port
add bridge=bridge2 frame-types=admit-only-untagged-and-priority-tagged \
ingress-filtering=yes interface=ether2 pvid=40
/interface bridge vlan
add bridge=bridge2 tagged=bridge2 untagged=ether2 vlan-ids=40
add bridge=bridge2 tagged=bridge2 vlan-ids=100
/interface list member
add interface=vlan40 list=vlan
add interface=management_vlan2 list=vlan
/ip address
add address=192.168.100.1/24 interface=management_vlan2 network=192.168.100.0
add address=192.168.40.1/24 interface=vlan40 network=192.168.40.0
add address=192.168.200.1/24 interface=ether5 network=192.168.200.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.40.0/24 gateway=192.168.40.1
add address=192.168.100.0/24 gateway=192.168.100.1
/ip firewall filter
add action=accept chain=input comment="Allow Estab & Related" connection-state=\
established,related
add action=accept chain=input comment="Allow VLANs to access router services" \
in-interface-list=vlan
add action=drop chain=input comment=Drop
add action=accept chain=forward comment="Allow Established and Related" \
connection-state=established,related
add action=accept chain=forward comment="Allow VLANs to access each other" \
connection-state=new in-interface-list=vlan out-interface-list=vlan
add action=drop chain=forward comment=Drop
/ip firewall nat
add action=masquerade chain=srcnat src-address=192.168.10.0/24
add action=masquerade chain=srcnat src-address=192.168.20.0/24
add action=masquerade chain=srcnat src-address=192.168.30.0/24
add action=masquerade chain=srcnat src-address=192.168.40.0/24
add action=masquerade chain=srcnat src-address=192.168.99.0/24
add action=masquerade chain=srcnat src-address=192.168.100.0/24
/ip route
add distance=1 dst-address=192.168.10.0/24 gateway=192.168.200.2
add distance=1 dst-address=192.168.20.0/24 gateway=192.168.200.2
add distance=1 dst-address=192.168.30.0/24 gateway=192.168.200.2
add distance=1 dst-address=192.168.99.0/24 gateway=192.168.200.2
add distance=1 dst-address=192.168.200.0/24 gateway=192.168.200.2
/system identity
set name=RouterSwitchAP2