CCNA实验三十九 再临无线现场
环境:Windows XP 、 PacketTracert 5.3
目的:
再次加深对无线模块化使用的理解,还有掌握无线局域网中的WEP、WPA、WPA-PSK加密,了解如何使用加密保护无线网络。
步骤:
创建拓扑如下:
1、分别为三台无线设备添加无线网卡:
2、分别为三台路由器添加无线模块:
3、配置AAA服务器:
4、配置R1路由器:
Router>en
Router#conf t
Router(config)#host R1
R1(config)#ip dhcp excluded 192.168.1.1 192.168.1.10
R1(config)#ip dhcp pool laptop1
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.1.1
R1(dhcp-config)#exit
R1(config)#int fa0/0
R1(config-if)#ip add 12.1.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#int Dot11Radio 0/0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)# encryption key 1 size 40bit 7 0123456789
R1(config-if)#encryption mode wep mandatory
R1(config-if)#ssid R1
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#router ospf 100
R1(config-router)#network 12.1.1.1 0.0.0.0 area 0
R1(config-router)#network 192.168.1.1 0.0.0.0 area 0
R1(config-router)#exit
5、配置R2:
Router>en
Router#conf t
Router(config)#host R2
R2(config)#ip dhcp ex
R2(config)#ip dhcp excluded-address 192.168.2.1 192.168.2.10
R2(config)#ip dhcp pool laptop2
R2(dhcp-config)#network 192.168.2.0 255.255.255.0
R2(dhcp-config)#default-router 192.168.2.1
R2(dhcp-config)#exit
R2(config)#int fa0/0
R2(config-if)#ip add 12.1.1.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int fa0/1
R2(config-if)#ip add 23.1.1.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#dot11 ssid R2
R2(config-ssid)#authentication key-management wpa
R2(config-ssid)#wpa-psk ascii 0 0123456789
R2(config-ssid)#exit
R2(config)#int Dot11Radio 0/0/0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#encryption mode ciphers aes-ccm
R2(config-if)#ssid R2
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#router ospf 100
R2(config-router)#network 12.1.1.2 0.0.0.0 area 0
R2(config-router)#network 23.1.1.1 0.0.0.0 area 0
R2(config-router)#network 192.168.2.1 0.0.0.0 area 0
R2(config-router)#exit
6、配置R3:
Router>en
Router#conf t
Router(config)#host R3
R3(config)#ip dhcp ex
R3(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.10
R3(config)#ip dhcp pool laptop3
R3(dhcp-config)#network 192.168.3.0 255.255.255.0
R3(dhcp-config)#default-router 192.168.3.1
R3(dhcp-config)#exit
R3(config)#int fa0/0
R3(config-if)#ip add 192.168.4.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#int fa0/1
R3(config-if)#ip add 23.1.1.2 255.255.255.0
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#dot11 ssid R3
R3(config-ssid)#authentication key-management wpa
R3(config-ssid)#authentication network-eap eap_methods
R3(config-ssid)#exit
R3(config)#int dot11Radio 0/0/0
R3(config-if)#ip add 192.168.3.1 255.255.255.0
R3(config-if)#encryption mode ciphers aes-ccm
R3(config-if)#ssid R3
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#aaa new-model
R3(config)#aaa authentication login default group radius
R3(config)#aaa authentication login eap_methods group radius
R3(config)#radius-server host 192.168.4.44 auth-port 1645 key kkfloat
R3(config)#router ospf 100
R3(config-router)#network 23.1.1.2 0.0.0.0 area 0
R3(config-router)#network 192.168.4.44 0.0.0.0 area 0
R3(config-router)#network 192.168.3.1 0.0.0.0 area 0
R3(config-router)#exit
7、配置无线客户端接入相应网路:
8、全网连通性: