Navigation

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

    Basic LAN & OPT1 configuration

    General pfSense Questions
    4
    5
    1951
    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.
    • M
      meazz1 last edited by

      Both my scenario 1 & 2 does not work.
      Only one works is the #3 option. I would like #2 to work. Let me know if I am on right track with
      #2 setup,so that I can focus on rules and other options.
      I am using pfsense 1.2.3 on a CF module with an alix2 board.

      Scenario #1
      –--------

      Wan DHCP
      LAN 192.168.1.1
      OPT1 192.168.1.2

      DHCP server:
      LAN ip range 192.168.1.20 - 192.168.1.30
      OPT1 ip range 192.168.1.31 - 192.168.1.40

      Rules:
      LAN: allow all in lan subnet
      OPT1: allow all in OPT1 subnet

      Scenario #2

      WAN: DHCP
      LAN: 192.168.1.1
      OPT1: bridge with LAN

      DHCP server
      LAN; ip range 192.168.1.10 192.168.1.20

      Rules:
      LAN: Allow all in lan subnet

      Scenario #3

      Wan DHCP
      LAN 192.168.1.1
      OPT1 192.168.0.1

      DHCP server:
      LAN ip range 192.168.1.20 - 192.168.1.30
      OPT1 ip range 192.168.0.10 - 192.168.0.30

      Rules:
      LAN: allow all in lan subnet
      OPT1: allow all in OPT1 subnet

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

        #1 Will never work because you have the same subnet on both interfaces.

        #2 Can work if you create the correct rules on the OPT interface.
        Search the forum for what rules are needed to have a working DHCP with a bridge.

        #3 Is imo the proper way to set a network up and you should do it like this.

        1 Reply Last reply Reply Quote 0
        • M
          meazz1 last edited by

          @GruensFroeschli:

          #1 Will never work because you have the same subnet on both interfaces.

          #2 Can work if you create the correct rules on the OPT interface.
          Search the forum for what rules are needed to have a working DHCP with a bridge.

          #3 Is imo the proper way to set a network up and you should do it like this.

          thanks for your advise.
          I will stick to #3 setup.

          1 Reply Last reply Reply Quote 0
          • U
            unsichtbarre last edited by

            In the case of Scenario #3 (above), what do you specify as the OPT 1 gateway? Is it the DHCP assigned IP for WAN, the gateway for WAN?

            Thx-
            -J

            1 Reply Last reply Reply Quote 0
            • K
              kpa last edited by

              Nothing because the gateway address is only used when the interface is a WAN type interface, in scenario #3 it's a second LAN and no gateway address is needed.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense Plus
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy