cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
258
Views
3
Helpful
3
Replies

C9200 run config question

Nicole Hudson
Level 1
Level 1

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!

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

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:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/xe-3s/dhcp-xe-3s-book/dhcp-relay-svr-option-82-xe.html

>> 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

 

View solution in original post

3 Replies 3

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/xe-3s/dhcp-xe-3s-book/dhcp-relay-svr-option-82-xe.html

>> 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

 

Sorry'

Can i ask some q here ?

Are you run ip helper in global mode or in vrf mode ?

Thanks 

MHM

Review Cisco Networking for a $25 gift card