无线AP配置两个DHCP完整的配置如下,就是2个dhcp pool,对应2个vlan和ssid
Ruijie#show run
Building configuration...
Current configuration : 3412 bytes
!
version RGOS 10.4(1T7), Release(83042)(Mon JAN 5 12:17:04 CST 2009 -ngcf65)
!
nfpp
dhcpv6-guard enable
ip-guard enable
dhcp-guard enable
icmp-guar...
完整的配置如下,就是2个dhcp pool,对应2个vlan和ssid
Ruijie#show run
Building configuration...
Current configuration : 3412 bytes
!
version RGOS 10.4(1T7), Release(83042)(Mon JAN 5 12:17:04 CST 2009 -ngcf65)
!
nfpp
dhcpv6-guard enable
ip-guard enable
dhcp-guard enable
icmp-guard enable
arp-guard enable
!
vlan 1
!
vlan 10 //创建vlan
!
vlan 20 //创建vlan
!
!
no service password-encryption
service dhcp
ip fragment-quota 200
!
ip dhcp pool 10 //配置dhcp 地址池
lease 1 0 0
network 192.168.10.0 255.255.255.0
default-router 192.168.10.254
!
ip dhcp pool 20 //配置dhcp 地址池
lease 1 0 0
network 192.168.20.0 255.255.255.0
default-router 192.168.20.254
!
enable secret 5 $1$sh7X$D1w2Aq85Fuyq90qw //配置特权密码
enable service web-server //启用web网管服务
wids
!
!
dot11 wlan 10 //创建wlan id为10
vlan 10 //关联的vlan
broadcast-ssid //启用广播
ssid wlan-10 //配置ssid 的名称
!
dot11 wlan 20 //创建wlan id为20
vlan 20 //关联的vlan
broadcast-ssid //启用广播
ssid wlan-20 //配置ssid 的名称
!
interface GigabitEthernet 0/1
duplex auto
speed auto
!
interface GigabitEthernet 0/1.10 //创建子接口,并封装
encapsulation dot1Q 10
!
interface GigabitEthernet 0/1.20 //创建子接口,并封装
encapsulation dot1Q 20
!
interface Dot11radio 1/0 //rdion1
smps dynamic
apsd disable
wmm edca-radio voice aifsn 1 cwmin 2 cwmax 3 txop 47
wmm edca-radio video aifsn 1 cwmin 3 cwmax 4 txop 94
wmm edca-radio best-effort aifsn 3 cwmin 4 cwmax 6 txop 0
wmm edca-radio back-ground aifsn 7 cwmin 4 cwmax 10 txop 0
wmm edca-client voice aifsn 2 cwmin 2 cwmax 3 txop 47 len 0
wmm edca-client voice cac optional
wmm edca-client video aifsn 2 cwmin 3 cwmax 4 txop 94 len 0
wmm edca-client video cac optional
wmm edca-client best-effort aifsn 3 cwmin 4 cwmax 10 txop 0 len 0
wmm edca-client back-ground aifsn 7 cwmin 4 cwmax 10 txop 0 len 0
wmm enable
station-role root-ap
mac-mode localc
short-preamble
chan-width 20
rate-set 1 mandatory
radio-type 802.11b
channel 1
speed-mode auto
loadblance 60
coverage-rssi 10
country-code CNI
radio-mode 11ng_ht20
wlan-id 10 //关联wlan-id
wlan-id 20 //关联wlan-id
duplex auto
speed auto
no keepalive
!
interface Dot11radio 1/0.1 //radio 子接口关联
encapsulation dot1Q 10
mac-mode fat
short-preamble
!
interface Dot11radio 1/0.2 //radio 子接口关联
encapsulation dot1Q 20
mac-mode fat
short-preamble
!
interface Dot11radio 2/0 //rdion2
smps dynamic
apsd disable
wmm edca-radio voice aifsn 1 cwmin 2 cwmax 3 txop 47
wmm edca-radio video aifsn 1 cwmin 3 cwmax 4 txop 94
wmm edca-radio best-effort aifsn 3 cwmin 4 cwmax 6 txop 0
wmm edca-radio back-ground aifsn 7 cwmin 4 cwmax 10 txop 0
wmm edca-client voice aifsn 2 cwmin 2 cwmax 3 txop 47 len 0
wmm edca-client voice cac optional
wmm edca-client video aifsn 2 cwmin 3 cwmax 4 txop 94 len 0
wmm edca-client video cac optional
wmm edca-client best-effort aifsn 3 cwmin 4 cwmax 10 txop 0 len 0
wmm edca-client back-ground aifsn 7 cwmin 4 cwmax 10 txop 0 len 0
wmm enable
station-role root-ap
mac-mode localc
short-preamble
chan-width 20
rate-set 1 mandatory
radio-type 802.11b
channel 1
speed-mode auto
loadblance 60
coverage-rssi 10
country-code CNI
radio-mode 11ng_ht20
wlan-id 10 //关联wlan-id
wlan-id 20 //关联wlan-id
duplex auto
speed auto
no keepalive
!
interface Dot11radio 2/0.1 //radio 子接口关联
encapsulation dot1Q 10
mac-mode fat
short-preamble
!
interface Dot11radio 2/0.2 //radio 子接口关联
encapsulation dot1Q 20
mac-mode fat
short-preamble
!
interface BVI 10 //AP 接口及ip配置
ip address 192.168.10.254 255.255.255.0
!
interface BVI 20 //AP 接口及ip配置
ip address 192.168.20.254 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.33.1 //默认路由
!
!
line con 0
line vty 0 4
login
!
!
end
本文档为【无线AP配置两个DHCP】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。