diff options
author | Alexander Ziaee <ziaee@FreeBSD.org> | 2025-03-03 14:03:00 +0000 |
---|---|---|
committer | Alexander Ziaee <ziaee@FreeBSD.org> | 2025-03-03 14:03:08 +0000 |
commit | b9084914111af48a9381cd21da17bf73593785ed (patch) | |
tree | e28b9fe3844b08b515542315c734e7b59d242e48 | |
parent | 57021008b0c6fc8c9ede59ff48976393d31a4a82 (diff) |
handbook/vnet jails: Bridge et al. must be up
Reported by: Quen Jankosky on Community Discord
Approved by: carlavilla (mentor)
Differential Revision: https://reviews.freebsd.org/D49209
-rw-r--r-- | documentation/content/en/books/handbook/jails/_index.adoc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/documentation/content/en/books/handbook/jails/_index.adoc b/documentation/content/en/books/handbook/jails/_index.adoc index f0fdcac50c..94647932f2 100644 --- a/documentation/content/en/books/handbook/jails/_index.adoc +++ b/documentation/content/en/books/handbook/jails/_index.adoc @@ -700,11 +700,12 @@ The output should be similar to the following: bridge0 .... -With the `bridge` created, it will be necessary to attach it to the `em0` interface by executing the following command: +With the `bridge` created, it will be necessary to attach it to the `em0` interface and bring both of them up by executing the following commands: [source,shell] .... -# ifconfig bridge0 addm em0 +# ifconfig bridge0 addm em0 up +# ifconfig em0 up .... To make this setting persist across reboots, add the following lines to [.filename]#/etc/rc.conf#: @@ -714,8 +715,11 @@ To make this setting persist across reboots, add the following lines to [.filena defaultrouter="192.168.1.1" cloned_interfaces="bridge0" ifconfig_bridge0="inet 192.168.1.150/24 addm em0 up" +ifconfig_em0="up" .... +For more information on bridging, see crossref:advanced-networking[network-bridging, Network Bridging]. + The next step is to create the jail as indicated above. Either the crossref:jails[classic-jail, Classic Jail (Thick Jail)] procedure and the |