06-14-2024 11:46 AM
The following line is in the running config of my C9200:
ip dhcp relay override giaddr link-selection
I haven't been able to find a clear explanation for what this command means. I only found it has something to do with BGP which we are not using.
Is this needed in a basic configuration? What exactly does this command mean?
Thanks!
Solved! Go to Solution.
06-14-2024 03:14 PM
Hello @Nicole Hudson ,
ip dhcp relay refers to the capability to convert DHCP broadcast packets to DHCP unicast packets sent to a remote DHCP server.
The giaddr is an internal field in the relayed packet that is populated with the IP address of the SVI that received the original broadcast request with the intent to allow the DHCP server to pick up an address from the right DHCP pool.
An explanation is reported in the link below:
>> The DHCP Relay Server ID Override and Link Selection Option 82 Suboptions feature enables the relay agent to be part of all DHCP message exchanges by supporting the use of two suboptions of option 82: server ID override and link selection. This design results in all DHCP messages flowing through the relay agent, allowing for greater control of DHCP communications.
-----------------------------------
In short is your Cat9200 working at Layer 3 ?
Are there any ip helper-address x.x.x.x configured under user facing SVI interfaces (VLAN interfaces) ?
if not that command does not do anything in your device because it is not acting as a DHCP relay
Hope to help
Giuseppe
06-14-2024 11:54 AM
You use mpls
And there are many sites use same vrf
This sub-option is use to assign specific IP range for each site
MHM
06-14-2024 03:14 PM
Hello @Nicole Hudson ,
ip dhcp relay refers to the capability to convert DHCP broadcast packets to DHCP unicast packets sent to a remote DHCP server.
The giaddr is an internal field in the relayed packet that is populated with the IP address of the SVI that received the original broadcast request with the intent to allow the DHCP server to pick up an address from the right DHCP pool.
An explanation is reported in the link below:
>> The DHCP Relay Server ID Override and Link Selection Option 82 Suboptions feature enables the relay agent to be part of all DHCP message exchanges by supporting the use of two suboptions of option 82: server ID override and link selection. This design results in all DHCP messages flowing through the relay agent, allowing for greater control of DHCP communications.
-----------------------------------
In short is your Cat9200 working at Layer 3 ?
Are there any ip helper-address x.x.x.x configured under user facing SVI interfaces (VLAN interfaces) ?
if not that command does not do anything in your device because it is not acting as a DHCP relay
Hope to help
Giuseppe
06-24-2024 06:44 AM
Sorry'
Can i ask some q here ?
Are you run ip helper in global mode or in vrf mode ?
Thanks
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide