A network administrator provisions a new subinterface on a branch router to serve VLAN 50 (`192.168.50.0/24`). Workstations connected to VLAN 50 fail to obtain network configuration parameters and continuously assign themselves addresses in the `169.254.x.x` range. Meanwhile, devices on VLAN 10 connected to the same switch successfully acquire leases from the centralized DHCP server at `10.10.10.50`. The technician inspects the router subinterface configuration:
text
interface GigabitEthernet0/0/1.50
encapsulation dot1Q 50
ip address 192.168.50.1 255.255.255.0
Which of the following configuration changes on the router interface will resolve the connectivity issue for VLAN 50 hosts?
- Add the `ip helper-address 10.10.10.50` command under the `GigabitEthernet0/0/1.50` interface.Cevap
- BConfigure static default gateways on the VLAN 50 client devices pointing to 169.254.0.1.
- CChange the subinterface IP address to `10.10.10.50 255.255.255.0` to match the DHCP server's IP address.
- DChange the subinterface subnet mask to `255.255.255.128` to reduce the usable host count and clear lease scope exhaustion.
Cevap
Add the ip helper-address 10.10.10.50 command under the GigabitEthernet0/0/1.50 subinterface configuration.
DHCP client discovery messages are Layer 2 broadcasts that cannot cross router boundaries by default. Adding the `ip helper-address 10.10.10.50` command to the subinterface enables the router to act as a DHCP relay agent, forwarding local DHCP requests to the centralized server on another subnet.
Adım Adım Çözüm
Anahtar Kavram
DHCP Relay Agent and IP Helper Configuration