From owner-freebsd-net@FreeBSD.ORG Wed Oct 28 15:00:51 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F4471065676 for ; Wed, 28 Oct 2009 15:00:51 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id E56928FC16 for ; Wed, 28 Oct 2009 15:00:50 +0000 (UTC) Received: by bwz5 with SMTP id 5so1105812bwz.3 for ; Wed, 28 Oct 2009 08:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+s5FSfuXbSW2cQk2TAOVKGjKKqHbcpj52WRnl4xl0jM=; b=ANX3XA/j8we0QLtTnDR6dvvpdUpeb1QzkYxb+AMRmy/IWveOajbl+IgzmVVLT/2pcg BRg80EFSjQMRRYaLTz3Q/vFW7wNcKbdL7Vc3QJH4lUAvQZhVal5oNoQx9ZxAfUjiXdu4 gEtwtmBqE45VEI0GCviGqm2Jh/njI70dQVOEo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ozYvGXBTqL+Lzux02zjoOPSxu3sjUIM9qQcOTQqKsUvvoumDjvnksJzx5LqhEvfTE3 DdxElnvamdv0lxm+2cWH/MpojT+4ibH1Z6w3c5horKmiPIY/YYOCPoUhn77AadrSyi92 pQCs9CJZKzjlH9ltDu+URtCpLvQSaWdr4x4Ic= MIME-Version: 1.0 Received: by 10.204.151.208 with SMTP id d16mr739175bkw.115.1256742049741; Wed, 28 Oct 2009 08:00:49 -0700 (PDT) In-Reply-To: <4AE852C1.8090103@keff.org> References: <4AE852C1.8090103@keff.org> Date: Wed, 28 Oct 2009 17:00:49 +0200 Message-ID: <9e20d71e0910280800q212d0235p8d7c7c4e07a8c9b6@mail.gmail.com> From: Artis Caune To: Sebastian Hyrwall Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: Hi. Regarding "automatic vlan creation" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 15:00:51 -0000 2009/10/28 Sebastian Hyrwall : > Hi > > Now that FreeBSD has support for writing =C2=A0, cloned_interfaces=3D"em0= .100" > instead of having to create for example a vlan0 and then specify vlandev = etc > in ifconfig. What is the correct ifconfig-line in rc.conf for this? > > ifconfig_em0.100=3D"" or ifconfig_em0_100=3D"" does not work. You probably forgot to put if_vlan_load=3D"YES" in /boot/loader.conf ifconfig_em0_100=3D"..." should work. --=20 Artis Caune Everything should be made as simple as possible, but not simpler.