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

    Add dhcp, pppoe and DNS

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.0k 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.
    • A
      atux_null
      last edited by atux_null

      Hi. I am looking to implement a lab for testing purposes, which is not connected to the internet. I have a pc with 2 network cards, where 1 needs to be WAN and 2 as LAN.
      For the WAN part whichever router attaches will do a pppoe (v4 and/or v6) and it will connect with certain credentials to pfsense.
      For the LAN part it will be in the range 192.168.2.0/24 and some servers will be there, mainly crm and voice. In the LAN there will be a fake IPv6 public subnet.
      Also DNS for a fake domain will be on the PC, eg blahblah.com. Where sip.blahblah.com will be 192.168.2.10, crm.blahblah.com will be on 192.168.2.11 and so on. Also the servers will serve on the fake public IPv6 subnet.
      I would like to create a few credentials for pppoe where some will serve only IPv4, others as IPv6 and some other as IPv4 and IPv6.
      Up to now i managed to set the PC with pfsense and have one ethernet as WAN and the other as LAN. No idea on how to proceed with the rest of the project and i would appreciate any guidance available on this project please.

      1 Reply Last reply Reply Quote 0
      • T
        tim.mcmanus
        last edited by

        Good starting point:

        pfSense Manual
        https://docs.netgate.com/manuals/pfsense/en/latest/the-pfsense-book.pdf

        1 Reply Last reply Reply Quote 0
        • A
          atux_null
          last edited by

          Hi. Thanks for the reply. I have seen this guide and trying to go through to find my answer. Looking the wan part where everyone will attach to it and by using a pppoe username/passwd will get connected to pfsense and get IP (v4 and/or v6). This is my first blocking point.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            So you want to run the PPPoE server on pfSense and have other clients connect to it?

            https://docs.netgate.com/pfsense/en/latest/book/services/pppoe-server.html

            Steve

            1 Reply Last reply Reply Quote 0
            • A
              atux_null
              last edited by

              I have the system:
              -WAN em0 with IP 192.168.1.181/24
              -LAN em1 with IP 192.168.2.22/24
              Here are print screens of the pppoe server setup.
              alt text
              alt text

              I would like like all the pppoe routers to connect through a switch to WAN and get IP from the range 10.10.10.0/24
              Apart from creating the users at the bottom of the screen with username/passwd, what else do i need to make it work please?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by stephenw10

                You haven't added the address range or server address to the PPPoE server config.

                I'm not sure I've ever tried running it on a numbered interface, certainly not WAN. You might need firewall rules to allow the traffic in. Though I don't see any required on my test box here to allow the PPPoE traffic you will need them on the PPPoE server interface to allow traffic inside the connections.

                Steve

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