所有内容版权所有 © 1992–2007 Cisco Systems, Inc. 保留所有权利。 本文档为 Cisco 公开信息。 第 1 页(共 35 页)
实验 7.5.2:无线配置练习
拓扑图
编址表
设备 接口 IP 地址 子网掩码 默认网关
Fa0/1.10
172.17.10.1 255.255.255.0
不适用
Fa0/1.20
172.17.20.1 255.255.255.0
不适用
Fa0/1.88
172.17.88.1 255.255.255.0
不适用
R1
Lo0
10.1.1.1 255.255.255.252
不适用
WAN
172.17.88.25 255.255.255.0 172.17.88.1
WRS2
LAN/Wireless
172.17.40.1 255.255.255.0
不适用
WAN
172.17.88.35 255.255.255.0 172.17.88.1
WRS3
LAN/Wireless
172.17.30.1 255.255.255.0
不适用
PC1 NIC
172.17.10.21 255.255.255.0 172.17.10.1
PC2 NIC
172.17.20.22 255.255.255.0 172.17.20.1
CCNA Exploration
LAN 交换和无线:基本的无线概念和配置 实验 7.5.2:无线配置练习
所有内容版权所有 © 1992–2007 Cisco Systems, Inc. 保留所有权利。 本文档为 Cisco 公开信息。 第 2 页(共 35 页)
学习目标
完成本实验后,您将能够:
• 配置交换机端口 VLAN 的信息和端口安全
• 硬重置 Linksys WRT300N 路由器
• 连接到无线路由器并检验连通性
• 浏览 Linksys WRT300N 的 Web 实用程序页面
• 配置 Linksys WRT300N 的 IP 设置
• 在 Linksys WRT300N 上配置 DHCP
• 在标准 Cisco 路由器和 WRT300N 上配置静态路由
• 在 WRT300N 上更改网络模式和相应的网络信道
• 了解如何启用 WEP 加密和禁用 SSID 广播
• 启用无线 MAC 过滤器
• 在 WRT300N 上配置访问限制
• 在 WRT300N 上配置路由器管理口令
• 在 WRT300N 上启用日志记录
• 升级 WRT300N 固件
• 了解 WRT300N 的诊断、备份、恢复和确认机制
场景
本实验中,您将配置一台 Linksys WRT300N 无线路由器、Cisco 交换机的端口安全功能和多台设备的静态
路由。记录连接到无线网络的步骤,因为某些更改会断开客户端连接,因而在对配置作出更改后必须重新
连接。
任务 1:执行基本路由器配置
按照以下原则配置 R1:
• 路由器主机名
• 禁用 DNS 查找
• 执行模式口令
• Fast Ethernet 0/1 和 Fast Ethernet 0/0 及其子接口
• Loopback0
• 控制台端口上的同步日志记录、执行超时和 cisco 登录
CCNA Exploration
LAN 交换和无线:基本的无线概念和配置 实验 7.5.2:无线配置练习
所有内容版权所有 © 1992–2007 Cisco Systems, Inc. 保留所有权利。 本文档为 Cisco 公开信息。 第 3 页(共 35 页)
任务 2:配置交换机接口
将交换机设置为透明,清除 VLAN 信息,并且创建 VLAN 10、VLAN 20 和 VLAN 88。
<适用于全部三台交换机>
!
vtp mode transparent
no vlan 2-1001
vlan 10,20,88
!
步骤 1:在 S1、S2 和 S3 上配置交换机端口接口。
使用拓扑图中的连接配置 S1、S2 和 S3 交换机的接口。
在两台交换机之间的连接上配置中继。
将到无线路由器的连接配置为 vlan 88 的访问模式。
将 S2 到 PC1 的连接配置到 vlan 10 中,将到 PC2 的连接配置到 vlan 20 中。
将 S1 到 R1 的连接配置为中继。
允许所有 VLAN 通过中继接口。
S1
!
interface FastEthernet 0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/3
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/4
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
S2
!
interface FastEthernet 0/1
CCNA Exploration
LAN 交换和无线:基本的无线概念和配置 实验 7.5.2:无线配置练习
所有内容版权所有 © 1992–2007 Cisco Systems, Inc. 保留所有权利。 本文档为 Cisco 公开信息。 第 4 页(共 35 页)
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/3
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/4
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet0/7
switchport mode access
switchport access vlan 88
no shutdown
!
S3
!
interface FastEthernet 0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/3
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdown
!
interface FastEthernet 0/4
switchport trunk encapsulation dot1q
switchport mode trunk
no shutdwn
!
interface FastEthernet 0/7
switchport mode access
switchport access vlan 88
no shutdown
!
CCNA Exploration
LAN 交换和无线:基本的无线概念和配置 实验 7.5.2:无线配置练习
所有内容版权所有 © 1992–2007 Cisco Systems, Inc. 保留所有权利。 本文档为 Cisco 公开信息。 第 5 页(共 35 页)
interface FastEthernet 0/11
switchport mode access
switchport access vlan 11
no shutdown
!
interface FastEthernet 0/18
switchport mode access
switchport access vlan 20
no shutdown
!
步骤 2:检验 VLAN 和中继。
用 show ip interface trunk 命令(在 S1 上)和 show vlan 命令(在 S2 上)检验交换机已经正确配置中
继,并且有正确的 VLAN。
S1#show interface trunk
Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1
Fa0/2 on 802.1q trunking 1
Fa0/3 on 802.1q trunking 1
Fa0/4 on 802.1q trunking 1
Fa0/5 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/1 1-4094
Fa0/2 1-4094
Fa0/3 1-4094
Fa0/4 1-4094
Fa0/5 1-4094
Port Vlans allowed and active in management domain
Fa0/1 1,10,20,88
Fa0/2 1,10,20,88
Fa0/3 1,10,20,88
Fa0/4 1,10,20,88
Fa0/5 1,10,20,88
Port Vlans in spanning tree forwarding state and not pruned
Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 1,10,20,88
Fa0/2 none Å-- blocked due to spanning tree
Fa0/3 1,10,20,88
Fa0/4 1,10,20,88
Fa0/5 1,10,20,88>