Add dhcp, pppoe and DNS
-
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. -
Good starting point:
pfSense Manual
https://docs.netgate.com/manuals/pfsense/en/latest/the-pfsense-book.pdf -
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.
-
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
-
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.
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? -
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