docs: networking: clarify VNET

This commit is contained in:
tschettervictor
2025-11-24 16:06:56 -07:00
committed by GitHub
parent 7611f15d3b
commit 3c1a86ef82

View File

@@ -107,18 +107,18 @@ Bastille includes a number of IP options for IPv4 networking.
The IP address specified above can be any of the following options.
* An IP in your local subnet should be chosen if you create your jail using
``-V`` or ``-B`` (VNET jail). It is also preferable to add the subnet mask
(/24 or whaterver your subnet is) to the IP.
``-V``, ``-B`` or ``-P`` (VNET jail). It is also preferable to add the
subnet mask (/24 or whaterver your subnet is) to the IP.
* DHCP, SYNCDHCP, or 0.0.0.0 will configure your jail to use DHCP to obtain an
address from your router. This should only be used with ``-V`` and ``-B``.
address from your router. This should only be used with VNET jails.
* Any IP address inside the RFC1918 range if you are not using a VNET jail.
Bastille will automatically add this IP to the firewall table to allow
outbound access. It you want traffic to be forwarded into the jail, you can
use the ``bastille rdr`` command.
* Any IP in your local subnet without the ``-V`` or ``-B`` options will add the
* Any IP in your local subnet without any VNET options will add the
IP as an alias to the selected interface, which will simply end up sharing the
interface. If the IP is in your local subnet, you will not need the ``bastille
rdr`` command. Traffic will pass in and out just as in a VNET jail.
@@ -149,7 +149,7 @@ The IP address specified above can be any of the following options.
* A valid IPv6 address including the subnet.
* SLAAC will configure your jail to use router advertisement to obtain an
address from your router. This should only be used with ``-V`` and ``-B``.
address from your router. This should only be used with VNET jails.
Dual Stack Network
^^^^^^^^^^^^^^^^^^