other:networking:opnsense:dhcponly
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | other:networking:opnsense:dhcponly [2020/03/14 02:45] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Stand-alone DHCP server ====== | ||
| + | ===== Discussion ===== | ||
| + | |||
| + | OPNSense is a full blown firewall/ | ||
| + | |||
| + | ===== How We did it ===== | ||
| + | To do this, we performed the following steps: | ||
| + | |||
| + | - Do basic OPNSense install | ||
| + | - Determine which interface is LAN (on protectli, highest mac address or em1) | ||
| + | - Determine which vlan for primary lan (primeVLAN in the following) | ||
| + | - Set up vlan' | ||
| + | - Set the IP Address for primeVLAN | ||
| + | - Set DHCP for primeVLAN | ||
| + | - You can ignore the other VLAN's as we'll do them from WebUI. | ||
| + | - set IP and dhcp on primeVLAN network | ||
| + | - connect via WebUI | ||
| + | - Edit interfaces | ||
| + | - Disable WAN interface | ||
| + | - Edit primeVLAN interface | ||
| + | - change IPv4 Upstream Gateway to main firewall IP | ||
| + | - Optional: Disable IPv6, etc... | ||
| + | - Add other vlan' | ||
| + | - Set IP address if not already done | ||
| + | - Set name if desired | ||
| + | - Create gateway | ||
| + | - edit dhcp server for each vlan | ||
| + | - Set up Unbound DNS | ||
| + | - Set for forwarding mode | ||
| + | - Serve LAN dhcp addresses | ||
| + | - Serve LAN static DHCP addresses | ||
| + | |||
| + | ===== Why ===== | ||
| + | |||
| + | Basically, our client had an existing network set up with Cisco hardware, including a firewall/ | ||
| + | |||
| + | However, the firewall had, at best, a basic DHCP/DNS server, at least as far as the IT people involved were able to determine. The original engineer was no longer available, so we were in a situation where we would need to hire a third party to do this, figure it out ourselves, or simply get a DHCP/DNS server to add to the network. The original setup had included a poorly engineered system using Webmin/ | ||
| + | |||
| + | The original engineer had over-designed the system with 5 VLAN' | ||
| + | |||
| + | ===== How ===== | ||
| + | |||
| + | We did a basic install of OPNSense on a Protectli FW2 firewall NUC. After installation, | ||
| + | |||
| + | At this point, we moved to the WebUI. The first task was to disable the WAN interface completely, then set the LAN primeVLAN interface to use the Cisco router as it's gateway. | ||
| + | |||
| + | We then created networks, | ||
| + | |||
| + | Finally, we went in and set up Unbound to serve as the DNS server for the all of the LAN networks. | ||
other/networking/opnsense/dhcponly.txt · Last modified: by 127.0.0.1
