problem with IP binding to Access the AP behind a router
Posted: Sat Dec 18, 2010 8:47 pm
I have 5 ports Wired Mikrotik router with hotspot accounts.
port 1: WAN (connect to modem)
port 2 : connected to Acess point 1 (AP1)
port 3 : connected to Acess point 2 (AP2)
port 4 : connected to Acess point 3 (AP3)
port 5: connect to home router
port 2-5 are LAN and they are bridge.
In the ADSL modem
WAN :IP from ISP
LAN :192.168.0.1
Mikrotik WAN: 192.168.0.50
Mikrotik LAN: 192.168.1.1/24
Buffalo home router WAN: 192.168.1.50
Buffalo home router LAN: 192.168.2.1/24
AP1,AP2 and AP3's IPs are 192.168.1.100, 192.168.1.150, 192.168.1.200 respectively.
my problem Problem:
when I am connect to the home router I can not access any of the APs pages but I can go to the modem page and Mikrotik router page.
but when I connect to any of APs, I can access any of the APs and I can go to the modem modem page and Mikrotik router page
In all cases, the internet is working fine but I want to be able to access the AP when I am connected to the home router.
To solve this problem I did the fallowing:
But the problem now is that if someone get the mac and ip of AP and change his to match it, he will get ultimate access without username and password or speed limit
port 1: WAN (connect to modem)
port 2 : connected to Acess point 1 (AP1)
port 3 : connected to Acess point 2 (AP2)
port 4 : connected to Acess point 3 (AP3)
port 5: connect to home router
port 2-5 are LAN and they are bridge.
In the ADSL modem
WAN :IP from ISP
LAN :192.168.0.1
Mikrotik WAN: 192.168.0.50
Mikrotik LAN: 192.168.1.1/24
Buffalo home router WAN: 192.168.1.50
Buffalo home router LAN: 192.168.2.1/24
AP1,AP2 and AP3's IPs are 192.168.1.100, 192.168.1.150, 192.168.1.200 respectively.
my problem Problem:
when I am connect to the home router I can not access any of the APs pages but I can go to the modem page and Mikrotik router page.
but when I connect to any of APs, I can access any of the APs and I can go to the modem modem page and Mikrotik router page
In all cases, the internet is working fine but I want to be able to access the AP when I am connected to the home router.
To solve this problem I did the fallowing:
Code: Select all
/ip hotspot ip-binding
add address=192.168.1.100 type=bypassed
add address=192.168.1.150 type=bypassed
add address=192.168.1.200 type=bypassed