inter vlan routing-dhcp offer 到达直到新创建的 vlan ip 但不是我的机器连接到 vlan

网络工程 路由 局域网 hp-procurve
2022-02-08 05:09:18

默认 VLAN:10..0.0/24新 VLAN:10..8.0/24DHCP 服务器:10.*.0.17

我可以看到 DHCP 提供的数据包返回到我的 VLAN IP 地址,即 10.*.8.31(来自 DHCP 服务器消息日志)

Apr 28 15:33:13 dhcpd: DHCPOFFER on 10..8.129 to via 10..8.31

但是,DHCP 提供永远不会回到我连接到新 VLAN 的机器上(也使用 Wireshark 进行了验证)。

交换机是 HP Layer-3 ProCurve。

运行配置(一些细节已编辑):

Running configuration:
*; J9588A Configuration Editor; Created on release #KA.15.17.0008
*module 1 type j9588y
module 2 type j9588x
-fault-finder broadcast-storm sensitivity high
fault-finder bad-driver sensitivity high
fault-finder bad-transceiver sensitivity high
fault-finder bad-cable sensitivity high
fault-finder too-long-cable sensitivity high
fault-finder over-bandwidth sensitivity high
fault-finder loss-of-link sensitivity high
fault-finder duplex-mismatch-hdx sensitivity high
fault-finder duplex-mismatch-fdx sensitivity high
fault-finder link-flap sensitivity high
jumbo ip-mtu 9000
power-over-ethernet redundancy n+1
qos tcp-port ipv4 22 priority 7
qos tcp-port ipv4 80 priority 1
qos tcp-port ipv4 443 priority 0
qos type-of-service diff-services
timesync sntp
sntp broadcast
sntp server priority 1 10.x.x.x
sntp server priority 2 10.x.x.x
no telnet-server
time daylight-time-rule western-europe
no web-management
web-management ssl
ip default-gateway 10.x.0.x
ip dns server-address priority 1 10.x.0.x
ip dns server-address priority 2 10.x.0.x
no ip ssh cipher aes128-cbc
no ip ssh cipher 3des-cbc
no ip ssh cipher aes192-cbc
no ip ssh cipher aes256-cbc
no ip ssh mac hmac-md5
no ip ssh mac hmac-sha1-96
no ip ssh mac hmac-md5-96
ip route 10.x.8.0 255.255.255.0 10.x.8.1
ip routing
snmp-server community "public" unrestricted
tls application web-ssl lowest-version tls1.2
tls application openflow lowest-version tls1.2
tls application syslog lowest-version tls1.2
tls application tr69 lowest-version tls1.2
aaa authentication ssh login public-key
oobm
ip address 10..x.x 255.255.255.0
exit
router rip
redistribute connected
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 20-21
untagged 1-19,22-52
ip address 10.x.0.31 255.255.255.0
ip helper-address 10.x.0.17
ip igmp
exit
vlan 8
name "WiredUsers"
untagged 20
ip address 10.x.8.31 255.255.255.0
ip helper-address 10.x.0.17
ip igmp
exit
spanning-tree

10.x.8.31关于为什么 DHCP 提供不能从同一子网上的我的机器跳到我的机器的任何建议?

1个回答

对此的解决方案是没有从 dhcp 服务器到 vlan 的正确路由。我添加了一个之后它起作用了

在 dhcp 服务器上 sudo route add -net 10.36.8.0/24 gw 1​​0.36.0.31 dev bond0(其中 10.36.0.31 是 vlan 的地址)。感谢您抽出宝贵时间回复!