Commit 724b07d4 authored by Lorenzo Bivens's avatar Lorenzo Bivens Committed by GitHub

Include snippet about vnet

Added snippet about vnet and kernel recompilation
parent 40cb1893
......@@ -35,8 +35,29 @@ ifconfig_bridge0="addm em0"
### vnet
vnet needs to be enabled in the kerne.
In order to have vnet enabled in the kernel, you will probably need to build a new one.
If you have installed the src distribution, the following steps provide a suggested method to rebuild the kernel with new options.
```
cd /usr/src/sys/amd64/conf
cat > FIFOKERNEL <<EOL
include GENERIC
ident FIFOKERNEL
nooptions SCTP # Stream Control Transmission Protocol
options VIMAGE # VNET/Vimage support
options RACCT # Resource containers
options RCTL # same as above
EOL
cd /usr/src
make -j4 buildkernel KERNCONF=FIFOKERNEL
make -j4 installkernel KERNCONF=FIFOKERNEL
reboot
```
It is also possible to compile a kernel from the current development branch. For that and more, please consult the FreeBSD Handbook.
### rctrl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment