BOOTP/DHCP turn on Flags [Broadcast]



  • Hi

    I have run in to a little issue I hope you guys can help me with. IPTV-Device sends a specific DHCP request and I want to mimic this to get an ip from my provider. So far I have managed to create most of the request but I cant figure out how to set the Broadcast flag?!

    Regards Christian

    My attempt but it don't like the line "always-broadcast yes"

    interface "igb0.269" {
    
            supersede interface-mtu 0;
    # DHCP Protocol Timing Values
    
    # DHCP Protocol Options
            send dhcp-class-identifier "VIASAT:IPTV:STB";;
            request Domain-Name-Server, Default-Gateway, Subnet-Mask, Domain-Name TFTP, BF, BS, Vendor-Option;;
            always-broadcast yes;;
    
            script "/usr/local/sbin/pfSense-dhclient-script";
    }
    

    Original traffic from IPTV-device (yea im still missing the Option 43)

    12:16:13.387448 00:26:d9:e1:14:5c > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 590: (tos 0x0, ttl 64, id 2, offset 0, flags [DF], proto UDP (17), length 576)
    0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:26:d9:e1:14:5c, length 548, xid 0xda38, secs 124, Flags [Broadcast]
    Client-Ethernet-Address 00:26:d9:e1:14:5c
    Vendor-rfc1048 Extensions
    Magic Cookie 0x63825363
    DHCP-Message Option 53, length 1: Discover
    Parameter-Request Option 55, length 9:
    Domain-Name-Server, Default-Gateway, Subnet-Mask, Domain-Name
    TFTP, BF, BS, Vendor-Option
    Option 194
    Client-ID Option 61, length 7: ether 00:26:d9:e1:14:5c
    Vendor-Option Option 43, length 20: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
    Vendor-Class Option 60, length 15: "VIASAT:IPTV:STB"


Log in to reply