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

DHCP relay issue

Scheduled Pinned Locked Moved DHCP and DNS
8 Posts 2 Posters 3.6k 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.
  • P
    pftest
    last edited by Dec 10, 2012, 6:25 PM

    Hey guys, im trying to set up a network here with the pfsense server working with my dhcp server that already exists. I already tried using the dhcp relay for my LAN but it didnt work. Initially it works well when i test with the default ip in LAN but when i enable the dhcp relay to get the ip from my dhcp server it stops working.

    Something like that:

    Internet -> DHCP Server -> Pfsense Server -> Switch …

    There is any additional changes that i gotta do instead of only enable the dhcp relay on pfsense?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Dec 10, 2012, 6:36 PM

      So your dhcp server is on the wan side of your pfsense?  Normally you would use the dhcp relay to relay from multiple segments on your lan side to use dhcp server on one of your lan segments.  If on wan side I would assume your natting, this could be an issue.

      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.8, 24.11

      1 Reply Last reply Reply Quote 0
      • P
        pftest
        last edited by Dec 10, 2012, 6:47 PM

        @johnpoz:

        So your dhcp server is on the wan side of your pfsense?  Normally you would use the dhcp relay to relay from multiple segments on your lan side to use dhcp server on one of your lan segments.  If on wan side I would assume your natting, this could be an issue.

        Thanks for reply.

        Yes, its on the wan side of pfsense server, is it an issue? I mean, there is any way to set up that natting im suggesting?

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Dec 10, 2012, 7:02 PM

          Well yeah, I can't think of why you would ever set it up like that to be honest.  By default pfsense would be natting traffic from lan to wan.  Did you turn off natting and just using as firewall and router?

          What are you wanting to accomplish with pfsense in your setup, if your networks dchp server is on the wan side of pfsense?

          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.8, 24.11

          1 Reply Last reply Reply Quote 0
          • P
            pftest
            last edited by Dec 10, 2012, 8:16 PM

            Well thanks again, im quite new on it but this topology that i showed is the one i thought would work  :P

            What would u suggest for me? The main point is having my dhcp server working with pfsense server, cuz right now my network has this dhcp server working fine, i just want to insert pfsense server to control the internet access with captive portal.

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Dec 10, 2012, 8:41 PM

              well then your connection should be like this

              internet – pfsense -- switch -- all other devices including your dhcp server.

              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.8, 24.11

              1 Reply Last reply Reply Quote 0
              • P
                pftest
                last edited by Dec 10, 2012, 9:09 PM

                I see.. so the internet will be on wan side of pfsense? Ill do the tests and let u know the results.

                i was a bit confused about the topology cuz i have my dhcp server combined with dns.

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Dec 10, 2012, 9:15 PM

                  Does your dhcp server also do NAT for your network, or route your other devices that are on public IPs?

                  pfsense is designed to be your networks gateway/firewall to the internet.  It can be used as just an internal router/bridge/firewall - but by default its going to expect your internet to be on its WAN, and then NAT all your devices to your public IP behind it.

                  I am guessing your dhcp and if it does dns that is maybe a AD DC?  If so it should be behind your gateway/firewall - and you can just have it forward its external dns to pfsense, or outside for public dns.  And all your internal clients would still use it for your internal AD dns, etc.

                  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.8, 24.11

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