DHCP 不提供 IP 电话服务

网络工程 杜松 电话 回复
2021-07-14 13:54:52

我在 juniper 路由器 srx345 上配置了 DHCP,在 win 机器上运行并由电话 ppl 配置了外部 DHCP。

当我向在 srx345 上本地运行的 DHCP 服务器发送 DHCP 请求时,我正在使用 IP 电话 Astra i740N,DHCP 回复到 10.3.85.12,该地址不存在或尚未处理。

{root@srx-rad% tcpdump -n -i reth0.2085
15:20:03.584348  In IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:1d:67:e9, length 548
15:20:03.849730 Out IP truncated-ip - 247 bytes missing! 10.3.85.1.67 > 10.3.85.12.68: BOOTP/DHCP, Reply, length 269
15:21:22.687841  In IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:1d:67:e9, length 548
15:21:22.688052 Out IP truncated-ip - 247 bytes missing! 10.3.85.1.67 > 10.3.85.12.68: BOOTP/DHCP, Reply, length 269
15:21:37.687720  In IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:1d:67:e9, length 548
15:21:37.687840 Out IP truncated-ip - 247 bytes missing! 10.3.85.1.67 > 10.3.85.12.68: BOOTP/DHCP, Reply, length 26
}

{primary:node0}
rtomecek@srx-rad> show arp | match 10.3.85.

{primary:node0}
rtomecek@srx-rad> show dhcp server binding    

DHCP POOL
{set routing-instances GLOBAL access address-assignment pool TEST_Wifi_v2084 family inet dhcp-attributes router 10.3.84.1
set routing-instances GLOBAL access address-assignment pool TEST_VOIP_v2085 family inet dhcp-attributes grace-period 86400
set routing-instances GLOBAL access address-assignment pool TEST_VOIP_v2085 family inet dhcp-attributes router 10.3.85.1
set routing-instances GLOBAL access address-assignment pool TEST_VOIP_v2085 family inet dhcp-attributes boot-file 10.0.20.3 }

当我连接其他类型的电话,特别是 SIP 电话时,一切正常。

此外,当我将 Astra i740N 配置为将 DHCP 请求发送到在为 IP 电话配置的 win 机器上运行的其他 DHCP 服务器时,一切正常。

那么是否需要在瞻博网络 srx 上为 IP 电话进一步配置任何内容?

1个回答

假设您的呼叫服务器是10.0.20.3,那么我认为您的配置有误 - 您正在使用boot-file而不是boot-server. 请尝试以下操作,看看是否能解决您的问题:

delete routing-instances GLOBAL access address-assignment pool TEST_VOIP_v2085 family inet dhcp-attributes boot-file 10.0.20.3
set routing-instances GLOBAL access address-assignment pool TEST_VOIP_v2085 family inet dhcp-attributes boot-server 10.0.20.3