Multiple Whonix-Workstations Settings

Hello everyone.
I wanna use 1 Whonix-Gateway and 2 or 3 Workstation(Ubuntu with virtualbox) at same time.

I read official guide about Multiple Whonix-Workstations

But I can’t understand about below describe.
Because my Ubuntu don’t have such file as /etc/network/interfaces.d/30_non-qubes-whonix.

(2). In Whonix-Workstation. Open /etc/network/interfaces.d/30_non-qubes-whonix in an editor with root rights.
(3). In Whonix-Workstation’s /etc/network/interfaces.d/30_non-qubes-whonix: And change the last octet. E.g. 10.152.152.11 to 10.152.152.12.

Multiple Whonix-Workstation ™

I can’t understand that but I configure my VM Ubuntu network settings as below.

Ubuntu workstation 1

/etc/network/interfaces
==========================
# The loopback network interface, leave as it is
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
# increment last octet on additional workstations
address 10.152.152.50
netmask 255.255.192.0
#network 192.168.0.0
#broadcast 192.168.0.255
gateway 10.152.152.10
==========================

/etc/resolv.conf
==========================
nameserver 10.152.152.10
==========================

Ubuntu workstation 2
(just change gateway and nameserver as 10.152.152.10 > 10.152.152.11)

/etc/network/interfaces
==========================
# The loopback network interface, leave as it is
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
# increment last octet on additional workstations
address 10.152.152.51
netmask 255.255.192.0
#network 192.168.0.0
#broadcast 192.168.0.255
gateway 10.152.152.11
==========================

/etc/resolv.conf
==========================
nameserver 10.152.152.11
==========================

Ubuntu workstation 3
(just change gateway and nameserver as 10.152.152.10 > 10.152.152.12)

/etc/network/interfaces
==========================
# The loopback network interface, leave as it is
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
# increment last octet on additional workstations
address 10.152.152.52
netmask 255.255.192.0
#network 192.168.0.0
#broadcast 192.168.0.255
gateway 10.152.152.12
==========================

/etc/resolv.conf
==========================
nameserver 10.152.152.12
==========================

Are These Correct?

Hi @anon9

The instructions you are using are for default Whonix-Workstation (the one you download) and for Whonix-Workstations that are compiled from source. In other word not for Ubuntu. This is stated at the beginning of Multiple Whonix-Workstations#Non-Qubes-Whonix

Also in the instructions:

If you want to use other operating systems, such as Windows, other Linux, BSD etc. please see the Other Operating Systems article instead .

Thank you very much for your helpful comment.
So, for example, below are correct?

Workstation 0(Ubuntu) - IP 10.152.152.50
Workstation 1(Ubuntu) - IP 10.152.152.51
Workstation 2(Ubuntu) - IP 10.152.152.52
Workstation 3(Ubuntu) - IP 10.152.152.53
Workstation X(Ubuntu) - IP 10.152.152.50 + X
(DNS, gateway, netmask are no need to change.)

Thanks for your kindfull comment. @0brand
I read that article, but there are no instructions about multiple use.
If I wanna use multiple VM Ubuntu as workstations, what should I do?

Hi @anon9

If you go to Other Operating systems , scroll down to Whonix-GNU/Linux-WorkstationNon-Qubes-Whonix → “Click” Expand on the right.

You will see Configure networkNon-Qubes-Whonix

I believe this will show the files to use for network configuration instead of:

/etc/network/interfaces.d/30_non-qubes-whonix.

Thanks @0brand
Oh! I thinked below article settings is about only separate use.(1 gateway 1 workstation same time)
(I mean I thinked 1 gateway 2 workstation at same time NOT OK by these settings)

But now, thanks to you, I understand this settings also work well for same time multiple use.
Thanks.

Configure network.
#increment last octet of IP address on additional workstations
IP address 10.152.152.50
Subnet netmask 255.255.192.0
Default gateway 10.152.152.10
Preferred DNS server 10.152.152.10