Csico 811-2无线路由器配置


1、通过console 口进入设备,配置见下图

spacer.gif



2、配置用户,telnet 登录及enable密码。

 enablepassword xxx

 usernamexxx privilege 15 password 0 xxx

 linevty 0 4

 exec-timeout 10 10

password xxx

login local

transport input all


interface vlan 1

ip add 10.1.1.1255.255.255.255

配置telnet 地址,

interface wlan-ap0

ip address 10.1.2.1 255.255.255.0    配置此地址以便进入AP模式。


3、进入AP模式配置AP相关参数,

cisco881#service-modulewlan-ap 0 status

先查询状态

cisco881#service-modulewlan-ap 0 session

进入AP会话模式


username:cisco

password:cisco

4、配置web界面。

ip http server

ip http authentication local

ip http secure-server

开户web登录服务


interface BVI1

ip address 192.168.10.254 255.255.255.0

web登录IP


5、配置无线SSID

bridge irb

!

!

interfaceDot11Radio0

no ip address

no ip route-cache

!

encryption vlan 1 mode ciphers tkip

!

encryption key 1 size 40bit 0 1A2B3C4D5Etransmit-key

encryption mode wep mandatory

!

ssid cetronnet

!

antenna gain 128

station-role root

bridge-group 1

bridge-group 1 subscriber-loop-control

bridge-group 1 block-unknown-source

no bridge-group 1 source-learning

no bridge-group 1 unicast-flooding

bridge-group 1 spanning-disabled


spacer.gif



spacer.gif

无线AP模式设备完毕保存配置,将设备重新启动。


6、进入无线路由配置模式

interface Vlan1                     Lan接口配置

ip address 192.168.10.1 255.255.255.0

ip nat inside


ip dhcppool office1

network 192.168.10.0 255.255.255.0

default-router 192.168.10.1

dns-server 114.114.114.114

lease 8 8 8



interfaceFastEthernet4                 WAN口的配置

ip address 103.246.132.83 255.255.255.0

ip nat outside

ip virtual-reassembly in

duplex auto

speed auto

no cdp enable

crypto map From_Dialer1


ipaccess-list standard office

permit any


ip natinside source list office interface FastEthernet4 overload

PAT地址转换



ip route0.0.0.0 0.0.0.0 103.246.132.130

默认路由指到网关




至此就可以正常访问了。