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

pfSense not configuring gateway via DHCP (but server is sending address)

Scheduled Pinned Locked Moved DHCP and DNS
1 Posts 1 Posters 110 Views
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.
  • A
    autumnwalker
    last edited by Jan 2, 2020, 6:08 PM

    Hello,

    pfSense is not configuring a gateway from my ISP when I make a DHCP request. I get an IP and subnet without issue, but the gateway remains "dynamic".

    When I run tcpdump on the interface and look at the ACK I see "Gateway-IP" in the response, but it's not under an option code as I would have expected.

    Any idea what is going on here? Is it possible to have pfSense configure the gateway automatically based on this response? Example is below:

    [TIMESTAMP] [SERVER MAC] > [CLIENT MAC], ethertype IPv4 (0x0800), length 342: (tos 0x28, ttl 64, id 5255, offset 0, flags [none], proto UDP (17), length 328)
        [SERVER IP].67 > [CLIENT IP].68: BOOTP/DHCP, Reply, length 300, xid 0xdec0871c, Flags [none]
              Your-IP [CLIENT IP]
              Gateway-IP 10.198.0.3
              Client-Ethernet-Address [CLIENT MAC]
              Vendor-rfc1048 Extensions
                Magic Cookie [REDACTED]
                DHCP-Message Option 53, length 1: ACK
                Server-ID Option 54, length 4: 10.237.10.110
                Lease-Time Option 51, length 4: 68400
                Subnet-Mask Option 1, length 4: 255.255.128.0
    
    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.
      This community forum collects and processes your personal information.
      consent.not_received