Printer FriendlyEmail 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
 
  1. Under Devices > DHCP Server tab, activate DHCP server for the device on STC that will act as a DHCP Server
  1. Then change “Address Assign Strategy” to “Relay Agent Circuit ID” 
 
  1. 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
  1. enlightenedIf 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:


 
yes Find a sample configuration attached 
 

Product : Access,Spirent TestCenter,DHCP