Hi guys,
I used a clean install of MikroTik RouterOS 4.17 x86 to setup a hotspot according to the manual:
http://wiki.mikrotik.com/wiki/Hotspot_server_setup and
http://wiki.mikrotik.com/wiki/Manual:IP/Hotspot
The Problem:
Machines on the local network cannot connect to anything on the same local network.
It appears the MT Hotspot is hijacking all the local traffic.
Machines are receiving the message “Destination net unreachable / prohibited” when pinging and also can’t connect to other services (http, https)
on servers in the local network.
Here’s the network diagram:

Here’s an example from PC ‘winxp’. Firewalls are disabled on the machines for the purpose of testing:
C:\Documents and Settings\Administrator>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : winxp
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter
Physical Address. . . . . . . . . : 00-0C-29-C5-B6-58
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.100.99
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.100.254
DHCP Server . . . . . . . . . . . : 192.168.100.254
DNS Servers . . . . . . . . . . . : 192.168.100.254
192.168.100.254
10.10.10.2
Lease Obtained. . . . . . . . . . : Monday, 28 March 2011 9:36:33 PM
Lease Expires . . . . . . . . . . : Monday, 28 March 2011 10:36:33 PM
C:\Documents and Settings\Administrator>ping 192.168.100.98
Pinging 192.168.100.98 with 32 bytes of data:
Reply from 192.168.100.98: bytes=32 time<1ms TTL=128
Reply from 192.168.100.254: Destination net unreachable.
Reply from 192.168.100.254: Destination net unreachable.
Reply from 192.168.100.254: Destination net unreachable.
Ping statistics for 192.168.100.98:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\Administrator>ping 192.168.100.98
Pinging 192.168.100.98 with 32 bytes of data:
Reply from 192.168.100.254: Destination net unreachable.
Reply from 192.168.100.254: Destination net unreachable.
Reply from 192.168.100.254: Destination net unreachable.
Reply from 192.168.100.254: Destination net unreachable.
Ping statistics for 192.168.100.98:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
If I disable the hotspot1 on the MikroTik the results are normal:
C:\Documents and Settings\Administrator>ping 192.168.100.98
Pinging 192.168.100.98 with 32 bytes of data:
Reply from 192.168.100.98: bytes=32 time<1ms TTL=128
Reply from 192.168.100.98: bytes=32 time<1ms TTL=128
Reply from 192.168.100.98: bytes=32 time<1ms TTL=128
Reply from 192.168.100.98: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.100.98:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
The PCs are trying to reach servers on the local subnet through the routeros gateway!
This makes no sense to me and I don’t know how to troubleshoot the problem.
Why are PCs on the local network using the routeros gateway to connect to servers in the same network segment?
Thanks for any help
Extra Information:
The test environment is created on a vmware ESX4.1 cluster.

CONFIGURATION:
[admin@MikroTik] > / ip address add address=10.10.10.56/24 network=10.10.10.0 broadcast=10.10.10.255 interface=ether1
[admin@MikroTik] > / ip address add address=192.168.100.254/24 network=192.168.100.0 broadcast=192.168.100.255 interface=ether2
[admin@MikroTik] > / ip route add dst-address=0.0.0.0/0 gateway=10.10.10.254
[admin@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.10.10.56/24 10.10.10.0 10.10.10.255 ether1
1 192.168.100.254/24 192.168.100.0 192.168.100.255 ether2
[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P -
prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 10.10.10.254 1
1 ADC 10.10.10.0/24 10.10.10.56 ether1 0
2 ADC 192.168.100.0/24 192.168.100.254 ether2 0
[admin@MikroTik] > / ip dns set servers=10.10.10.1,10.10.10.2 allow-remote-requests=yes
[admin@MikroTik] > ip dns print
servers: 10.10.10.1,10.10.10.2
allow-remote-requests: yes
max-udp-packet-size: 512
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 5KiB
[admin@MikroTik] > / ip hotspot setup
Select interface to run HotSpot on
hotspot interface: ether2
Set HotSpot address for interface
local address of network: 192.168.100.254/24
masquerade network: yes
Set pool for HotSpot addresses
address pool of network: 192.168.100.51-192.168.100.99
Select hotspot SSL certificate
select certificate: none
Select SMTP server
ip address of smtp server: 0.0.0.0
Setup DNS configuration
dns servers: 192.168.100.254
DNS name of local hotspot server
dns name: mttest.test
Create local hotspot user
name of local hotspot user: admin
password for the user: xxxx
[admin@MikroTik] > ip hotspot print
Flags: X - disabled, I - invalid, S - HTTPS
# NAME INTERFACE ADDRESS-POOL PROFILE
IDLE-TIMEOUT
0 hotspot1 ether2 hs-pool-2 hsprof1
5m
[admin@MikroTik] > ip pool print
# NAME
RANGES
0 hs-pool-2
192.168.100.51-192.168.100.99
[admin@MikroTik] > ip dhcp-server export
# mar/28/2011 10:38:10 by RouterOS 4.17
# software id = D1KX-CN8P
#
/ip dhcp-server
add address-pool=hs-pool-2 authoritative=after-2sec-delay bootp-support=static disabled=no interface=ether2 lease-time=1h name=dhcp1
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=192.168.100.0/24 comment="hotspot network" gateway=192.168.100.254
[admin@MikroTik] > ip pool export
# mar/28/2011 10:38:29 by RouterOS 4.17
# software id = D1KX-CN8P
#
/ip pool
add name=hs-pool-2 ranges=192.168.100.51-192.168.100.99
[admin@MikroTik] > ip dhcp-server print
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL
LEASE-TIME ADD-ARP
0 dhcp1 ether2 hs-pool-2
1h
[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 X ;;; place hotspot rules here
chain=unused-hs-chain action=passthrough
1 ;;; masquerade hotspot network
chain=srcnat action=masquerade src-address=192.168.100.0/24
[admin@MikroTik] > ip firewall export
# mar/28/2011 10:42:10 by RouterOS 4.17
# software id = D1KX-CN8P
#
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s tcp-close-wait-timeout=10s tcp-established-timeout=1d tcp-fin-wait-
timeout=10s tcp-last-ack-timeout=10s \
tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="masquerade hotspot network" disabled=no src-address=192.168.100.0/24
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=no ports=69
set irc disabled=no ports=6667
set h323 disabled=no
set sip disabled=no ports=5060,5061
set pptp disabled=no