Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Configuring the DHCP Relay Agent Option 82 Settings
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • DHCP Relay Agent Information Option (Option 82) Suboption Values Overview
  • set dhcp relay
  • set dhcp relay agent sub-option
  • set dhcp relay options
  • set dhcp relay preserve-trusted-client-option
 

Configuring the DHCP Relay Agent Option 82 Settings

You can configure the option 82 attribute for DHCP relay using the following set of tasks

  • Configuring Relay Agent Option 82 Information
  • Preventing Option 82 Information from Being Stripped from Trusted Client Packets
  • Configuring Relay Agent Information Option (Option 82) Suboption Values

Configuring Relay Agent Option 82 Information

You can specify the type the relay agent option 82 information that the router adds to DHCP packets before it relays the packets to the DHCP server. You can use one of the following keywords to add either the hostname or virtual router name to the front of the Circuit-Id field or to strip the subinterface ID from the Interface-Id field:

  • hostname—Adds the router’s hostname to the front of the Circuit-Id field; a colon separates the hostname from the circuit information
  • vrname—Adds the router’s virtual router name to the front of the Circuit-Id field; a colon separates the virtual router name from the circuit information
  • Use the exclude-subinterface-id to strip the subinterface ID from the Interface-Id field. When the interface ID is constructed, it contains the slot/port numbers, the subinterface ID, and the VPI/VCI for ATM interfaces or the VLAN ID for Ethernet interfaces. Use this keyword to remove the subinterface ID from the Interface-Id field.

The hostname and vrname keywords are a toggle; that is, specifying either hostname or virtual router name turns off the other selection.

  • To configure the relay agent option 82 information:
    host1(config)#set dhcp relay options hostname

Preventing Option 82 Information from Being Stripped from Trusted Client Packets

You can configure DHCP relay or DHCP relay proxy to preserve option 82 information for trusted clients. This ensures that DHCP relay and DHCP relay proxy prevent option 82 information from being stripped off packets destined for a trusted client. A trusted client has a giaddr value of 0. If DHCP relay is configured not to remove option 82 and the giaddr field is 0, option 82 information remains in the packets.

  • To prevent the option 82 information from being removed from packets destined for a trusted client:
    host1(config)#set dhcp relay preserve-trusted-client-option

Configuring Relay Agent Information Option (Option 82) Suboption Values

The JunosE Software provides two commands that you can use to configure DHCP relay agent information suboptions.

  • To configure option 82 to include any combination of the supported suboptions, including the Vendor-Specific suboption:
    host1(config)#set dhcp relay agent sub-option remote-id host1(config)#set dhcp relay agent sub-option circuit-id host1(config)#set dhcp relay agent sub-option vendor-specific layer2-circuit-id host1(config)#set dhcp relay agent sub-option vendor-specific user-packet-class
  • To configure option 82 to include either or both the Agent Circuit ID suboption (suboption 1) and Agent Remote ID suboption (suboption 2). The command does not support the Vendor-Specific suboption (suboption 9).
    host1(config)#set dhcp relay agent
 

Related Documentation

  • DHCP Relay Agent Information Option (Option 82) Suboption Values Overview
  • set dhcp relay
  • set dhcp relay agent sub-option
  • set dhcp relay options
  • set dhcp relay preserve-trusted-client-option
 

Published: 2012-06-27

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out