I am having a very strange issue and hope to get some answers here. Basiclly the ping to static LAN IP address will always have the 1st packet time-out,then the rest of packets appear to be fine (in 2-3ms range ). If I ping the same IP again immediately, everything is fine. After 2-3 minutes. first packet will time-out again. Same result whether I ping from a local PC or ping from the Mikrotik itself.
I am using a Cloud Core 1009 with Hotspot server (no usermanager) set up on a bridge which currently only include ether 3. ether 1 is used to connect to a ADSL router and ether 2 connects to a satellite broadband modem (only few static IP address is routed to use this connection).
The Lan Network is 10.10.1.0/16 and 10.10.1.x range is used bystatic IP address of APs and
The Lan Network is 10.10.1.0/16 and 10.10.1.x range is used bystatic IP address of APs and IP Phones. all static IP address is added to IP-Blinding in Hotspot. ZoneDirector and IP PBx is added to Walled garden list. DHCP server range 10.10.3.x - 10.10.5.x so all hotspot users are in this range.
Filter rule:
add chain=forward comment="accept established and replated Packet" connection-state=established,related,new
add action=drop chain=forward comment="Drop invalid Packet" connection-state=invalid
add chain=input comment="accept established and related" connection-state=established,related
add action=drop chain=input comment="drop invalid" connection-state=invalid
add chain=input comment="Accept Winbox" dst-port=8291 protocol=tcp
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add chain=input comment="Accept Ping on Hotspot" protocol=icmp src-address=10.10.0.0/16
add action=drop chain=input comment="Drop ping from non-Hotspot network" protocol=icmp
NAT:
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" dis
add action=masquerade chain=srcnat out-interface=ether1 src-address=192.168.1.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" src-address
add action=dst-nat chain=dstnat comment="Port forwarding VNC" dst-port=5900 protoco
5900
add action=masquerade chain=srcnat comment="NAT for Satellite" log=yes out-interfac
Mangle:
/ip firewall mangle
add action=mark-routing chain=prerouting comment="Mark Route for Satellite" new-routing-mark=Satellite passthrough=no \
src-address-list=Satellite
add action=mark-connection chain=forward comment="Mark connection for AP Router" new-connection-mark=AP_Router_Connection \
out-interface=ether1 src-address-list=AP_Router
add action=mark-packet chain=forward comment="Mark Packet for AP Router" connection-mark=AP_Router_Connection \
new-packet-mark=AP_Router_Packet passthrough=no
Hotspot:
/ip hotspot profile
add hotspot-address=10.10.1.1 http-cookie-lifetime=10m name=hsprof1
/ip hotspot
add address-pool=Hotspot_pool disabled=no interface=Bridge_Hotspot name=hotspot1 profile=hsprof1
/ip hotspot user profile
set [ find default=yes ] idle-timeout=2m mac-cookie-timeout=5m rate-limit=256K/1M session-timeout=30m shared-users=2
add name=admin shared-users=5 transparent-proxy=yes
add idle-timeout=30m keepalive-timeout=5m name=staff rate-limit=256K/1M transparent-proxy=yes
/ip hotspot ip-binding
add address=10.10.1.2 type=bypassed
add address=10.10.1.3 type=bypassed
add address=10.10.1.38 type=bypassed
add address=10.10.1.5 type=bypassed
add address=10.10.1.7 type=bypassed
add address=10.10.1.101 type=bypassed
add address=10.10.1.10-10.10.1.189 type=bypassed
add address=10.10.1.200 type=bypassed
/ip hotspot service-port
set ftp disabled=yes
/ip hotspot walled-garden
add comment="place hotspot rules here" disabled=yes
/ip hotspot walled-garden ip
add action=accept disabled=no dst-address=10.10.1.2 server=hotspot1
add action=accept disabled=no dst-address=10.10.1.3 server=hotspot1
any thought would be appreciated!