• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

BOOTP/DHCP turn on Flags [Broadcast]

DHCP and DNS
1
1
445
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lejonpart
    last edited by Jan 25, 2019, 2:49 PM

    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"

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.