Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 17:32:42 +0200
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        Rudy <crapsh@monkeybrains.net>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: VLAN not working - jails, bridges, and VLANs
Message-ID:  <B1E10302-6323-41D0-BD99-5129CD8B054E@punkt.de>
In-Reply-To: <156f55a9-9a0b-f2e8-f542-1933f6dc229a@monkeybrains.net>
References:  <156f55a9-9a0b-f2e8-f542-1933f6dc229a@monkeybrains.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all,

> Am 16.07.2023 um 05:54 schrieb Rudy <crapsh@monkeybrains.net>:
> Kernel: FreeBSD 13.1-RELEASE-p8 GENERIC amd64
> Issue: vlan traffic not in the jail

To connect a VNET jail to a VLAN you

- create the VLAN on top of a physical interface or lagg
- create a bridge interface with that VLAN as a member interface
- if the host needs IP connectivity in that VLAN assign IP addresses to =
the bridge and not to the VLAN
- connect the jail to that bridge

One bridge per VLAN. Running in production with about 1000 jails, here.

HTH,
Patrick
--=20
punkt.de GmbH
Patrick M. Hausen
.infrastructure

Sophienstr. 187
76185 Karlsruhe

Tel. +49 721 9109500

https://infrastructure.punkt.de
info@punkt.de

AG Mannheim 108285
Gesch=C3=A4ftsf=C3=BChrer: Daniel Lienert, Fabian Stein




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1E10302-6323-41D0-BD99-5129CD8B054E>