git: b908491411 - main - handbook/vnet jails: Bridge et al. must be up
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Mar 2025 14:04:40 UTC
The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/doc/commit/?id=b9084914111af48a9381cd21da17bf73593785ed commit b9084914111af48a9381cd21da17bf73593785ed Author: Alexander Ziaee <ziaee@FreeBSD.org> AuthorDate: 2025-03-03 14:03:00 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2025-03-03 14:03:08 +0000 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 --- documentation/content/en/books/handbook/jails/_index.adoc | 8 ++++++-- 1 file 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