01-15-2023 12:11 AM
Hello everyone,
i just would like to ask how can i use Cisco CPNR DHCP to configure multi-vendor devices.
Example:
i have subnet A with 2 scopes :
my target is to allow only Cisco devices use scope-1 & vendorX devices use scope-2.
Any ideas? Thanks in advance.
Solved! Go to Solution.
01-23-2023 02:56 AM
it works after configuring Client-classes with lookup-id expression to match on option 60 value sent from the client.
Thanks !!
01-15-2023 09:01 AM
- You might try to use the DHCP Option 82 feature in Cisco CPNR to configure different DHCP scopes for different types of devices. Option 82 is a DHCP relay agent information option that allows the DHCP relay agent to insert circuit-specific information, such as the remote-ID or the agent-ID, into the DHCP request packet.
You can configure your DHCP server to include Option 82 information in DHCP offers, and then configure the DHCP relay agent on your Cisco devices to include the appropriate information in DHCP requests. For example, you can configure your Cisco devices to include the remote-ID "Cisco" in DHCP requests, and configure your VendorX devices to include the remote-ID "VendorX" in DHCP requests.
On the DHCP server side, you can configure DHCP scope-1 to only offer IP addresses to DHCP requests that include the remote-ID "Cisco", and configure DHCP scope-2 to only offer IP addresses to DHCP requests that include the remote-ID "VendorX".
You can also use DHCP Policies on Cisco IOS DHCP server to assign DHCP scope based on different conditions, such as MAC address, Option-82 field, etc.
M.
01-16-2023 12:48 AM
Thanks for your reply,
i will give it a try, but do you think it's gonna work if the 2 vendors requests through same relay agent and to same subnet?
01-23-2023 02:56 AM
it works after configuring Client-classes with lookup-id expression to match on option 60 value sent from the client.
Thanks !!
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