Creating local subnet using CLI on a standalone AP
Summary
This article talks about commands to use to create local subnet on a standalone APQuestion
What commands should I use to enable local subnet on a standalone AP?Customer Environment
APs without ZoneDirector controller - standaloneRoot Cause
I have many APs to setup so going through GUI setup is time taking. So I need CLI option.Resolution
First you need to create a subnet using "set subnet" command. Then you have to enable the DHCP server using the same command but using different options.1. Creating a subnet. This requires you to specify a name like "local-subnet1", IP address and subnet mask for the network, and access VLAN ID. Please see the sample below.
rkscli: set subnet local-subnet1 enable ipaddr 192.168.10.1 mask 255.255.255.128 untag 1
+ /etc/init.d/nat enable br1 192.168.10.1 255.255.255.128
Loading NAT/Firewall modules...
Enabling NAT...exec _add_nat for br0
+ /etc/init.d/nat hotspot br0 10.1.0.1
OK
rkscli:
2. Enable a DHCP server to hand-out IP addresses. This requires specifying starting IP and number of DHCP IPs to hand-out. Please see the sample below.
rkscli: set subnet local-subnet2 dhcps enable starting-ipaddr 192.168.10.2 user-number 50
Stopping dnsmasq ...
Stopping dnsmasq ...
Starting dnsmasq ...
OK
rkscli:
Article Number:
000002925
Updated:
April 16, 2014 12:25 AM (about 12 years ago)
Tags:
Configuration, Installation, ZoneFlex Indoor, SmartCell Insight (SCI)
Votes:
0
This article is:
helpful
not helpful