Skip to content
Contents
GuidesOpenWrt

IPTV gets no address: how to check whether DHCP option 60 appears twice

Use this check when OpenWrt runs the DHCPv4 client that obtains an upstream TV address. If the modem bridges directly to the set-top box, identify which device actually sends the request. Changing the home LAN's DHCP server options does not change the upstream client's Discover message.

Use this check when OpenWrt runs the DHCPv4 client that obtains an upstream TV address. If the modem bridges directly to the set-top box, identify which device actually sends the request. Changing the home LAN's DHCP server options does not change the upstream client's Discover message.

Match each field to the outgoing packet

On OpenWrt 24.10.2, inspect the TV interface's advanced settings and /lib/netifd/proto/dhcp.sh on the router. The client takes the vendor class from vendorid; sendopts can add options separately. Option 60 identifies the vendor class, 61 identifies the client, and 55 lists parameters requested from the server. Seeing a number inside 55 does not mean the corresponding option was sent twice. An empty field does not rule out a client default.

Compare messages in one DHCP transaction

Back up first. If no reply arrives, stop after one minute. Start recording on your own TV uplink before reconnecting the interface. Replace IFNAME with the device name. Stop with Ctrl+C after the reply. Read the file locally with the second command and delete it after review. It may contain subscriber identifiers.

command -v tcpdump
tcpdump -ni IFNAME -s 0 -c 12 -w /tmp/discover.pcap 'udp and (port 67 or port 68)'
tcpdump -nnvv -r /tmp/discover.pcap

Save the settings and reconnect the logical interface during a maintenance window. Open an authorized uplink capture in Wireshark and filter on dhcp. Expand Discover and Request separately within the same transaction. Inspect each option's number, length and raw bytes. One copy of 60 in each of two messages is normal. Multiple fragments in one message warrant checking option concatenation, client defaults and provider requirements. Keep client identifiers private.

This lab Discover has one option 60, twelve bytes long. The following 61 is separate. Do not copy the sample value into your provider settings.
This lab Discover has one option 60, twelve bytes long. The following 61 is separate. Do not copy the sample value into your provider settings.

Verify the lease and the TV service

If a manually added option duplicates the dedicated field, back up the configuration, remove only the redundant manual entry and compare packets of the same type. If there is no Offer, also check the link and VID. If the client receives an ACK and a valid address but login fails, investigate the TV service. Use the parameters supplied by your provider. Restore the original fields and reconnect if needed. Confirm stable address assignment, login and channel changes.

How to carry home Ethernet and ISP IPTV to the living room on one cable

Explore hardware

Comments