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

    DHCP server not working on brigde interface

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 257 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.
    • K
      keitetran
      last edited by keitetran

      I have a problem with DHCP server, what is missing on my config?
      DHCP server not working on brigde interface. I was read many thred on forum and try other setup but can not make OPT1,2,3 work on brigde mode. Please helpe me.

      Setup 1:

      LAN ip 192.168.5.1, actived, DHCP server enabled
      OPT1: IP none, actived
      OPT2: IP none, actived
      OPT3: IP none, actived
      Brigde0 (OPT1, 2, 3) : 192.168.6.1, actived, DHCP server enabled
      Group interfaces: LAN, OPT1, OPT2, OPT3
      Firewall rule: Brigde0: ipv4+6 pass any
      net.link.bridge.pfil_member 1
      net.link.bridge.pfil_bridge 0
      Result:
      DHCP on LAN working fine, new IP like 192.168.1.2
      DHCP on Brigde0 not working, no IP have found. But i can set static IP for PC like 192.168.6.2 OPT1 working fine.

      Setup 2:

      LAN ip 192.168.5.1, actived, DHCP server enabled
      OPT1: IP none, actived
      OPT2: IP none, actived
      OPT3: IP none, actived
      Brigde0 (LAN, OPT1, 2, 3): IP none, actived, DHCP server disabled
      Group interfaces: LAN, OPT1, OPT2, OPT3
      Firewall rule: Brigde0, LAN: ipv4+6 pass any
      net.link.bridge.pfil_member 1
      net.link.bridge.pfil_bridge 0
      DHCP on all port not working, no IP have found. But i can set static IP for PC like 192.168.5.2 working fine.

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi,

        The subject is less known in the forum, true.
        Read the manual, you'll understand why.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        K 1 Reply Last reply Reply Quote 0
        • K
          keitetran @Gertjan
          last edited by

          @Gertjan

          When creating a rule to allow traffic on an interface, normally the source is specified similar to OPT1 Subnet so that only traffic from that subnet is allowed out of that segment. With DHCP, that is not enough. Because a client does not yet have an IP address, a DHCP request is performed as a broadcast.

          That is reson ? I know firewall was blocked DHCP traffic but i dont know how to config that.
          I will try config follow this document.
          Thank you.

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