网络拓扑:(202.*.*.*)Cisco1841(192.168.1.1)------Switch1------(192.168.1.100)AP1(Cisco1230AP作为根桥)-----AP2(Cisco1230作为非根桥)---------Switch2
实际情况为主楼A有一条到香港的专线,分楼B位于A楼600米的距离,AP两楼之间的网络是分开的,现在要让B楼LAN连接到A楼LAN并共享A楼的专线连接,以节约成本。
解决方案:
1、在A楼6楼顶摆放一台Cisco 1230的AP,连接一根思科6.5dbi的全向天线,AP的以太网口连接到A楼交换机,该交换机连接到Cisco1841 Router。该网段为192.168.1.0/24
2、在B楼二楼摆放一台Cisco 1230AP,连接一根思科6.5dbi的定向天线,AP的以太网口连接到B楼交换机,该网段为192.168.1.0/24
下面分别是AP12的配置:
AP1配置:User Access Verification
Username: test
Password:
root-bridge#sh run
Building configuration...
Current configuration : 1300 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname root-bridge
!
enable secret 5 test
!
ip subnet-zero
!
!
no aaa new-model
!
dot11 ssid everythingisgood
authentication open
!
!
!
username test privilege 15 secret 5 test
!
bridge irb
!
!
interface Dot11Radio0
no ip address
no ip route-cache
!
encryption key 1 size 128bit 7 E081EE126B4A55D64E105E5FF49B transmit-key
encryption mode wep mandatory
!
ssid everythingisgood
!
speed basic-1.0 basic-2.0 basic-5.5 basic-11.0
station-role root bridge
no cdp enable
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
no cdp enable
bridge-group 1
bridge-group 1 spanning-disabled
!
interface BVI1
ip address 192.168.1.100 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.1.1
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
!
arp 192.168.1.101 000d.bdbd.9dde ARPA
arp 192.168.1.100 000a.b71a.5e82 ARPA
arp 192.168.1.1 001e.be7f.b4c5 ARPA
no cdp run
bridge 1 route ip
!
!
!
line con 0
line vty 0 4
login local
!
end
root-bridge#
AP2配置:
User Access Verification
Username: test
Password:
non-root-bridge1#sh run
Building configuration...
Current configuration : 1398 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname non-root-bridge1
!
enable secret 5 test
!
ip subnet-zero
no ip domain lookup
!
!
no aaa new-model
!
dot11 ssid everythingisgood
authentication open
infrastructure-ssid optional
!
!
!
username test privilege 15 secret 5 test
!
bridge irb
!
!
interface Dot11Radio0
no ip address
no ip route-cache
!
encryption key 1 size 128bit 7 A5E30E5596C30C980A08C74FF494 transmit-key
encryption mode wep mandatory
!
ssid everythingisgood
!
speed basic-1.0 basic-2.0 basic-5.5 basic-11.0
station-role non-root bridge
no cdp enable
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
no cdp enable
bridge-group 1
bridge-group 1 spanning-disabled
hold-queue 160 in
!
interface BVI1
ip address 192.168.1.101 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.1.1
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
!
arp 192.168.1.101 000d.bdbd.9dde ARPA
arp 192.168.1.100 000a.b71a.5e82 ARPA
arp 192.168.1.1 001e.be7f.b4c5 ARPA
no cdp run
!
control-plane
!
bridge 1 route ip
!
!
!
line con 0
line vty 0 4
login local
!
end
non-root-bridge1#
[/nobr]