From owner-freebsd-net@freebsd.org Fri May 17 09:06:15 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C8B7158EEFB for ; Fri, 17 May 2019 09:06:15 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D995E6B24A for ; Fri, 17 May 2019 09:06:08 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x4H9603V039054; Fri, 17 May 2019 11:06:00 +0200 (CEST) Received: from [217.29.44.36] ([217.29.44.36]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x4H960Fv049404; Fri, 17 May 2019 11:06:00 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: VLANs for use with jails From: "Patrick M. Hausen" In-Reply-To: <409EF41B-FB07-4735-8405-01657C9797D9@debilux.org> Date: Fri, 17 May 2019 11:05:58 +0200 Cc: Artem Viklenko via freebsd-net Content-Transfer-Encoding: quoted-printable Message-Id: References: <2BE6B69D-FB37-49BA-AAA1-67531A4BE064@debilux.org> <409EF41B-FB07-4735-8405-01657C9797D9@debilux.org> To: Christian Baer X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: D995E6B24A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-2.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; URIBL_BLOCKED(0.00)[punkt.de.multi.uribl.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mailin.pluspunkthosting.de,mailin.pluspunkthosting.de]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[131.33.29.217.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.51)[-0.510,0]; IP_SCORE(-0.21)[ipnet: 217.29.32.0/20(-0.59), asn: 16188(-0.47), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2019 09:06:15 -0000 Hi! > Am 17.05.2019 um 10:58 schrieb Christian Baer : >=20 > Hi, > i still can=E2=80=99t get it to work. Two problems that I see: > ifconfig_igb0=3D"inet 10.0.3.11/24 -rxcsum -rxcsum6 -txcsum -txcsum6 = -lro -tso -vlanhwtso" > ifconfig_vlan30=3D"inet 10.0.3.12/24 vlan 30 vlandev igb1 description = LAN=E2=80=9C One does not simply use addresses in the same broadcast domain on two = interfaces. > # iocage create -n "vlantest" -r LATEST defaultrouter=3D"10.0.6.1" = vnet=3D"on" allow_raw_sockets=3D"1" boot=3D"on" = interfaces=3D"vnet0:vlan60" ip4_addr=3D"vnet0|10.0.6.13/24" >=20 > vlantest successfully created! > * Starting vlantest > + Started OK > + Using devfs_ruleset: 5 > + Configuring VNET FAILED Did you compile a custom kernel? This is mandatory to use VNET at least = on RELENG_11. Not sure about RELENG_12 and I=E2=80=99m quite busy now. Sorry - please = check yourself. Kind regards, 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