Minggu, 05 Oktober 2008

MIKROTIK HOTSPOT GATEWAY



The MikroTik HotSpot Gateway enables providing of public network access for clients using wireless or wired network connections. HotSpot Gateway should have at least two network interfaces:
1. HotSpot interface, which is used to connect HotSpot clients
2. LAN/WAN interface, which is used to access network resources.
The following picture shows wireless HotSpot setup
To setup simple HotSpot Gateway follow the steps below:
1. Configure wireless interface on HotSpot Gateway:
[admin@HotSpot_Gateway]> interface wireless set wlan1 ssid=HotSpot band=2.4ghz-b \ … mode=ap-bridge
2. Configure ip address for HotSpot interface:
[admin@HotSpot_Gateway] > ip add add address=192.168.0.1/24 interface=wlan1
3. Configure ip address for WAN/LAN interface:
[admin@HotSpot_Gateway] > ip add add address=10.5.8.250/24 interface=ether1
4. Add a route on HotSpot Gateway
[admin@HotSpot_Gateway] > ip route add gateway=10.5.8.1
5. Configure Hotspot on wlan1 interface and add user admin with pasword test
[admin@MikroTik] > ip hotspot setuphotspot interface: wlan1local address of network: 192.168.0.1/24masquerade network: yesaddress pool of network: 192.168.0.2-192.168.0.254select certificate: noneip address of smtp server: 0.0.0.0dns servers: 10.5.8.2dns name: hs.example.netname of local hotspot user: adminpassword for the user: test
In order to access network resources HotSpot clients have to configure their wireless interfaces setting proper ssid, band and mode, and enabling dynamic host configuration (dhcp) on the wireless interface.

Tidak ada komentar: