无线网络的配置:

实验目的

掌握无线AP 的配置要点

掌握无线宽带路由器的配置要点

掌握SSID 的概念

SSID/ESSID(Service Set Identifier)也就是“服务区标识符匹配”、“业务组标识符”的简称,最多可以有32 个字符,通俗的说,它就好比有线局域网中的“工作组”标识一样或好比是无线客户端与无线路由器之间的一道口令一样,只有在完全相同的前提下才能让无线网卡访问无线路由器,这也是保证无线网络安全的重要措施之一。

配备无线网卡的无线工作站必须填写正确的SSID,并与无线访问点(AP 或无线路由器)的SSID相同,才能访问AP;如果出示的SSID 与AP 或无线路由器的SSID 不同,那么AP 将拒绝他通过本服务区/工作组上网。因此可以认为SSID 是一个简单的口令,从而提供口令认证机制,实现一定的安全。

要更改无线网卡的SSID 除了在无线网卡配置程序中更改外,还可在操作系统中直接更改。

试验拓扑:

clip_image002

1. 首先确定PC上无线网卡的安装:

PC1:clip_image004

clip_image006

clip_image008

AP上SSID的设置:

clip_image010

要求连接AP的时候,PC上的SSID和AP要一致。

另外一边:

Linksysleveo:

clip_image012

clip_image014

同理:

PC5:

clip_image016

PC6:

clip_image018

配置:

PC1---PC3: 192.168.1.1----192.168.1.3 网关:192.168.1.6

R1:

router>enable

router#config t

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#host R1

R1(config)#int fa0/0

R1(config-if)#ip add 192.168.1.6 255.255.255.0

R1(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config-if)#int s0/0/0

R1(config-if)#ip add 192.168.2.1 255.255.255.0

R1(config-if)#clock rate 56000

R1(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

R1(config-if)#exit

R1(config)#router rip

R1(config-router)#network 192.168.1.0

R1(config-router)#network 192.168.2.0

R1(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console

R1#

R2:

Router>enable

Router#config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host R2

R2(config)#int s0/0/1

R2(config-if)#ip add 192.168.2.2 255.255.255.0

R2(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

R2(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

R2(config-if)#int s0/0/0

R2(config-if)#ip add 192.168.3.1 255.255.255.0

R2(config-if)#clock rate 56000

R2(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

R2(config-if)#exit

R2(config)#router rip

R2(config-router)#network 192.168.2.0

R2(config-router)#network 192.168.3.0

R2(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console

R2#write

Building configuration...

[OK]

R2#

R3:

Router>

Router>

Router>enable

Router#config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host R3

R3(config)#int s0/0/1

R3(config-if)#ip add 192.168.3.2 255.255.255.0

R3(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

R3(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

R3(config-if)#int fa0/0

R3(config-if)#ip add 192.168.4.1 255.255.255.0

R3(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

R3(config-if)#exit

R3(config)#router rip

R3(config-router)#network 192.168.3.0

R3(config-router)#network 192.168.4.0

R3(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console

R3#write

Building configuration...

[OK]

R3#

测试:

使用PC4 5 6,去测试PC 1 2 3,都可以联通。

但是反向不行.因为PC456是内网,使用的私有地址,试验成功。