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

[SOLVED] Need to ignore DHCP offered default gateway

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 1 Posters 608 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
    awebster
    last edited by awebster Oct 28, 2019, 7:11 PM Oct 25, 2019, 6:16 PM

    Scenario: pfSense is acting as a proxy between two networks, and for initial deployment, I need both LAN and WAN to be DHCP clients, but I only want to use the default gateway from the WAN side.

    Is there any way to tell the DHCP agent on LAN i/f to ignore the default gateway (and DNS servers) offered by the DHCP server?

    –A.

    1 Reply Last reply Reply Quote 0
    • A
      awebster
      last edited by Oct 28, 2019, 7:11 PM

      Replying to myself so that others can benefit...

      Check Advanced Configuration under DHCP Client Configuration
      In the Lease Requirements and Requests section, set the following Request options
      subnet-mask, broadcast-address, time-offset, domain-name, domain-name-servers, interface-mtu
      I specifically left out the Request option routers so the Lease request will not contain that information, and therefore no default gateway will be received and used.

      –A.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received