Page 1 of 1

HotSpot/Routing issue

Posted: Sat Jul 30, 2011 6:32 pm
by voipworld
hey friends,
i have a RB750 with an access point atached to it
i enabled hotspot and is perfectly working with local users
ok, i decided to plug another access point but wirelessly to the other existing access point for wiring something remotly
i enabled routing for remote subnet
my actual RB750 subnet is 172.29.0.0/24
and remote subnet is 10.25.0.0/24
so, the wireless interface of the remote AP has a ip address of 172.29.0.3 and the existing ap is 172.29.0.2 while routerBoard is at 172.29.0.1
the 10.25.0.0/24 is assigned to the lan interface of remote ap.
i fighted a lot with this issue but finaly remembered hotspot
i disabled it in /ip hotspot disable numbers=0
and ping started flowing
if i enable it aguin, no ping
BTW, i autorised 172.29.0.0/29 (my static ip including ipphones) and remote subnet 10.25.0.0/24 (not a hotspot subnet) using:
/ip hotspot ip-binding
add address=172.29.0.13 disabled=no type=bypassed
add address=10.25.0.0/24 disabled=no type=bypassed
add address=172.29.0.0/29 disabled=no type=bypassed

here's the hotspot config:
/ip hotspot
add address-pool=dhcp_pool1 addresses-per-mac=2 disabled=yes idle-timeout=5m \
interface=ether2-master-local keepalive-timeout=none name=hotspot1 \
profile=hsprof1
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=\
1 status-autorefresh=1m transparent-proxy=no
/ip hotspot ip-binding
add address=172.29.0.13 disabled=no type=bypassed
add address=10.25.0.0/24 disabled=no type=bypassed
add address=172.29.0.0/29 disabled=no type=bypassed
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add disabled=no name=ios password=ios profile=default
add disabled=no name=mohamed password=mohamed profile=default
any help is welcome
:)

Re: HotSpot/Routing issue

Posted: Sun Jul 31, 2011 12:04 am
by ahang
I think nobody understand what is your problem ?

I have RB750 either and I have two different Hotspot with two different IP range, one is local hotspot and the other is public hotspot and everything is working good.

Re: HotSpot/Routing issue

Posted: Sun Jul 31, 2011 12:12 am
by voipworld
sory but your both hotspot is insame routerboard
so that's an internal routing
my hotspot is in rb750
but i have a wireless ap wrt160nl for wireless access
but aditionaly i have a d-link dir615 that's a client of my wrt160nl
if the d-link connect they do have a wlan and a lan interface
the wlan interface is in the same subnet at my rb
the lan is not, is 10.25.0.0/24
so in my rb:
i route my 10.25.0.0/24 to my dir615 ip (172.29.0.3)
and in my dir615 i have default gateway to my mikrotik
so if hotspot is up, my rb can not route traffic to this d-link
but if hotspot is disabled, they can route.
so something wrong with the hotspot.
thank you.
I think nobody understand what is your problem ?

I have RB750 either and I have two different Hotspot with two different IP range, one is local hotspot and the other is public hotspot and everything is working good.

Re: HotSpot/Routing issue

Posted: Sun Jul 31, 2011 1:39 am
by SurferTim
When you enable the hotspot, it also enables the 1:1 NAT. It translates all addresses outside its address pool to one on its localnet. To see what it is doing:
/ip hotspot host
Only the to-address is seen on the router side of the hotspot.

To disable the NAT
/ip hotspot
set 0 address-pool=none

Re: HotSpot/Routing issue

Posted: Sun Jul 31, 2011 2:13 am
by voipworld
Super Usefull reply.
i have it now fully functional now
thank you for letting me stream my favourite Radio program on my iPhone today!
>:)
When you enable the hotspot, it also enables the 1:1 NAT. It translates all addresses outside its address pool to one on its localnet. To see what it is doing:
/ip hotspot host
Only the to-address is seen on the router side of the hotspot.

To disable the NAT
/ip hotspot
set 0 address-pool=none