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

    DO NOT set gateway via DHCP

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 480 Views 2 Watching
    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.
    • C Offline
      coatmaker618
      last edited by

      This shares a title with a post from 2011, but my question still stands after reading that post.

      TL;DR:

      I want to have an interface that serves DHCP but does not declare itself to be a gateway. How can I disable the gateway advertisement but maintain DHCP?

      Details & Background:

      My network has WAN & LAN & OPT1. LAN can access WAN & OPT1 cannot access WAN. However there are machines that act as a bridge between LAN & OPT1--one interface on LAN & one on OPT1. Both LAN & OPT1 have a DHCP server, and both are advertising as default gateways but OPT1 does not have an internet connection and should not be advertising as the default gateway. Unfortunately the "block all traffic from OPT1 on the WAN firewall" rule does not seem to communicate this to the rest of the system. Please help me figure out what this needs to get going!

      Thanks :)

      1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann
        last edited by

        Did you read the hint near the gateway option in the DHCP settings?

        The default is to use the IP on this interface of the firewall as the gateway. Specify an alternate gateway here if this is not the correct gateway for the network. Type "none" for no gateway assignment.

        C 1 Reply Last reply Reply Quote 1
        • C Offline
          coatmaker618 @viragomann
          last edited by

          @viragomann I most surely did not (or had long forgotten about it). I was totally looking in the wrong place. Thank you for your help on a simple problem that was driving me crazy!!!

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