X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.nor.wtbts.net (180.224.189.109.customer.cdi.no [109.189.224.180]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id E055FDC11A7 for ; Fri, 9 Mar 2012 10:43:14 +0000 (UTC) Date: Fri, 9 Mar 2012 11:43:11 +0100 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] configuring bonding and vlans Message-ID: <20120309114311.4423eff8@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, Yesterday I spent a couple of hours to only configure bonding and vlan tagging on a box and realized, it is way to difficult and its very easy to do minor mistakes causing network not to start up at boot. So I have now copied the pre-up scripts from debian and done some adjustments for making it work with busybox. This means that you now can configure bond interfaces like: iface bond0 inet static bond-slaves eth0 eth1 address 192.168.0.1 netmask 255.255.255.0 And it will "just work". Same with vlans. Just add: iface bond0.64 inet static address 192.168.64.2 netmask 255.255.255.0 or: iface vlan64 inet static address 192.168.64.2 netmask 255.255.255.0 vlan-raw-device bon0 Currently you'll need add the packages vlan and bonding from edge/testing, but I am considering add this functionality to alpine-baslayout. It is only a handful scripts that takes very little space. Meanwhile, please test it from the bridge-utils and vlan packages. I'll have a look on bridges too while i'm here... Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---