Hello,
I am trying to link two Mikrotik Routers so that one of them is connected to internet via a modem and the other is connected to the first Mikrotik router via Ethernet. The first router works fine, I can connect to its Wireless Network and devices connected to the ethernet interfaces can access the internet. The second router however is giving me a lot of trouble. Right now, I can't access the internet even for devices connected directly via ethernet. Here is how my setup looks like right now:
lan_setup.jpg
Following are the 2 configs for my devices. I eventually want to Router 1 to be the CapsMan, thats why these settings are already included.
Config Router 1:
/interface bridge
add admin-mac=64:D1:54:68:7D:E0 auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether2 ] name=ether2-master
set [ find default-name=ether3 ] master-port=ether2-master
set [ find default-name=ether4 ] master-port=ether2-master
set [ find default-name=ether5 ] master-port=ether2-master
/interface wireless
managed by CAPsMAN
channel: 2422/20-Ce/gn(20dBm), SSID: MikroTik-687DE5, CAPsMAN forwarding
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce
distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-687DE5
wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=
20/40/80mhz-Ceee distance=indoors frequency=auto mode=ap-bridge ssid=
MikroTik-687DE4 wireless-protocol=802.11
/ip neighbor discovery
set ether1 discover=no
/caps-man configuration
add channel.band=2ghz-b/g/n channel.control-channel-width=20mhz
channel.extension-channel=Ce country=germany datapath.bridge=bridge mode=
ap name=cfg1 security.authentication-types=wpa2-psk security.encryption=
aes-ccm security.passphrase=***** ssid=MikroTik-687DE5
/caps-man interface
add configuration=cfg1 disabled=no l2mtu=1600 mac-address=64:D1:54:62:CC:03
master-interface=none name=cap1 radio-mac=64:D1:54:62:CC:03
add configuration=cfg1 disabled=no l2mtu=1600 mac-address=64:D1:54:68:7D:E5
master-interface=none name=cap2 radio-mac=64:D1:54:68:7D:E5
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys
supplicant-identity=MikroTik wpa2-pre-shared-key=*****
/ip pool
add name=default-dhcp ranges=192.168.88.100-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/caps-man manager
set ca-certificate=auto certificate=auto enabled=yes
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge comment=livingRoom interface=cap1
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface wireless cap
set bridge=bridge caps-man-addresses=127.0.0.1 enabled=yes interfaces=wlan1
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=
192.168.88.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=
ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment=
"defconf: accept established,related,untracked" connection-state=
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment=
"enable local wireless interface to be managed by CAPsMAN" dst-port=
5246,5247 protocol=udp src-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN"
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy"
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy"
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack"
connection-state=established,related
add action=accept chain=forward comment=
"defconf: accept established,related, untracked" connection-state=
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid"
connection-state=invalid
add action=drop chain=forward comment=
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade"
ipsec-policy=out,none out-interface-list=WAN
/ip upnp
set enabled=yes
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name="MikroTik Main"
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=bridge
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=bridge
\
Config Router 2:
/interface bridge
add admin-mac=64:D1:54:62:CB:FF auto-mac=no name=bridgeLocal
/interface wireless
managed by CAPsMAN
channel: 2422/20-Ce/gn(20dBm), SSID: MikroTik-687DE5, CAPsMAN forwarding
set [ find default-name=wlan1 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface bridge port
add bridge=bridgeLocal interface=ether2
add bridge=bridgeLocal interface=ether3
add bridge=bridgeLocal interface=ether4
/interface wireless cap
set bridge=bridgeLocal certificate=request discovery-interfaces=ether1
enabled=yes interfaces=wlan1 lock-to-caps-man=yes
/ip address
add address=192.168.88.2/24 interface=ether1 network=192.168.88.0
add address=192.168.88.3/24 interface=ether2 network=192.168.88.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name="MikroTik LivingRoom"