Static IP address and Container Station

I have network which is managed by Unifi UCG Max. It acts as an DHCP server. There are several networks specified in config and assigned per each port.
Lets say:

  • 192.168.21.0/24 - Unifi devices
  • 192.168.33.0/24 - servers
  • 192.168.44.0/24 - trusted

I have QNAP TS-453E which is in this network (connected by eth0) and should have static IP address from one of networks (192.168.33.0/24 - servers) supported by UCG Max.
On QNAP TS-453E there is a container station with several containers.
One container is PiHole which acts as a DNS server and should belong to 192.168.33.0/24 - servers network
Other containers should belong to 192.168.44.0/24 - trusted network.

  1. Is it possible to configure somehow?
    1.1. If not, is it possible to have at least everything (QNAP and all conteiners belong to 192.168.33.0/24 - servers network)?
  2. How to do this? It’s not possible to specify static IP for eth0, as it is in use. Should I use it as DHCP and specify fixed IP by UCG?
  3. What about bridges (which are used in container station)? How to configure them?
  4. How to make these changes permanent, so they will not lost after restart / firmware upgrade?
  5. Currently I have access only to NAS command line, not UI, as there is some conflict with network configuration on it. I can try to execute any command.

Yes. All very straightforward in container station.

First of all, you will likely need to use multiple network adapters on your QNAP. That’s really the cleanest. First, in Container Station, you set up the NIC to be in Bridge Mode.

Then in Network and Virtual Switch first set the IP for the adapter you want to use for PiHole to 192.168.33.0/24. Then you can assign what devices on the virtual switch you want assigned to that NIC.

Now, if you don’t have enough NICs in the NAS, I’m sure that NVS will allow you to route traffic between the different subnets but that really is more of a job for the router.

Does this help?

1 Like