Hello team:
I am testing a QFX 5110 switch that I configured as a DHCP relay for PCs that request IPs to a DHCP server located one hop across this switch.
I am interested in the switch inserting option 82.2 (DHCP Agent Remote ID, i.e. client´s MAC address) in the relayed DHCP requests, so I added the following JUNOS commands:
{master:0}[edit forwarding-options dhcp-relay]
root# show |display set
set forwarding-options dhcp-relay relay-option-82 circuit-id no-vlan-interface-name
set forwarding-options dhcp-relay relay-option-82 circuit-id keep-incoming-circuit-id
set forwarding-options dhcp-relay relay-option-82 remote-id no-vlan-interface-name
set forwarding-options dhcp-relay relay-option-82 remote-id keep-incoming-remote-id
set forwarding-options dhcp-relay server-group 4-srvs 10.1.1.2
set forwarding-options dhcp-relay group 4 active-server-group 4-srvs
set forwarding-options dhcp-relay group 4 interface ge-0/0/1.0
But no matter which combinations I choose in this config area, my sniffer always shows me that the "remote-id" field in the DHCP relayed packet has exactly the same value as in the "circuit-id" field. It seems that the switch does not pick the MAC address from the client to insert its value in the "remote-id" field of the relayed DHCP packet.
¿ Any ideas of what I could be doing wrong?
Just in case I am attaching a snapshow of the wireshark capture in which I see that both the circuit-id and the remote-id fields are exactly the same.
Thanks!