Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: SOL13298
Printer Friendly
Email Article Link
Spirent TestCenter: How to configure clients to get IP address from different DHCP pools based on "Relay Agent Circuit ID"?
Objective/Summary
This article tells you how to configure clients to get IP address from different DHCP pools based on "Relay Agent Circuit ID"?
Lets take the following scenario: I have 3 different subnets, like 20.0.0.0/24, 30.0.0.0/24, 40.0.0.0/24, the DHCP server is on 50.0.0.0/24, so the relay agent will send dhcp packet with different relay circuit ID (20.0.0.1/30.0.0.1/40.0.0.1), can DHCP server assign based on these gateway Ips?
How to configure that in the tester?
Environment/Versions
Spirent TestCenter
Access - DHCP
DHCP Server
Relay Agent
Ciruit ID
Procedure
Under Devices > DHCP Server tab, activate DHCP server for the device on STC that will act as a DHCP Server
Then change “Address Assign Strategy” to “Relay Agent Circuit ID”
Click on “Edit Relay Agent Address Pools and use +Add button to add the pools you want based on the Relay Agent Ciruit ID. On the sample below I did it for the 20.0.0.1, 30.0.0.1 and 40.0.0.1 ID you mentioned
If the clients are on STC as well, you may need to specify what is the Relay Agent Circuit ID for each (Under Devices > DHCP tab)
Then when you start DHCP server and bound the DHCP clients, you will see each device has been assigned with an IP address from an specific pool:
Find a sample configuration attached
Attachments
Attachment
dd-5.20_bb-DHCP relay agent circuit ID sample_7k_reva.tcc
Version
4.0
Publish Date
2021-04-15
Categories
Product : Access,Spirent TestCenter,DHCP
Related Articles