DHCP 与 Brocade

网络工程 dhcp 锦缎
2021-07-07 16:53:41

我在带有 L3 功能高级许可证的 Brocade icx 上有以下配置:

stack unit 1
  module 1 icx6450-24p-poe-port-management-module
  module 2 icx6450-sfp-plus-4port-40g-module
!
global-stp
!
!
!
vlan 10 by port
 untagged ethe 1/1/1 to 1/1/24 ethe 1/2/1 
 router-interface ve 10
 spanning-tree 802-1w
!
vlan 50 name DEFAULT-VLAN by port
!
!
!
!
!
!                                                                 
!
!
optical-monitor 1
boot sys fl sec
enable telnet password .....
enable super-user-password .....
ip dhcp-server enable
!
ip dhcp-server pool noc
 dhcp-default-router 10.10.10.1 
 dns-server 208.67.222.222 
 domain-name noc.com
 excluded-address 10.10.10.1 10.10.10.10
 lease 1 0 0
 network 10.10.10.0 255.255.255.0
 deploy
!
ip route 0.0.0.0 0.0.0.0 x.x.x.137
!
fdp run

!
!
interface ethernet 1/2/1
 port-name To_9/11
 speed-duplex 1000-full-master
!
interface ve 10
 ip address x.x.x.140 255.255.255.248

我有一台 PC 插入随机端口 17,但无法从该交换机获得租用。

当 PC 尝试更新其 ip 时,日志会显示这一点:

    0d03h52m09s:A:DHCPS: unable to find an address pool for rx port 10, dropping DHCPOFFER message
0d03h52m09s:A:DHCPS: Exhausts all allocation methods, no address pool found from received port 10 
0d03h51m53s:A:DHCPS: unable to find an address pool for rx port 10, dropping DHCPOFFER message
0d03h51m53s:A:DHCPS: Exhausts all allocation methods, no address pool found from received port 10

任何人都知道我怎样才能让它正常工作,这样一旦 PC 获得租约,他们就可以浏览互联网等?

谢谢

更新

我进行了以下更改,现在 PC 能够获得租用。

添加了一个新的 vlan 并将端口 17 放入其中并创建了一个新的 ve 实例

 vlan 20 by port
     untagged ethe 1/1/17 
     router-interface ve 20
    spanning-tree 802-1w


interface ve 20
 ip address 10.10.10.1 255.255.255.0

现在我得到了这个:

0d04h19m04s:I:DHCPS: sending ACK message to client 10.10.10.11    
0d04h19m04s:I:DHCPS: verified client requested address 10.10.10.11 in lease binding, updating entry
0d04h19m04s:I:DHCPS: No ARP-PING reply from client 10.10.10.11

Bindings from all pools:
    IP Address    Client-ID/        Lease expiration Type
                  Hardware address

   10.10.10.11    0013.72d1.c847   000d:23h:49m:43s   Automatic

现在只需要确保我明天可以从 PC 上浏览互联网,我一切都很好!

即使我自己想通了...希望这对某人有所帮助并感谢大家:)

1个回答
interface ve 10
 ip address x.x.x.140 255.255.255.248

ip dhcp-server pool noc
 network 10.10.10.0 255.255.255.0

它不起作用,因为ve 10(L3 接口)不在nocdhcp 池中 (10.10.10.0/24) 您更新的ve 20是,但除非您在此上游进行 NAT,否则将无法访问互联网。