An organization is deploying a new VoIP phone deployment on VLAN 30 (). While existing desktop computers on VLAN 10 () successfully acquire dynamic IPv4 addresses from a centralized DHCP server at , the newly installed VoIP phones on VLAN 30 fail to receive an IP address lease. Both VLANs terminate on a central Layer 3 core switch. Which of the following configuration changes on the Layer 3 core switch will resolve the IP addressing issue for the phones on VLAN 30?
- Configure `ip helper-address 10.1.1.50` under the VLAN 30 switch virtual interface (SVI).Cevap
- BConfigure `ip helper-address 10.1.1.50` under the physical interface connected directly to the DHCP server.
- CConfigure static route port forwarding for TCP port 67 on the core router.
- DConfigure the DHCP server address as the default gateway on the VLAN 10 SVI.
Cevap
Configure `ip helper-address 10.1.1.50` under the VLAN 30 switch virtual interface (SVI).
The correct action is to configure `ip helper-address 10.1.1.50` under the VLAN 30 SVI. DHCP client discovery packets are sent as local Layer 2 broadcasts. Because routers and Layer 3 switch interfaces drop broadcast packets by default, a DHCP relay agent (configured via `ip helper-address` in Cisco-style syntax) must be enabled on the interface directly connected to the client subnet. This allows the switch to intercept incoming broadcast DHCPDISCOVER traffic on UDP port 67, encapsulate it as a unicast packet with the gateway IP address (`giaddr`) set to the VLAN 30 interface address, and send it to the DHCP server at .
Adım Adım Çözüm
Anahtar Kavram
DHCP Relay Agent Placement and Operation