today i got my first Mikrolink Router and I'm happy to be part of the family. I knew before that this device is capable of doing great things and that's way i wanted to try and learn some new stuff in networking. So I set up the Router behind my Fritzbox(192.168.178.1). The WAN Interface of the Mikrolink is set on DHCP and get a proper IP Address (192.168.178.48) from the Fritzbox. Because the Fritzbox is still my main router there a few devices connected, like a synology nas(192.168.178.10).
I connected my PC to the LAN Interface and set a static IP-Address (192.168.88.9). I can browse the Internet and also reach the NAS and the Fritzbox. But just with their IP-Addresses and not by the hostname. I played around with some nat rules but unfortunately, it didnt work.
So i went to the IP->DNS Settings on the Mikrotik and made a static entry for the NAS(192.168.178.10). I can ping via Hostname from the Mikrotik Terminal but not from my Windows machine(192.168.88.9)?
Network Fritzbox: 192.168.178.0/24
Network Mikrotik: 192.168.88.0/24
NAS---->Fritzbox: 192.168.178.10
User-PC: 192.168.88.9
Code: Select all
# may/10/2021 22:52:11 by RouterOS 6.48.2
# software id = 0KIL-HJRX
#
# model = RB750Gr3
# serial number = xxxxxxxxxxx
/interface bridge
add admin-mac=ff:ff:ff:ff:ff:ff auto-mac=no comment=defconf name=bridge
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=8.8.8.8 gateway=\
192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
add address=192.168.178.10 name=nas
add address=192.168.178.1 name=fritz.box
/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=\
"defconf: accept to local loopback (for CAPsMAN)" dst-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=reject chain=forward comment="Drop port 80 traffic" dst-port=80 \
protocol=tcp reject-with=icmp-network-unreachable src-port=""
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 firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
set udplite disabled=yes
set dccp disabled=yes
set sctp disabled=yes
/ip service
set telnet disabled=yes
set ftp disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-name=Europe/Berlin
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool traffic-monitor
add interface=ether1 name=tmon1
EDIT: I did run the packet sniffer to see whats going on. Maybe it helps to understand where the problem is, because i don't.