Changing the remote-id from a MAC to an IP address

By default, DHCP snooping uses the MAC address of the switch as the remoteid in Option 82 additions. The IP address of the VLAN the packet was received on or the IP address of the management VLAN can be used instead by entering this command with the associated parameter:

switch(config)# dhcp-snooping option 82 remote-id <mac|subnet-ip|mgmt-ip>

DHCP snooping option 82 using the VLAN IP address

switch(config)# dhcp-snooping option 82 remote-id subnetip
switch(config)# show dhcp-snooping

 DHCP Snooping Information

  DHCP Snooping              : Yes
  Enabled Vlans              : 4
  Verify MAC                 : Yes
  Option 82 untrusted policy : drop
  Option 82 Insertion        : Yes
  Option 82 remote-id        : subnet-ip