One network card, two IP address

WhiteTiger

Explorer
Joined
Jan 2, 2014
Messages
86
TrueNAS has a single network card assigned in DHCP with IP address 192.168.111.11.
On this card I need a second IP address, 192.168.112.11.

I would like to know how and if the first address can still be assigned from DHCP or if it has to become a static IP address.

Thanks in advance
 

louisk

Patron
Joined
Aug 10, 2011
Messages
441
What is the problem you’re trying to solve?

Best practice is to not have more than 1 prefix per broadcast domain. Ideally you would use either VLANs or routing to get the traffic where you need it.
 

WhiteTiger

Explorer
Joined
Jan 2, 2014
Messages
86
This is a temporary need because the NAS is in the DMZ of a network, but I have a couple of Windows PCs in a parallel network momentarily active on the same switch.
For a job that will last at most a few days, I prefer to make the NAS visible to this network without modifying the firewall or to configure a VLAN.
Also I have to do everything remotely, so I can't even move cables in the switch and, obviously, I can't change the main IP because otherwise I would lose access to the NAS.
 

louisk

Patron
Joined
Aug 10, 2011
Messages
441
For a job of a couple days, the easiest thing is probably to put 2 static IPs on it and then go back to dhcp when you’re done
 
Top