cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

dhcp-snooping, switch don't insert option 82 information

dhcp-snooping, switch don't insert option 82 information

Alexandr_P
Valued Contributor
Hello, colleagues!

I need to insert option 82 information in dhcp-packets.
Try bootprelay - all work fine.

Trying dhcp-snooping - switch don't insert option 82 information.

My config:
enable ip-security dhcp-snooping vlan v74_Users port 16 violation-action none
enable ip-security dhcp-snooping vlan v74_Users port 20 violation-action none
enable ip-security dhcp-snooping vlan v74_Users port 21 violation-action none
enable ip-security dhcp-snooping vlan v74_Users port 26 violation-action none
enable ip-security dhcp-snooping vlan v74_Users port 27 violation-action none
configure trusted-ports 26 trust-for dhcp-server
configure ip-security dhcp-snooping information option
configure ip-security dhcp-snooping information check
configure ip-security dhcp-snooping information circuit-id vlan-information v74 vlan v74_Users
configure ip-security dhcp-snooping information circuit-id vlan-information v75 vlan v75_Users2
configure ip-security dhcp-bindings storage write-interval 1440
configure ip-security dhcp-bindings storage filename bind.txt.xsf
enable ip-security dhcp-bindings restoration

User_Guide say:
When DHCP relay is configured in a DHCP snooping environment, the relay agent IP address should be configured as the trusted server.

ā€œconfigure trusted-servers {vlan} add server trust-for dhcp-serverā€

Should I add IP-address of DHCP-server or/and configure Extreme's switch as trusted-server? But I have "configure trusted-ports 26 trust-for dhcp-server"

Any ideas?

Thank you!

21 REPLIES 21

Alexandr_P
Valued Contributor
Hi, Drew!

I think EXOS work normally, if think logically - first packet (with MAC-address of client) which go from client should be taken relay-agent and add option 82, this first packet is DHCP-Discover. And then DHCP-server have to offer some IP-address based on circuit ID information, or doing some other manipulation. (In this case we don't take secure component of dhcp-snooping).

In this case some wrong in documentation.

I'll open case for today and update information with case number.

Thank you!

Drew_C
Valued Contributor III
Brandon Clay pointed out to me that RFC3046 states:
A DHCP relay agent adding a Relay Agent Information field SHALL add it as the last option (but before 'End Option' 255, if present) in the DHCP options field of any recognized BOOTP or DHCP packet forwarded from a client to a server.
If that's the case, then there may be something wrong in EXOS that we'd need to look at and fix. Can you please open a ticket and get this reviewed?

Alexandr_P
Valued Contributor
Thank you, Drew!

Drew_C
Valued Contributor III
Thanks for pointing this one out - we'll take a look to see if the wording needs to be updated. Our documentation team has been notified.

Alexandr_P
Valued Contributor
May be you are right )))
GTM-P2G8KFN