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

Dhcp server 2 defrent interface

Scheduled Pinned Locked Moved General pfSense Questions
12 Posts 4 Posters 744 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.
  • T
    thebonden
    last edited by thebonden Feb 21, 2020, 6:01 PM Feb 21, 2020, 5:50 PM

    How to setup 2 dhcp server 1 on interface lan and 1 on interface opt2

    Wan to lan
    Wan to opt2

    I hav 3 ethernet port on computer i run pfsense

    F3155075-0C87-4EFD-91F5-2BA7B6C195A1.png

    9C2F9773-CE5B-4C22-9C4C-90D35DD2C783.png

    629DBA80-655E-4B18-A0B9-F1F16B006B68.png

    A4F0733C-F1F4-42AA-BB81-FBB472A55F58.png

    E2E02956-D370-4255-96D0-D949BA417B59.png

    8FF5EFEA-C8D5-4B40-A050-C7F3D2E9811B.png

    DB8F892E-6604-4469-A906-19E2F534E41E.png

    C2DDC067-E3BC-4386-903A-0FECB9302E58.png 1BD77DF5-FB6D-4894-9F32-14CA6AFBAF19.png A5CF0376-E611-46AD-8736-3F578B29E944.png

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by Feb 21, 2020, 6:23 PM

      you need to set static on OPT2 also with a different subnet
      if you have LAN on 192.168.0.1
      you put static ip 192.168.1.1 on OPT2 for example

      the dhcp server is configured under Services / DHCP server

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      T 1 Reply Last reply Feb 21, 2020, 6:35 PM Reply Quote 0
      • T
        thebonden @kiokoman
        last edited by thebonden Feb 21, 2020, 6:36 PM Feb 21, 2020, 6:35 PM

        @kiokoman

        Now i opt2 on statis 192.168.50.0 / 32
        And lan on static 192.168.0.0 / 16

        1 Reply Last reply Reply Quote 0
        • K
          kiokoman LAYER 8
          last edited by Feb 21, 2020, 7:12 PM

          you can't use /32 set it as /24 or you won't see the opt2 interface under Service / dhcp server

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          T 1 Reply Last reply Feb 21, 2020, 7:19 PM Reply Quote 0
          • T
            thebonden @kiokoman
            last edited by Feb 21, 2020, 7:19 PM

            @kiokoman

            DBF120DE-670D-46DC-B309-040D0A001A3F.png

            8783ED52-A0A1-47ED-AF93-EB63408FE7D7.png

            E9F246FA-3139-4C86-B7C3-7E1652E2A29A.png

            911618E6-DAFC-486B-824D-7225B89D4EC8.png

            1 Reply Last reply Reply Quote 0
            • K
              kiokoman LAYER 8
              last edited by Feb 21, 2020, 9:53 PM

              @kiokoman said in Dhcp server 2 defrent interface:
              you can't use /32 set it as /24 or you won't see the opt2 interface under Service / dhcp server
              you can't use /32 set it as /24 or you won't see the opt2 interface under Service / dhcp server
              you can't use /32 set it as /24 or you won't see the opt2 interface under Service / dhcp server

              Immagine.jpg

              didn't i say -> you can't use /32 set it as /24 or you won't see the opt2 interface under Service / dhcp server ?
              😁

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              T 1 Reply Last reply Feb 22, 2020, 11:41 AM Reply Quote 1
              • T
                thebonden @kiokoman
                last edited by Feb 22, 2020, 11:41 AM

                @kiokoman

                should it also be / 32 or / 24 on lan also as I have set opt2 to 192.168.50.0/32
                and my lan run 192.168.0.0/19

                1 Reply Last reply Reply Quote 0
                • K
                  kiokoman LAYER 8
                  last edited by kiokoman Feb 22, 2020, 11:47 AM Feb 22, 2020, 11:45 AM

                  use 24 everywhere and you will have no problems

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  T S 2 Replies Last reply Feb 22, 2020, 11:48 AM Reply Quote 1
                  • T
                    thebonden @kiokoman
                    last edited by Feb 22, 2020, 11:48 AM

                    @kiokoman
                    thanks I will try tendons when network is not being used

                    1 Reply Last reply Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by Feb 22, 2020, 12:21 PM

                      @thebonden said in Dhcp server 2 defrent interface:

                      and my lan run 192.168.0.0/19

                      Why in the world would you be using a /19?? Why?? Do you have some 8k devices on this network?

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator @kiokoman
                        last edited by Feb 22, 2020, 12:49 PM

                        @kiokoman said in Dhcp server 2 defrent interface:

                        use 24 everywhere and you will have no problems

                        This. 👆

                        Unless you have some good reason to use a subnet other than /24 then just use /24.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator
                          last edited by Feb 22, 2020, 12:59 PM

                          Wanting to use all of rfc1918 space because its available is not a good reason ;) for example..

                          I would really like to understand how you came to use /19 - is that your favorite number or something?

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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