From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Kierdelewicz Date: Tue, 05 Dec 2006 15:31:21 +0000 Subject: Re: [LARTC] Traffic control on a single interface Message-Id: <20061205163121.731bec07@localhost> List-Id: References: <45758805.1030901@inqone.com> In-Reply-To: <45758805.1030901@inqone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lartc@vger.kernel.org Hi there, > > It there a good way to achieve these goals given that the router > only has one NIC in it? Connect the NIC to managed L2 switch. Configure connection as a trunk carrying some vlans. Configure remaining L2 switch ports as untagged and assign them do appropriate vlans. Functionally you'll have Linux router with more NICs (groups of untagged switch ports will be equivalent to one linux NIC). On linux system you'll have separate interfaces like eth0.1 eth0.2 and so on. This can significantly ease task of shaping and routing your traffic the way you want it. Another option is using IFB/IMQ for shaping traffic, but such setup won't be too straightforward and bug-prune. pozdrawiam -- Marek Kierdelewicz Kierownik Działu Systemów Sieciowych, KoBa Network Department Manager, KoBa tel. (85) 7406466; fax. (85) 7406467 e-mail: admin@koba.pl _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc