• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

核心做dhcp,ap能获取ip,ap终端获取不到,直连核心能获取

2023-02-27提问
  • 0关注
  • 0收藏,880浏览
粉丝:0人 关注:0人

问题描述:

AC做ap网关,但是dhcp在dhcp服务器上面,现在在核心上面做dhcp,做单个vlan的dhcp,但是连接ap的终端获取不到ip,ap的dhcp还在服务器上

思科交换机做核心,上面接的华三的AC,然后接路由器出外网,下面接的思科的接入然后接华三的AP交换机,这两个接入都是二层,这是有什么问题嘛


组网及组网描述:

思科接入下面每层还有一个华三的ap接入交换机连接ap


最佳答案

z6Kl9 九段
粉丝:72人 关注:2人

在无线的服务模板里面绑了对应vlan吗

回复z6Kl9:

这个配置我发在下面评论你看看

zhiliao_EcIH9E 发表时间:2023-03-01 更多>>

AC上面是做了对应vlan网关地址的

zhiliao_EcIH9E 发表时间:2023-02-27

交换引擎也要创建并透传vlan,交换引擎板上放行了吗?

z6Kl9 发表时间:2023-02-27
回复z6Kl9:

cpu上面放行嘛?还是下面的接入

zhiliao_EcIH9E 发表时间:2023-02-27
回复z6Kl9:

引擎上面怎么创建并透传vlan

zhiliao_EcIH9E 发表时间:2023-02-27

先从无线控制器切到交换版,在内联口放行相关vlan,在通过oap conceded slot 1 切换到交换机板,内联口放行相关vlan,交换板和核心互联口也要放行相关vlan

z6Kl9 发表时间:2023-02-27
回复z6Kl9:

ac的这个内联口是做的trunk的 ,然后我在核心上面做的dhcp ,AC上面的vlan接口设置的是自动获取ip,现在是获取不到

zhiliao_EcIH9E 发表时间:2023-03-01

开了DHCP功能吗?vlan透传了嘛

z6Kl9 发表时间:2023-03-01
回复z6Kl9:

开启了的 在AC接口上面也做了vlan透传了的

zhiliao_EcIH9E 发表时间:2023-03-01

检查一下配置

z6Kl9 发表时间:2023-03-01
回复z6Kl9:

211.136.192.6 120.196.165.24

zhiliao_EcIH9E 发表时间:2023-03-01
回复z6Kl9:

这个配置我发在下面评论你看看

zhiliao_EcIH9E 发表时间:2023-03-01
2 个回答
粉丝:97人 关注:1人

交换引擎也要创建并透传vlan

下面的接入也都创建了对应vlan,并连接ap的接口也都做的trunk,做了ap网段的pvid

zhiliao_EcIH9E 发表时间:2023-02-27 更多>>

下面的接入也都创建了对应vlan,并连接ap的接口也都做的trunk,做了ap网段的pvid

zhiliao_EcIH9E 发表时间:2023-02-27
zhiliao_EcIH9E 知了小白
粉丝:0人 关注:0人

<SZZB-LG-WX3024>dis cu
#
version 5.20, Release 3507P14
#
sysname SZZB-LG-WX3024
#
clock timezone Beijing add 08:00:00
#
dhcp relay server-group 1 ip 10.2.30.11
#
domain default enable system
#
telnet server enable
#
port-security enable
#
portal server imc ip 10.1.32.16 key cipher $c$3$7TXl7urevqwwvMdkZvHgq8raizLQbmxg/4CASQ== url http://10.1.32.16:8080/portal server-type imc
portal free-rule 0 source interface GigabitEthernet1/0/1 destination any
portal free-rule 1 source interface GigabitEthernet1/0/2 destination any
portal free-rule 3 source ip any destination ip 10.1.30.21 mask 255.255.255.255
portal free-rule 9 source ip any destination ip 10.1.101.100 mask 255.255.255.255
portal free-rule 10 source ip any destination ip 10.1.32.13 mask 255.255.255.255
portal free-rule 11 source ip any destination ip 120.196.165.24 mask 255.255.255.255
portal free-rule 12 source ip any destination ip 211.136.192.6 mask 255.255.255.255
portal local-server http
#
sysnetid 龙岗无线控制器
#
password-recovery enable
#
wlan capture file-name SnifferRecord
#
vlan 1
#
vlan 24
description Connect to LG-SRG3210
#
vlan 50 to 59
#
vlan 101
#
vlan 155
#
vlan 156
description Wifi-NewPos
#
radius scheme portal
server-type extended
primary authentication 10.1.32.16
primary accounting 10.1.32.16
key authentication cipher $c$3$0qk7UexGsLYe0/9OXQI+ZbSW0xfkIh+RGqzbmQ==
key accounting cipher $c$3$rfa8I/f1j3vk86JqDFcafdfccnLS7xAPmpz/Ug==
user-name-format without-domain
accounting-on enable
#
domain portal
authentication portal radius-scheme portal
authorization portal radius-scheme portal
accounting portal radius-scheme portal
access-limit disable
state active
idle-cut disable
self-service-url disable
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$GpRvRI2AuJ0GfI2bvbw9svzx0ABwuR6tU1Q3
authorization-attribute level 3
service-type telnet
service-type web
#
wlan rrm
spectrum-management enable
power-constraint 10
dot11a mandatory-rate 6 12 24
dot11a supported-rate 9 18 36 48 54
dot11b mandatory-rate 1 2
dot11b supported-rate 5.5 11
dot11g mandatory-rate 1 2 5.5 11
dot11g supported-rate 6 9 12 18 24 36 48 54
dot11n protection enable
dot11n max-bandwidth 180000
dot11a calibrate-channel self-decisive
dot11a calibrate-power self-decisive
dot11a interference-threshold 40
dot11a tolerance-level 15
dot11a crc-error-threshold 10
dot11bg calibrate-channel self-decisive
dot11bg calibrate-power self-decisive
dot11bg interference-threshold 40
dot11bg tolerance-level 15
dot11bg crc-error-threshold 10
#
wlan service-template 1 crypto
ssid Allcity_POS
bind WLAN-ESS 1
cipher-suite tkip
security-ie wpa
fast-association enable
service-template enable
#
wlan service-template 2 crypto
ssid Allcity-tuiguang
beacon ssid-hide
bind WLAN-ESS 2
cipher-suite ccmp
security-ie rsn
service-template enable
#
wlan service-template 3 clear
ssid Allcity-VIP
bind WLAN-ESS 3
#
wlan service-template 4 clear
ssid Allcity-Free
bind WLAN-ESS 4
service-template enable
#
wlan ap-group default_group
ap l101
ap l102
ap l103
ap l104
ap l105
ap l106
ap l107
ap l201
ap l202
ap l203
ap l301
ap l302
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
#
interface NULL0
#
interface Vlan-interface24
ip address 172.16.7.1 255.255.255.248
#
interface Vlan-interface51
ip address 10.2.52.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface52
ip address 10.2.57.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface53
ip address 10.2.59.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface54
ip address 10.2.61.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface55
ip address 10.2.65.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface56
ip address 10.2.67.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface57
ip address 10.2.69.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface58
ip address 10.2.73.254 255.255.254.0
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface59
ip address dhcp-alloc
dhcp select relay
dhcp relay server-select 1
#
interface Vlan-interface101
ip address 10.2.101.100 255.255.255.0
#
interface Vlan-interface156
ip address 10.141.15.254 255.255.255.0
dhcp select relay
dhcp relay server-select 1
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
interface WLAN-ESS1
port access vlan 156
port-security port-mode psk
port-security tx-key-type 11key
port-security preshared-key pass-phrase cipher $c$3$JvB3TU6DkwokktR2uX/6vl1k0srZ3YRMKrmonxtU
#
interface WLAN-ESS2
description TuiGuang-WIFI
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 51 to 52 untagged
mac-vlan enable
port-security port-mode psk
port-security tx-key-type 11key
port-security preshared-key pass-phrase cipher $c$3$olU9svDNkRugKioFG9FFXXz7nL9F61Tj2quMX/T0q/t2dNfk99bTlg==
#
interface WLAN-ESS3
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 51 to 56 untagged
mac-vlan enable
#
interface WLAN-ESS4
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 51 to 59 untagged
mac-vlan enable
#
nqa entry imclinktopologypleaseignore ping
type icmp-echo
destination ip 10.2.101.252
frequency 270000
#
wlan ap l101 model WA2620i-AGN id 1
serial-id 219801A0CNC13A000664
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l102 model WA2620i-AGN id 2
serial-id 219801A0CNC13A000615
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l103 model WA2620i-AGN id 3
serial-id 219801A0CNC13A000645
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l104 model WA2620i-AGN id 4
serial-id 219801A0CNC13A000610
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l105 model WA2620i-AGN id 5
serial-id 219801A0CNC13A000492
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l106 model WA2620i-AGN id 6
serial-id 219801A0CNC13A000466
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l107 model WA2620i-AGN id 7
serial-id 219801A0CNC13A000658
radio 1
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
radio 2
service-template 1
service-template 2 vlan-id 51
service-template 4 vlan-id 57
radio enable
#
wlan ap l201 model WA2620i-AGN id 8
serial-id 219801A0CNC13A000496
radio 1
service-template 1
service-template 2 vlan-id 52
service-template 4 vlan-id 58
radio enable
radio 2
service-template 1
service-template 2 vlan-id 52
service-template 4 vlan-id 58
radio enable
#
wlan ap l202 model WA2620i-AGN id 9
serial-id 219801A0CNC13A000487
radio 1
service-template 1
service-template 2 vlan-id 52
service-template 4 vlan-id 58
radio enable
radio 2
service-template 1
service-template 2 vlan-id 52
service-template 4 vlan-id 58
radio enable
#
wlan ap l203 model WA2620i-AGN id 10
serial-id 219801A0CNC13A000657
radio 1
service-template 1
service-template 2 vlan-id 52
service-template 4 vlan-id 58
radio enable
radio 2
service-template 1
service-template 2 vlan-id 52
service-template 4 vlan-id 58
radio enable
#
wlan ap l301 model WA2620i-AGN id 11
serial-id 219801A0CNC13A000477
radio 1
service-template 1
service-template 2 vlan-id 53
service-template 4 vlan-id 59
radio enable
radio 2
service-template 1
service-template 2 vlan-id 53
service-template 4 vlan-id 59
radio enable
#
wlan ap l302 model WA2620i-AGN id 12
serial-id 219801A0CNC13A000488
radio 1
service-template 1
service-template 2 vlan-id 53
service-template 4 vlan-id 59
radio enable
radio 2
service-template 1
service-template 2 vlan-id 53
service-template 4 vlan-id 59
radio enable
#
wlan ips
malformed-detect-policy default
signature deauth_flood signature-id 1
signature broadcast_deauth_flood signature-id 2
signature disassoc_flood signature-id 3
signature broadcast_disassoc_flood signature-id 4
signature eapol_logoff_flood signature-id 5
signature eap_success_flood signature-id 6
signature eap_failure_flood signature-id 7
signature pspoll_flood signature-id 8
signature cts_flood signature-id 9
signature rts_flood signature-id 10
signature-policy default
countermeasure-policy default
attack-detect-policy default
virtual-security-domain default
attack-detect-policy default
malformed-detect-policy default
signature-policy default
countermeasure-policy default
#
ip route-static 0.0.0.0 0.0.0.0 172.16.7.2
ip route-static 10.1.32.0 255.255.255.0 10.2.101.254
ip route-static 10.1.40.0 255.255.255.0 10.2.101.254
ip route-static 10.2.30.11 255.255.255.255 10.2.101.254
ip route-static 10.2.35.0 255.255.255.0 10.2.101.254
ip route-static 10.2.40.0 255.255.255.0 10.2.101.254
ip route-static 10.2.74.0 255.255.254.0 10.2.101.254
ip route-static 10.2.100.0 255.255.255.0 10.2.101.254
ip route-static 10.100.0.0 255.255.0.0 10.2.101.254
#
undo info-center enable
#
snmp-agent
snmp-agent local-engineid 800063A2035CDD7020ED93
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info contact Hang
snmp-agent sys-info location Hang
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 10.1.32.13 params securityname public v2c
snmp-agent trap enable default-route
#
dhcp enable
#
nqa schedule imclinktopologypleaseignore ping start-time now lifetime 630720000
#
ntp-service source-interface Vlan-interface156
ntp-service unicast-server 210.72.145.44
ntp-service refclock-master 127.127.1.3
#
arp-snooping enable
#
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
user privilege level 3
#
return
<SZZB-LG-WX3024>             

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明