Guys, please help. I am running out of things to try and check. I thought maybe the devices which the client connect through is altering the IP in a way that is unacceptable to the hotspot, but above quote says otherwise. So why would a perfectly legal IP be rejected, in that the login page is refused to be displayed?The HotSpot system does not care how did a client get an address before he/she gets to the HotSpot login page.
You need to describe how these are connected, including ip/subnet, routing, and nat assignments in the Bullets. Sounds like there is a routing problem on/to the remote network.The rockets have two lan ports. I therefore run the hotspot access point from the one lan port on the range 192.168.3.x and the other lan port I want to use for IP cameras, using 192.168.0.x. The access point is a Bullet M2 Titanium, one at each premises. All hardware using static IP's.
Yes, I see all the devices and 3 clients that is logged in.
edit: Also check "/ip hotspot host". Do you see any of the remote location ip addresses in the "address" part of the list?
Could you view the picture I gave of the hosts tab I showed? To me it looks correct.Do the remote clients get the login page by requesting the router ip (gateway)?
http://192.168.3.1[/qoute]
Yes, in effect that is what happens . However, how I do it is to tell the client to connect. It is an open AP. Once connected, he must open his browser. The moment the browser try to access the internet, he is confronted with the login page opening. If you ignore the login page and manually go to 192.168.3.1, you are confronted again by the login page. You can manually go to anywhere, the same happens, except if you go to http://www.allmartins.co.za, which is the web page in walled garden.
You are again confronted by the login page.If so, try a remote server by ip rather than domain, like Google. Do you get the login page then?
http://173.194.115.20
All this is what is happening at the local site and not at the remote site. There, you can connect and get an IP, nothing else. You can go to the various devices however, like http://192.168.3.210 etc and their login pages appear. You however can not access anything on the outside internet.
Do the remote hosts in "/ip hotspot host" have the correct mac address, or the mac of the Bullet?
/ip hotspot
set 0 address-pool=none
Yes, I did notice, but thought it is ok, as only the clients login on with DHCP is not being changed, and all the fixed ip's is being changed. I also suspect a second DHCP server somewhere and changed the pool of the known DHCP server to dish out in the range 192.168.3.80-192.168.3.90 and all the ip's given out by DHCP changed accordingly and the fixed IP' stayed the same, but was changed to the same pool in hosts. So I deducted from that, that it is only the one DHCP server.That host list may have helped. Did you notice it is translating all the remote localnet ips to another localnet ip? It is almost like the remote clients are getting their ips from another dhcp server. There isn't another dhcp server somewhere on that remote localnet, is there?
Have you tried disabling the hotspot nat just as a test? Remember the current setting so you can change it back if it doesn't work for you.If 0 is not the line number of the hotspot, change that.Code: Select all/ip hotspot set 0 address-pool=none
/ip dhcp-server lease
print detail
Are there any remote clients connected to the Bullet? I don't see any in the host list. Do the remote clients get an ip by dhcp? If so, check the lease list. Their leases should show up there, even if they are not connected at the time.Code: Select all/ip dhcp-server lease print detail
[admin@RB532] ip dhcp-server lease> print detail
Flags: X - disabled, R - radius, D - dynamic, B - blocked
0 D address=192.168.3.30 mac-address=00:13:49:AB:55:14 client-id="1:0:13:49:ab:55:14" server=dhcp1 status=bound expires-after=52m50s
active-address=192.168.3.30 active-mac-address=00:13:49:AB:55:14 active-client-id="1:0:13:49:ab:55:14" active-server=dhcp1 host-name="elize"
1 D address=192.168.3.39 mac-address=D4:9A:20:9B:16:2F client-id="1:d4:9a:20:9b:16:2f" server=dhcp1 status=bound expires-after=11m15s
active-address=192.168.3.39 active-mac-address=D4:9A:20:9B:16:2F active-client-id="1:d4:9a:20:9b:16:2f" active-server=dhcp1
host-name="iPod-Touch"
[admin@RB532] ip dhcp-server lease>
[admin@RB532] > /ip dhcp-server lease
[admin@RB532] ip dhcp-server lease> print detail
Flags: X - disabled, R - radius, D - dynamic, B - blocked
0 D address=192.168.3.30 mac-address=00:13:49:AB:55:14 client-id="1:0:13:49:ab:55:14" server=dhcp1 status=bound expires-after=31m3s
active-address=192.168.3.30 active-mac-address=00:13:49:AB:55:14 active-client-id="1:0:13:49:ab:55:14" active-server=dhcp1 host-name="elize"
1 D address=192.168.3.39 mac-address=D4:9A:20:9B:16:2F client-id="1:d4:9a:20:9b:16:2f" server=dhcp1 status=bound expires-after=39m9s
active-address=192.168.3.39 active-mac-address=D4:9A:20:9B:16:2F active-client-id="1:d4:9a:20:9b:16:2f" active-server=dhcp1
host-name="iPod-Touch"
2 D address=192.168.3.40 mac-address=7C:C3:A1:DE:7D:3E client-id="1:7c:c3:a1:de:7d:3e" server=dhcp1 status=bound expires-after=48m19s
active-address=192.168.3.40 active-mac-address=7C:C3:A1:DE:7D:3E active-client-id="1:7c:c3:a1:de:7d:3e" active-server=dhcp1
host-name="Jurgs-iPad"
3 D address=192.168.3.29 mac-address=50:CC:F8:20:CA:83 client-id="1:50:cc:f8:20:ca:83" server=dhcp1 status=bound expires-after=50m6s
[b][u]active-address=192.168.3.29 active-mac-address=50:CC:F8:20:CA:83 active-client-id="1:50:cc:f8:20:ca:83" active-server=dhcp1
host-name="android-1f775e838aa768ba"[/u][/b]
[admin@RB532] ip dhcp-server lease>
[admin@RB532] ip dhcp-server lease> print detail
Flags: X - disabled, R - radius, D - dynamic, B - blocked
0 D address=192.168.3.30 mac-address=00:13:49:AB:55:14 client-id="1:0:13:49:ab:55:14" server=dhcp1 status=bound expires-after=34m45s
active-address=192.168.3.30 active-mac-address=00:13:49:AB:55:14 active-client-id="1:0:13:49:ab:55:14" active-server=dhcp1 host-name="elize"
1 D address=192.168.3.39 mac-address=D4:9A:20:9B:16:2F client-id="1:d4:9a:20:9b:16:2f" server=dhcp1 status=bound expires-after=59m43s
active-address=192.168.3.39 active-mac-address=D4:9A:20:9B:16:2F active-client-id="1:d4:9a:20:9b:16:2f" active-server=dhcp1
host-name="iPod-Touch"
2 D address=192.168.3.36 mac-address=88:32:9B:52:41:71 client-id="1:88:32:9b:52:41:71" server=dhcp1 status=bound expires-after=36m19s
active-address=192.168.3.36 active-mac-address=88:32:9B:52:41:71 active-client-id="1:88:32:9b:52:41:71" active-server=dhcp1
host-name="android-4b8272f913b92c0c"
[admin@RB532] ip dhcp-server lease>
[admin@RB532] ip dhcp-server lease> print detail
Flags: X - disabled, R - radius, D - dynamic, B - blocked
0 D address=192.168.3.30 mac-address=00:13:49:AB:55:14 client-id="1:0:13:49:ab:55:14" server=dhcp1 status=bound expires-after=59m49s
active-address=192.168.3.30 active-mac-address=00:13:49:AB:55:14 active-client-id="1:0:13:49:ab:55:14" active-server=dhcp1 host-name="elize"
1 D address=192.168.3.39 mac-address=D4:9A:20:9B:16:2F client-id="1:d4:9a:20:9b:16:2f" server=dhcp1 status=bound expires-after=59m
active-address=192.168.3.39 active-mac-address=D4:9A:20:9B:16:2F active-client-id="1:d4:9a:20:9b:16:2f" active-server=dhcp1
host-name="iPod-Touch"
2 D address=192.168.3.36 mac-address=88:32:9B:52:41:71 client-id="1:88:32:9b:52:41:71" server=dhcp1 status=bound expires-after=31m23s
active-address=192.168.3.36 active-mac-address=88:32:9B:52:41:71 active-client-id="1:88:32:9b:52:41:71" active-server=dhcp1
host-name="android-4b8272f913b92c0c"
3 D address=192.168.3.38 mac-address=50:CC:F8:20:CA:83 client-id="1:50:cc:f8:20:ca:83" server=dhcp1 status=bound expires-after=58m51s
active-address=192.168.3.38 active-mac-address=50:CC:F8:20:CA:83 active-client-id="1:50:cc:f8:20:ca:83" active-server=dhcp1
host-name="android-1f775e838aa768ba"
[admin@RB532] ip dhcp-server lease>
[admin@RB532] ip dhcp-server lease> /ip hotspot host
[admin@RB532] ip hotspot host> print detail
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
0 HA mac-address=00:13:49:AB:55:14 address=192.168.3.30 to-address=192.168.3.30 server=hotspot1 uptime=20h54m idle-timeout=5m keepalive-timeout=2m
found-by="TCP :1101 -> 37.252.246.4:5938"
1 D mac-address=00:02:6F:9A:AF:90 address=192.168.3.225 to-address=192.168.3.37 server=hotspot1 uptime=19h53m22s idle-timeout=5m
found-by="UDP :32770 -> 192.168.3.35:47092"
2 H mac-address=50:CC:F8:20:CA:83 address=192.168.3.38 to-address=192.168.3.38 server=hotspot1 uptime=14m5s idle-timeout=5m
found-by="UDP :3265 -> 196.43.50.190:53"
3 D mac-address=00:27:22:7A:D5:6F address=192.168.3.201 to-address=192.168.3.27 server=hotspot1 uptime=5m1s idle-timeout=5m
found-by="ICMP echo to 192.168.3.1"
4 HA mac-address=D4:9A:20:9B:16:2F address=192.168.3.39 to-address=192.168.3.39 server=hotspot1 uptime=1m7s idle-timeout=5m keepalive-timeout=2m
found-by="TCP :49364 -> 17.149.36.76:5223"
5 D mac-address=DC:9F:DB:2E:2B:35 address=196.43.50.190 to-address=192.168.3.20 server=hotspot1 uptime=19s idle-timeout=5m
found-by="UDP :53 -> 192.168.3.111:54623"
6 D mac-address=DC:9F:DB:2E:2B:35 address=196.43.42.190 to-address=192.168.3.21 server=hotspot1 uptime=9s idle-timeout=5m
found-by="UDP :53 -> 192.168.3.111:35277"
[admin@RB532] ip hotspot host> print detail
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
0 HA mac-address=00:13:49:AB:55:14 address=192.168.3.30 to-address=192.168.3.30 server=hotspot1 uptime=21h16m17s idle-timeout=5m keepalive-timeout=2m
found-by="TCP :1101 -> 37.252.246.4:5938"
1 D mac-address=00:02:6F:9A:AF:90 address=192.168.3.225 to-address=192.168.3.37 server=hotspot1 uptime=20h15m39s idle-timeout=5m
found-by="UDP :32770 -> 192.168.3.35:47092"
2 HA mac-address=50:CC:F8:20:CA:83 address=192.168.3.38 to-address=192.168.3.38 server=hotspot1 uptime=36m22s idle-timeout=5m keepalive-timeout=2m
found-by="UDP :3265 -> 196.43.50.190:53"
3 D mac-address=00:27:22:7A:D5:6F address=192.168.3.201 to-address=192.168.3.27 server=hotspot1 uptime=6m55s idle-timeout=5m
found-by="ICMP echo to 192.168.3.1"
4 D mac-address=DC:9F:DB:7E:A1:3A address=192.168.3.111 to-address=192.168.3.36 server=hotspot1 uptime=1m57s idle-timeout=5m
found-by="ARP reply to 192.168.3.1"
5 D mac-address=00:02:6F:60:BC:CE address=192.168.3.224 to-address=192.168.3.34 server=hotspot1 uptime=1m50s idle-timeout=5m
found-by="ARP reply to 192.168.3.1"
6 D mac-address=DC:9F:DB:08:B0:FD address=192.168.3.229 to-address=192.168.3.33 server=hotspot1 uptime=1m49s idle-timeout=5m
found-by="ARP reply to 192.168.3.1"
7 D mac-address=DC:9F:DB:2E:2B:35 address=192.168.3.110 to-address=192.168.3.21 server=hotspot1 uptime=25s idle-timeout=5m
found-by="ARP reply to 192.168.3.1"
8 D mac-address=DC:9F:DB:2E:2B:35 address=196.43.50.190 to-address=192.168.3.40 server=hotspot1 uptime=5s idle-timeout=5m
found-by="UDP :53 -> 192.168.3.111:55918"
[admin@RB532] ip hotspot host>
I see I did not answer this fully.Are your remote clients behind the Bullet bridge getting an ip?
That is true in a way. If the hotspot has the 1:1 nat enabled (default), the hotspot uses ARP poisoning to intercept the ips and nat that ip to a localnet ip. If the 1:1 nat is disabled, this doesn't work unless the ip is within the localnet ip range."The HotSpot system does not care how did a client get an address before he/she gets to the HotSpot login page."
Ok, done that, disabled the hotspot and whala, got internet all over, including remote site.I'm not sure. First you must get your dhcp issues worked out. All devices must get an ip from some dhcp server on one or the other network, preferably the hotspot router. Until then, you are wasting your time.
I usually recommend disabling the hotspot and trying to surf the net from all localnet networks. If it doesn't work then, it won't work with the hotspot.
/ip hotspot user
export file=hsusers.txt
OK, exported it as script file and backed up the total setup. Now going to delete the server and start overI don't think removing a hotspot removes the hotspot user list. You may want to export it just as a backup.The hsusers.txt file will be created in /file.Code: Select all/ip hotspot user export file=hsusers.txt
/ip hotspot
set 0 address-pool=none
No, I have not. Will do it now and test later tonight when I am going to the remote site again. Thanks. I really hope it works.Have you tried disabling the hotspot 1:1 nat?Code: Select all/ip hotspot set 0 address-pool=none
[admin@RB532] ip hotspot> set 0 address-pool=none
[admin@RB532] ip hotspot> print
Flags: X - disabled, I - invalid, S - HTTPS
# NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
0 hotspot1 ether1 hsprof2 5m
[admin@RB532] ip hotspot>
OK, I will take your word for it, as it is going over my head. Maybe an article or manual I can read about it? Anycase, it is not serious, I am just wondering about what the complications is going to be when I add the 192.168.0.0/24 network to the Rocket bridge. I hope to keep them separate with lan0 (primary) and lan1 (secondary).The hotspot uses arp poisoning to perform the 1:1 nat. Maybe that is messing up things for the bridge. It shouldn't affect anything if your clients have ips in the range of the hotspot interface or get their ip from your hotspot router dhcp server.
The hotspot uses arp poisoning to intercept otherwise localnet or out-of-range ips, and translate them to a localnet ip. This nat is done between the client and the interface. The router knows nothing of the actual ip of the client, only the ip it has been translated to.Moreover, HotSpot server may automatically and transparently change any IP address (yes, meaning really any IP address) of a client to a valid unused address from the selected IP pool. If a user is able to get his/her Internet connection working at their place, he/she will be able to get his/her connection working in the HotSpot network. This feature gives a possibility to provide a network access (for example, Internet access) to mobile clients that are not willing (or are disallowed, not qualified enough or otherwise unable) to change their networking settings. The users will not notice the translation (i.e., there will not be any changes in the users' config), but the router itself will see completely different (from what is actually set on each client) source IP addresses on packets sent from the clients (even the firewall mangle table will 'see' the translated addresses). This technique is called one-to-one NAT, but is also known as "Universal Client" as that is how it was called in the RouterOS version 2.8.
One-to-one NAT accepts any incoming address from a connected network interface and performs a network address translation so that data may be routed through standard IP networks. Clients may use any preconfigured addresses. If the one-to-one NAT feature is set to translate a client's address to a public IP address, then the client may even run a server or any other service that requires a public IP address. This NAT is changing source address of each packet just after it is received by the router (it is like source NAT that is performed early in the packet path, so that even firewall mangle table, which normally 'sees' received packets unaltered, can only 'see' the translated address).
Yes, I remember, we have done that yesterday and all the dynamic IP's was changed to an IP in the DHCP pool.If you looked in "/ip hotspot host" before disabling the nat, you can see the translations.
[admin@RB532] ip hotspot host> print
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT
0 H 00:13:49:AB:55:14 192.168.3.98 192.168.3.98 hotspot1 5m
1 D 00:02:6F:9A:AF:90 192.168.3.225 192.168.3.225 hotspot1 5m
2 H 50:CC:F8:20:CA:83 192.168.3.38 192.168.3.38 hotspot1 5m
3 D DC:9F:DB:2E:2B:35 192.168.3.111 192.168.3.111 hotspot1 5m
4 H D4:9A:20:9B:16:2F 192.168.3.93 192.168.3.93 hotspot1 5m
[admin@RB532] ip hotspot host>
[admin@RB532] ip dhcp-server lease> print
Flags: X - disabled, R - radius, D - dynamic, B - blocked
# ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS
0 D 192.168.3.93 D4:9A:20:9B:16:2F iPod-Touch dhcp1 bound
1 D 192.168.3.98 00:13:49:AB:55:14 elize dhcp1 bound
2 D 192.168.3.38 50:CC:F8:20:CA:83 android-1f775e838aa768ba dhcp1 bound
[admin@RB532] ip dhcp-server lease>
Where did the two devices in bold get their ips? The other three are in your dhcp server lease list.[admin@RB532] ip hotspot host> print
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT
0 H 00:13:49:AB:55:14 192.168.3.98 192.168.3.98 hotspot1 5m
1 D 00:02:6F:9A:AF:90 192.168.3.225 192.168.3.225 hotspot1 5m
2 H 50:CC:F8:20:CA:83 192.168.3.38 192.168.3.38 hotspot1 5m
3 D DC:9F:DB:2E:2B:35 192.168.3.111 192.168.3.111 hotspot1 5m
4 H D4:9A:20:9B:16:2F 192.168.3.93 192.168.3.93 hotspot1 5m
[admin@RB532] ip hotspot host>
I used to have two point to point links from local to remote site. One was used for the cameras on the 192.168.0.0/24 network and the other for the Hotspot on 192.168.3.0/24 network. Both worked 100%. I had no problem with the hotspot at the remote site either. Then lightning took out my hardware at the remote site. My son and I then opted for the one point to point hardware, as it had two lan ports. One lan port being gigabit and the other 10/100. Our reasoning was that the gigabit lan port will give us more bandwidth for the cameras. I have now set up the point to point link with just the one network for the Hotspot, which worked 100% on the old point to point. So, it can be done like that. The problem must be with the setup of the point to point link with the Rockets.I would have used two routers/hotspots for your setup.
I need to make sure which mode(s) to use.Basic Wireless Settings
In this section, configure the basic wireless settings, such as wireless mode, wireless network name (SSID), country code, 802.11 mode, output power, and data rates.
Wireless Mode Specify the Wireless Mode of the device. The mode depends on the network topology requirements. airOS supports the following modes:
• Station If you have a client device to connect to an AP, configure the client device as Station mode. The client device acts as the subscriber station while it is connecting to the AP. The SSID of the AP is used, and all the traffic to and from the network devices connected to the Ethernet interface is forwarded.
Note: If WDS (Transparent Bridge Mode) is disabled, the radio uses arpnat, which results in non-transparent bridging. To have a fully
transparent bridge, select Station and then enable WDS (Transparent Bridge Mode).
• Access Point If you have a single device to act as an AP, configure it as Access Point mode. The device functions as an AP that connects multiple client devices. If you have multiple APs repeating signals where Ethernet connections are not readily available, then use
AP‑Repeater mode.
Note: For Access Point (WDS) mode, select Access Point and then enable WDS (Transparent Bridge Mode).
• AP‑Repeater If you have multiple APs, configure them as AP‑Repeater mode to create a wireless network infrastructure, WDS. If the Auto option is enabled, all APs using the same wireless mode (AP‑Repeater) and SSID automatically establish the WDS connections. (Client
devices can still connect to APs in AP‑Repeater mode.)
Note: For AP‑Repeater mode, the WPA™/WPA2™ security methods will not work; instead, use none or the WEP security method (this may
compromise the security of your network).
You still have the option of using RADIUS MAC authentication and MAC ACL.
[admin@RB532] ip hotspot> host
[admin@RB532] ip hotspot host> print detail
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
0 A mac-address=00:13:49:AB:55:14 address=192.168.3.98 to-address=192.168.3.43 server=hotspot1 uptime=18h42m7s
keepalive-timeout=2m found-by="TCP :1453 -> 94.23.150.191:8080"
1 D mac-address=00:02:6F:9A:AF:90 address=192.168.3.225 to-address=192.168.3.225 server=hotspot1 uptime=18h33m40s
idle-timeout=5m found-by="ARP reply to 192.168.3.1"
2 H mac-address=50:CC:F8:20:CA:83 address=192.168.3.38 to-address=192.168.3.38 server=hotspot1 uptime=13m37s idle-timeout=5m
found-by="UDP :18367 -> 196.43.50.190:53"
3 D mac-address=DC:9F:DB:2E:2B:35 address=192.168.3.110 to-address=192.168.3.110 server=hotspot1 uptime=6m3s idle-timeout=5m
found-by="UDP :33670 -> 178.18.118.13:123"
4 H mac-address=D4:9A:20:9B:16:2F address=192.168.3.93 to-address=192.168.3.93 server=hotspot1 uptime=1m29s idle-timeout=5m
found-by="UDP :55667 -> 196.43.50.190:53"
0 A mac-address=00:13:49:AB:55:14 address=192.168.3.98 to-address=192.168.3.43 server=hotspot1 uptime=18h42m7s
keepalive-timeout=2m found-by="TCP :1453 -> 94.23.150.191:8080"