## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

#### meta start
#### project Whonix
#### category networking
#### non_qubes_whonix_only yes
#### workstation_only yes
#### description
## network interfaces configuration eth0 to communicate with Whonix-Gateway
##
## static network configuration
##
## IP HARDCODED but not need to change since only comment.
#address 10.152.152.11
#netmask 255.255.192.0
#gateway 10.152.152.10
#### meta end

## for more information see interfaces(5)

## Loopback interface.
auto lo
iface lo inet loopback

## When using Virtual Machines (not Physical Isolation),
## - eth0 is an internal, isolated, virtual network
## - provided and only visible inside Virtual Machines
## - solely used to communicate with the Gateway
## - it has no access to the host.
## - Thus, the following IP address can NOT cause conflicts
##   with your LAN network or router.
auto eth0
iface eth0 inet static
       ## Increment last octet of address
       ## on optional additional workstations.
       ## IP HARDCODED unfortunately.
       address 10.152.152.11
       netmask 255.255.192.0
       gateway 10.152.152.10

       ## Out commented.
       ## For what do we require the network and broadcast
       ## instances anyway?
       #network 192.168.0.0
       #broadcast 192.168.0.255

## If we had a DHCP server running on Gateway's
## network interface eth1, we could alternatively use DHCP.
## It has not been researched yet, if that were safe, or if
## DHCP has in context of anonymity linux distributions any
## odd features, such as "tell me the IP of your upstream router".
#auto eth0
#iface eth0 inet dhcp

iface eth0 inet6 static
       address fd19:c33d:88bc::11
       gateway fd19:c33d:88bc::10
       netmask 96
