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

    LAN and OPT1 dhcp server issues

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 2.2k 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.
    • ?
      Guest
      last edited by

      Hello,

      I have three interfaces setup; WAN, LAN and OPT1. LAN is set with dhcpd serving addresses (192.168.0.x). WAN is set static. OPT1 is set as static, with dhcpd serving addresses (192.168.1.x).

      If I enable the dhcp server on OPT1, it doesn't appear to work (I can't get and IP from it). But what makes this interesting is that LAN starts sending out the 192.168.1.x addresses that OPT1 should be! This returns to normal when I disable either OPT1 or the dhcp server on OPT1.

      Nothing in my config looks out of the ordinary. OPT1 is set (or was) to serve dhcp as it will have an Access Point hooked up to it at a later date. The start and end addresses for both interfaces dhcp server settings appear fine (192.168.x.10-192.168.x.100).

      Bug, or did I miss a config option?

      Thanks,

      Chris

      1 Reply Last reply Reply Quote 0
      • AhnHELA
        AhnHEL
        last edited by

        What subnet bits are you using on your interfaces?

        AhnHEL (Angel)

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          /16 for both.

          Is this the issue?

          Chris

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            yes.
            a router routes between networks.
            right now you have on both interfaces the same network.
            search with google on how networks work.
            use /24.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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