From owner-freebsd-stable@FreeBSD.ORG Fri Dec 9 15:37:21 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A7D7106566B for ; Fri, 9 Dec 2011 15:37:21 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9D5B88FC14 for ; Fri, 9 Dec 2011 15:37:20 +0000 (UTC) Received: by lahl5 with SMTP id l5so746950lah.13 for ; Fri, 09 Dec 2011 07:37:19 -0800 (PST) Received: by 10.152.105.132 with SMTP id gm4mr5051326lab.39.1323443152687; Fri, 09 Dec 2011 07:05:52 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id ng10sm7945787lab.13.2011.12.09.07.05.51 (version=SSLv3 cipher=OTHER); Fri, 09 Dec 2011 07:05:51 -0800 (PST) Message-ID: <4EE223CD.2020709@my.gd> Date: Fri, 09 Dec 2011 16:05:49 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <201112090913.CAA03333@lariat.net> In-Reply-To: <201112090913.CAA03333@lariat.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Two problems still present in RC3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:37:21 -0000 On 12/9/11 10:13 AM, Brett Glass wrote: > FreeBSD 9.0-RC3 is looking good, but I'm still encountering two problems. > > Firstly, when I try to configure VLANs in /etc/rc.conf, I'm getting > errors. For example, if I use > > vlans_re0="1 2" > ip_addrs_re0_1="192.168.0.1-4/16" > ip_addrs_re0_2="10.0.0.0/24" > > to create two VLANs on the interface re0, I get error messages saying > that "create" commands (presumably using ifconfig) have failed. The > interfaces SEEM to be configured correctly, but the messages -- which > must be coming from scripts called by /etc/netstart -- are troubling. > > Secondly, there's still some strangeness in the sc terminal emulation. > When I run jove, the status line at the bottom of the screen isn't > entirely in reverse video as it should be. Only parts of it are, and the > highlighting changes -- seemingly at random -- as I work. > > Neither of these is likely to be a showstopper (so long as the first > won't cause me networking problems I haven't observed yet), but both are > probably worth looking into. > I have never seen this way of configuring VLANs. Find below how I set them up on our firewalls, which works like a charm, but on 8.2. You may still want to give it a try on 9.0RC3, that might solve your problem. ### NETWORKING # Configure link aggregation ifconfig_bce0="up" ifconfig_bce1="up" ifconfig_em0="up" ifconfig_lagg0="laggproto failover laggport bce0 laggport bce1 laggport em0" cloned_interfaces="lagg0 vlan14 vlan24 vlan34 carp14 carp24 carp34" # VLAN14 - WAN ifconfig_vlan14="inet [snip] vlan 14 vlandev lagg0 up" # VLAN24 - DMZ ifconfig_vlan24="inet 192.168.24.252/24 vlan 24 vlandev lagg0 up" # VLAN34 - LAN ifconfig_vlan34="inet 192.168.34.252/24 vlan 34 vlandev lagg0 up" # VLAN 611 - VPNs ifconfig_vlan611="inet 10.106.11.252/24 vlan 611 vlandev lagg0 up"