X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.squbes.com (squbes.com [208.74.142.49]) by lists.alpinelinux.org (Postfix) with ESMTP id 75D2F17003B8C for ; Wed, 10 Dec 2008 14:24:45 +0000 (UTC) Received: from BigMac.private.net (pool-70-23-214-157.ny325.east.verizon.net [70.23.214.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nangel@nothome.org) by mail.squbes.com (Postfix) with ESMTPSA id E810C5000A016; Wed, 10 Dec 2008 14:24:44 +0000 (UTC) Message-ID: <493FD12C.7090305@nothome.org> Date: Wed, 10 Dec 2008 09:24:44 -0500 From: Nathan Angelacos User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Harry Lachanas CC: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Vlan support ?? References: <1228837062.24384.517.camel@nc> <493FB664.5090001@freemail.gr> In-Reply-To: <493FB664.5090001@freemail.gr> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Harry Lachanas wrote: > Any Vlan support included ??? absolutely > > if yes which package(s) I should apk_add ??? > vconfig is in busybox these days; or you can apk_add vconfig As far as setting up the vlans, I tend to use the /etc/network/interfaces file for all configuration of interfaces (bonding,vlans,bridges, etc) Example vlan config: /etc/modules 8021q /etc/network/interfaces -- the physical interface auto eth0 iface eth0 inet manual up ifup eth0.300 up ifup eth0.200 down ifdown eth0 300 down ifdown eth0 200 -- vlan 200 iface eth0.200 inet dhcp pre-up vconfig add eth0 200 hostname alpine-vlan-200 post-down vconfig rem $IFACE -- vlan 300 iface eth0.300 inet static pre-up vconfig add eth0 300 address 192.168.1.1 netmask 255.255.255.0 post-down vconfig rem $IFACE That lets you manage the vlans with an ifup/ifdown: ifup eth0 <- brings up all vlans ifdown eth0.200 <- takes down 200, but leaves up the 300 vlan iface HTH --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---