OPNsense Forum

English Forums => General Discussion => Topic started by: skyjam on February 22, 2022, 11:49:56 am

Title: implement new network setup, DHCP WAN address with additional static subnet
Post by: skyjam on February 22, 2022, 11:49:56 am
Hi there

I need to setup an additional site and I have the following requirements:

I get a static range /29, (i.e. 55.66.77.88) whereas:

How do I need to setup opnSense to use this subnet with a private LAN subnet and NAT routing?
I guess the WAN is simply DHCP.
Do I need to add Virtual IPs fot the static subnet?

Thanks for your hints!
Title: Re: implement new network setup, DHCP WAN address with additional static subnet
Post by: HappyOpnSense on February 24, 2022, 02:45:34 pm
This already assumes that a subrange like /30 or /29 can be assigned using DHCP. Is that supported by DHCP in the first place ?
Title: Re: implement new network setup, DHCP WAN address with additional static subnet
Post by: skyjam on February 25, 2022, 05:25:24 pm
This already assumes that a subrange like /30 or /29 can be assigned using DHCP. Is that supported by DHCP in the first place ?
No, the subnet will not be assigned using DHCP. Only the IP address of the router will be assigned. This IP is not part of the subnet!

It is like this:
Code: [Select]
     WAN / Internet
            |
            |  Cable-Provider
            |
      .-----+-------.
      |  HFC Modem  |  (Bridge)
      '-----+-------'
            |
            |  WAN
            |
      .-----+------.   <--- IP assigned by ISP/DHCP
      |  Router    |
      '-----+------'
            |
            |  Public IP subnet (/29)
            |
      .-----+----.
      | opnSense |
      '-----+----'

I want to combine the router and the opnSense in one...