From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 17:49:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0D5D106567B for ; Tue, 3 Jan 2012 17:49:33 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B9A1C8FC19 for ; Tue, 3 Jan 2012 17:49:33 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so19010956obb.13 for ; Tue, 03 Jan 2012 09:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=knxktRPJ4ZatLCXUUMWli1QmCOWK9G1ItX2a4moGLvA=; b=YhqhOi0qp1+fJ6UXciDBUkCKOnY9oyqxiZ901RRbJaENkW+a3b99o/FvmwGAAMEWs0 pJiDFRIzQ0IpKxTvSfZ/ZBosyIgQkNymi+QWOXpoB8XSUqtL85ivVTmqrcear4BgUZTx 4Rqa0RLJitjUFhfg5oqMnphiK/BZ6xIRDxS78= MIME-Version: 1.0 Received: by 10.182.1.8 with SMTP id 8mr45288739obi.11.1325612973115; Tue, 03 Jan 2012 09:49:33 -0800 (PST) Received: by 10.182.152.6 with HTTP; Tue, 3 Jan 2012 09:49:33 -0800 (PST) In-Reply-To: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> References: <047901ccc9c5$15395180$3fabf480$@fisglobal.com> <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> Date: Tue, 3 Jan 2012 09:49:33 -0800 Message-ID: From: Garrett Cooper To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Dave Robison , Devin Teske , Mohacsi Janos Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 17:49:34 -0000 On Tue, Jan 3, 2012 at 8:23 AM, Devin Teske wro= te: >> -----Original Message----- >> From: Mohacsi Janos [mailto:mohacsi@niif.hu] >> Sent: Tuesday, January 03, 2012 3:59 AM >> To: Devin Teske >> Cc: freebsd-hackers@freebsd.org; Dave Robison; Devin Teske >> Subject: Re: [ANN] host-setup 4.0 released >> >> Hi Devin, >> =A0 =A0 =A0 I had a look at the code. It is very nice, > > Thank you. > > >> however there are same missing >> elements: >> =A0 =A0 =A0 - IPv6 support > > Open to suggestions. > > Maybe adding a "ipaddr6" below "ipaddr" in the interface configuration me= nu. > > Also, do you happen to know what the RFC number is for IPv6 address forma= t? I > need to know all the special "features" (for example, I know you can spec= ify > "::1" for localhost, but can you simply omit octets at-will? e.g., ::ff:1= 2:00::: > ?) > > >> =A0 =A0 =A0 - VLAN tagging support - creation/deleting > > How is that done these days? and how might we present it in the user inte= rface? http://www.cyberciti.biz/faq/howto-configure-freebsd-vlans-with-ifconfi= g-command/ Adding a means to create lagged interfaces might be a good idea, but that's also more complicated than setting up a vlan interface. The problem from a user perspective with how we present vlans in FreeBSD is that it isn't tied directly to an interface, so it's confusing for newbies when they're trying to grok how vlans work. In general you have a couple properties to make the user aware of: 1. My parent interface. 2. My vlan tag. 3. Other good stuff like MTU, HW Filters (which I've never used), HW TSO, etc. MTU is also kind of tricky because you can set a vlan interface's MTU to something greater than the MTU of the lower interface and things won't fail properly IIRC (or maybe that was just a bug in FreeNAS.. I forget). Cheers, -Garrett