X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from [10.252.6.112] (unknown [74.117.189.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nangel@nothome.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 9AAB0DC0FF4 for ; Wed, 21 Mar 2012 15:40:59 +0000 (UTC) Message-ID: <4F69F6AA.7010006@alpinelinux.org> Date: Wed, 21 Mar 2012 08:41:30 -0700 From: Nathan Angelacos User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] snapshot for 120316 References: <20120316182256.7217b654@alpinelinux.org> In-Reply-To: <20120316182256.7217b654@alpinelinux.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 03/16/2012 10:22 AM, Natanael Copa wrote: > Hi, > > I have pushed a new alpine edge snapshot. It contains the support for > bridges, bonding and vlan (and vde2) configuring directly > in /etc/network/interfaces script. > > > Please test. vlans and bridge tested - here's an example config: ... auto vlan161 iface vlan161 inet static vlan-raw-device eth0 address 192.168.1.10 netmask 255.255.255.224 # Synthesized interfaces auto br0 iface br0 inet dhcp pre-up ifup vlan65 hostname wifi bridge-ports vlan65 # vap0 is added by hostapd post-down ifdown vlan65 .... One small thing, in if-pre-up.d/vlan, line 19: *) [ -n "${IF_VLAN_ID}" -o -n "${IF_VLAN_RAW_DEVICE}" ] || exit 0 ;; That doesn't set NAME1 like the others. Even if it did, (NAME1=VLAN), ip still has problems finding the interface. I was trying somthing insane like iface foo inet dhcp vlan-raw-device eth0 vlan-id 161 hostname foo Not sure that should be allowed - if not, perhaps change line 19 to something like: *) echo "Interface name is not valid for vlan" ; exit 1;; --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---