Community discussions

MikroTik App
 
genki
just joined
Topic Author
Posts: 18
Joined: Fri Oct 23, 2020 4:20 pm

HAP Ac2 - cannot ping internet from local eth ports

Mon Jun 07, 2021 5:08 pm

Hi Guys,

I have a Bullet, it connects to Spectrum WiFi and provides DHCP downstream to a HAP Ac2 which provides wired ethernet and WiFi.

Bullet = 192.168.88.1 (provides DHCP and DNS)
Cloud-rtr = 192.168.88.2 (provides DHCP relay and WiFi)

I cannot figure out why my wired devices on eth ports of the HAP are not able to reach the internet, ICMP is failing.
Also upgrade is failing with error
ERROR: could not connect - No route to host


I'm looking for some help with my configuration please.

[genkicloud@GenkiCloud-rtr] > /export hide-sensitive
# apr/16/2021 07:09:43 by RouterOS 6.48.3
# software id = 6VI8-ZLRR
#
# model = RBD52G-5HacD2HnD
# serial number = D7180C99682F
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n channel-width=20/40mhz-XX disabled=no \
distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=Genki \
wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX \
disabled=no distance=indoors frequency=auto installation=indoor mode=ap-bridge \
ssid=SunceMia wireless-protocol=802.11
/interface bridge
add admin-mac=48:8F:5A:8E:36:E9 auto-mac=no comment=defconf name=bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether2 ] advertise=10M-full,100M-full,1000M-full
/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
/system logging action
set 0 memory-lines=500
/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
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/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.120/24 comment=defconf interface=bridge network=192.168.88.0
add address=192.168.88.2/24 interface=ether1 network=192.168.88.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf interface=ether1 use-peer-dns=no
/ip dhcp-relay
add dhcp-server=192.168.88.1 disabled=no interface=bridge name="Relay from Bullet"
/ip dns
set allow-remote-requests=yes servers=192.168.88.1,1.1.1.1
/ip firewall address-list
add address=0.0.0.0/8 comment=RFC6890 list=not_in_internet
add address=172.16.0.0/12 comment=RFC6890 list=not_in_internet
add address=192.168.0.0/16 comment=RFC6890 list=not_in_internet
add address=10.0.0.0/8 comment=RFC6890 list=not_in_internet
add address=169.254.0.0/16 comment=RFC6890 list=not_in_internet
add address=127.0.0.0/8 comment=RFC6890 list=not_in_internet
add address=224.0.0.0/4 comment=Multicast list=not_in_internet
add address=198.18.0.0/15 comment=RFC6890 list=not_in_internet
add address=192.0.0.0/24 comment=RFC6890 list=not_in_internet
add address=192.0.2.0/24 comment=RFC6890 list=not_in_internet
add address=198.51.100.0/24 comment=RFC6890 list=not_in_internet
add address=203.0.113.0/24 comment=RFC6890 list=not_in_internet
add address=100.64.0.0/10 comment=RFC6890 list=not_in_internet
add address=240.0.0.0/4 comment=RFC6890 list=not_in_internet
add address=192.88.99.0/24 comment="6to4 relay Anycast [RFC 3068]" list=\
not_in_internet
add address=119.188.246.185 list=Drop-Bad-Actors
/ip firewall filter
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid \
log=yes log-prefix="Invalid Forward Chain: Invalid"
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
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
/ip route
add distance=1 gateway=192.168.88.1
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www port=65535
set ssh port=65530
set www-ssl port=65535 tls-version=only-1.2
set api disabled=yes
set winbox address=192.168.1.0/24
set api-ssl disabled=yes
/ip ssh
set strong-crypto=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=ether1 type=external
/system clock
set time-zone-name=America/Denver
/system identity
set name=GenkiCloud-rtr
/tool bandwidth-server
set enabled=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool sniffer
set filter-ip-address=75.25.56.1/32

Thank you !
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: HAP Ac2 - cannot ping internet from local eth ports

Mon Jun 07, 2021 10:40 pm

You can't have the same subnet assigned to more than one interface, in this case the 'WAN' / ether1 and 'LAN' / bridge - the router has no idea which interface a device using an address in that subnet is attached to.

If you are happy with the Bullet providing DHCP and DNS just configure the hAP as a bridged access point with no routing or firewalling. Otherwise change your 'LAN' subnet to something else, e.g. 192.168.89.1/24, update the references to this subnet accordingly, and replace the DHCP relay with a local DHCP server.
 
genki
just joined
Topic Author
Posts: 18
Joined: Fri Oct 23, 2020 4:20 pm

Re: HAP Ac2 - cannot ping internet from local eth ports

Tue Jun 08, 2021 3:52 pm

Hi TDW,

Thank you for your response.

One follow up question, can I still manage the HAP through the web/ssh interfaces when I place it into bridge mode?

Do I have to configure a management address somewhere?

Thank you!
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: HAP Ac2 - cannot ping internet from local eth ports

Tue Jun 08, 2021 11:07 pm

Yes. Just assign an IP address to the bridge for local management access. To access addresses outside of the subnet, e.g. to download new firmware, you also need to set a default route pointing to the router (the Bullet in this case).

I haven't got a link to hand but if you search the forums there are several posts covering using hAP as an wireless AP.

Who is online

Users browsing this forum: 0xAA55, cmmike, EmuAGR, Nullcaller, raiod, TheCat12 and 63 guests