root@Gateway:~ # cat /var/etc/dhclient_wan.confinterface "re1" { # DHCP Protocol Timing Values # DHCP Protocol Options send dhcp-class-identifier “sagem”; send user-class “+FSVDSL_livebox.Internet.softathome.Livebox3”; send option-90 00:00:00:00:00:00:00:00:00:00:00:1a:09:00:00:05:58:01:03:41:01:0d:66:74:69:2f:xx:xx:xx:xx:xx:xx:xx; request subnet-mask,broadcast-address,dhcp-lease-time,dhcp-renewal-time,dhcp-rebinding-time,domain-search,routers,domain-name-servers; script "/usr/local/opnsense/scripts/interfaces/dhclient-script"; supersede interface-mtu 0;}
root@Gateway:~ # tcpdump -i re1 -nvvv udp port 67 or udp port 68tcpdump: listening on re1, link-type EN10MB (Ethernet), capture size 262144 bytes12:10:03.216569 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 335) 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:1e:06:xx:xx:xx, length 307, xid 0xf0448f3d, secs 58, Flags [none] (0x0000) Client-Ethernet-Address 00:1e:06:xx:xx:xx Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Client-ID Option 61, length 7: ether 00:1e:06:xx:xx:xx Hostname Option 12, length 7: "Gateway" Parameter-Request Option 55, length 8: Subnet-Mask, BR, Lease-Time, RN RB, Option 119, Default-Gateway, Domain-Name-Server AUTH Option 90, length 33: 0.0.0.0.0.0.0.0.0.0.0.26.9.0.0.5.88.1.3.65.1.13.x.x.x.x.x.x.x.x.x.x.x END Option 255, length 0
root@Gateway:~ # dhclient -c /var/etc/dhclient_wan.conf re1/var/etc/dhclient_wan.conf line 5: expecting string. send dhcp-class-identifier � ^/var/etc/dhclient_wan.conf line 6: expecting string. send user-class � ^dhclient 65974 - - Starting delete_old_states()DHCPDISCOVER on re1 to 255.255.255.255 port 67 interval 7DHCPDISCOVER on re1 to 255.255.255.255 port 67 interval 14
root@Gateway:~ # cat /var/etc/dhclient_wan.conf interface "re1" { # DHCP Protocol Timing Values # DHCP Protocol Options send dhcp-class-identifier "sagem"; send user-class "+FSVDSL_livebox.Internet.softathome.Livebox3"; send option-90 00:00:00:00:00:00:00:00:00:00:00:1a:09:00:00:05:58:01:03:41:01:0d:66:74:69:2f:xx:xx:xx:xx:xx:xx:xx; request subnet-mask,broadcast-address,dhcp-lease-time,dhcp-renewal-time,dhcp-rebinding-time,domain-search,routers,domain-name-servers; script "/usr/local/opnsense/scripts/interfaces/dhclient-script"; supersede interface-mtu 0;}
root@Gateway:~ # tcpdump -i re1 -nvvv udp port 67 or udp port 68tcpdump: listening on re1, link-type EN10MB (Ethernet), capture size 262144 bytes18:06:00.834570 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 388) 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:1e:06:xx:xx:xx, length 360, xid 0x413d434e, Flags [none] (0x0000) Client-Ethernet-Address 00:1e:06:xx:xx:xx Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Vendor-Class Option 60, length 5: "sagem" Client-ID Option 61, length 7: ether 00:1e:06:xx:xx:xx Hostname Option 12, length 7: "Gateway" Parameter-Request Option 55, length 8: Subnet-Mask, BR, Lease-Time, RN RB, Option 119, Default-Gateway, Domain-Name-Server User-Class Option 77, length 44: instance#1: "FSVDSL_livebox.Internet.softathome.Livebox3", length 43 AUTH Option 90, length 33: 0.0.0.0.0.0.0.0.0.0.0.26.9.0.0.5.88.1.3.65.x.x.x.x.x.x.x.x.x.x.x.x.x END Option 255, length 0