VIAVI TestCenter: How do I get VIAVI TestCenter's DHCP server to ARP its gateway instead of the client facing interface (i.e., the giaddr)?
Knowledge Base - FAQ
VIAVI TestCenter: How do I get VIAVI TestCenter's DHCP server to ARP its gateway instead of the client facing interface (i.e., the giaddr)?
Here's the test topology:
STC 192.0.0.0/24 DUT 10.0.0.0/24 STC
DHCP .1 Relay .8 .2 DHCP
client Agent server
By default when the STC DHCP server receives a DISCOVER message from the Relay Agent (RA), STC will ARP for the client facing interface of the RA. This IP address is found in the DISCOVER's giaddr field. If the RA is configured for proxy ARP, it will ARP reply with the MAC address of the server facing interface. This is diagrammed below.
STC 192.0.0.0/24 DUT 10.0.0.0/24 STC
DHCP .1 Relay .8 .2 DHCP
client Agent server
| DISCOVER | |
|--------------------->| |
| giaddr = 0.0.0.0 | DISCOVER |
| |------------------------>|
| | giaddr = 192.0.0.1 |
| | |
| | ARP request |
| || agent which is in the
| | MAC addr of 10.0.0.8 | giaddr field in the DISCOVER
| | interface | message.
| | |
However, all RA's may not be configured for proxy ARP and so will not respond to the ARP requests for giaddr. So STC should ARP for the interface of the server facing interface, in this case 10.0.0.8. This is diagrammed below.
STC 192.0.0.0/24 DUT 10.0.0.0/24 STC
DHCP .1 Relay .8 .2 DHCP
client Agent server
| DISCOVER | |
|--------------------->| |
| giaddr = 0.0.0.0 | DISCOVER |
| |------------------------>|
| | giaddr = 192.0.0.1 |
| | |
| | ARP request |
| ||
| | MAC addr of 10.0.0.8 |
| | interface |
| | |
To do this:
• Configure the IPv4 gateway on the DHCP server's device block.
• Under global Settings --> DHCP tab, check "“Use Gateway when sending DHCPv4 messages to Relay Agents”"