Date: Tue, 14 May 2019 09:01:06 +0200 From: "Patrick M. Hausen" <hausen@punkt.de> To: Christian Baer <chris@debilux.org> Cc: Artem Viklenko via freebsd-net <freebsd-net@freebsd.org> Subject: Re: VLANs for use with jails Message-ID: <F8CB82FD-E6E1-4FA5-8F26-2DF5F31F9C1D@punkt.de> In-Reply-To: <2BE6B69D-FB37-49BA-AAA1-67531A4BE064@debilux.org> References: <2BE6B69D-FB37-49BA-AAA1-67531A4BE064@debilux.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Not tested, minor typos possible ... > Am 10.05.2019 um 23:02 schrieb Christian Baer <chris@debilux.org>: > ifconfig_igb1=3D"inet 10.0.3.12/24 -rxcsum -rxcsum6 -txcsum -txcsum6 = -lro -tso -vlanhwtso" > ifconfig_igb1_ipv6=3D"inet6 accept_rtadv -lro -tso=E2=80=9C=20 > [...] > What's the proper way to set up igb1 to be untagged (and so be in the = management vlan) and create the different VLANs on it and use it with = the jails? On of the VLANs should also be in the management VLAN (to = move my Unifi controller from a Pi to a jail). ifconfig_igb1=3D=E2=80=9Cup -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso = -vlanhwtso=E2=80=9C cloned_interfaces=3D"vlan3 vlan4=E2=80=9C ifconfig_vlan3=3D"inet 10.0.3.12/24 vlan 3 vlandev igb1=E2=80=9C ifconfig_vlan4=3D"inet 10.0.4.12/24 vlan 4 vlandev igb1=E2=80=9C iocage set vlan3jail interfaces=3D"vnet0:vlan3" iocage set vlan3jail ip4_addr=3D"vnet0|10.0.3.13/24" iocage set vlan4jail interfaces=3D"vnet0:vlan4" iocage set vlan4jail ip4_addr=3D"vnet0|10.0.4.13/24" HTH, Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8CB82FD-E6E1-4FA5-8F26-2DF5F31F9C1D>