Dhclient not sending option 60
-
I have setup vlan 4 on my WAN interface em0, because I need that for IPTV to work. I'm also sending an extra option: 'dhcp-client-identifier "IPTV_RG"' . However, a tcpdump from em0_vlan4, doesnt show the option being sent:
18:33:58.244426 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0c:29:d4:64:2b (oui Unknown), length 300, xid 0xf21823d6, secs 41, Flags [none] Client-Ethernet-Address 00:0c:29:d4:64:2b (oui Unknown) Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: hardware-type 73, 50:54:56:5f:52:47 Hostname Option 12, length 4: "fw01" Parameter-Request Option 55, length 9: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Default-Gateway, Domain-Name, Domain-Name-Server, Hostname Option 119
Why does dhclient not send option-60 with the request?Solved. Needed to specify dhcp-class-identifier instead of dhcp-client-identifier.