Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 11:24:44 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        Boris Kovalenko <boris@ntmk.ru>
Subject:   Re: [PATCH] 802.1p priority (fixed)
Message-ID:  <20050123192444.GA29225@odin.ac.hmc.edu>
In-Reply-To: <20050123112219.GJ36660@obiwan.tataz.chchile.org>
References:  <41F1E99A.5070001@ntmk.ru> <20050122152546.GG36660@obiwan.tataz.chchile.org> <20050122203347.GB4466@odin.ac.hmc.edu> <20050123112219.GJ36660@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 23, 2005 at 12:22:19PM +0100, Jeremie Le Hen wrote:
> > > Having the possibility to test and set the 802.1p or TOS values
> > > separately would avoid making a "trust"/"override" subtlety and will
> > > obviously make it more flexible.
> >=20
> > I agree on this point.  The one thing to be careful of is that 802.1p
> > priorities and TOS values work rather differently in that TOS values fit
> > in to an existing field of the packet and 802.1p values require
> > modifications to the header and adding data between the header and the
> > real body, possiably with a resuling reduction in MTU (though what
> > you're doing trying to use 802.1p priority with crappy nic I don't know
> > :-).
>=20
> I do not understand your point here.  TOS is indeed an existing field
> of the IPv4 header but AFAIK, this is the same for the 802.1p header [1].
> There are already 3 bits reserved for priority (802.1p) near the 802.1q
> field which are both inside what they call "Tag Control Information".

At the point you are examining layer 3 state, you either have already
stripped off the ethernet header or have not created it yet so you can't
just modify it.  At least according to what I've read, you may or may
not want to tag all traffic so if you strip the tags, you not want to
use a vlan tag on the packet.  You do have the actual storage the TOS
values will use since you have the IP header.  I'm basicly saying that
they aren't necessicairly as similar as you might think.  It might make
sense to modify the TOS bits directly in the firewall, but it is simply
not possiable to modify the 802.1p bits at that point because there's no
where to put them.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFB8/n7XY6L6fI4GtQRAkfkAJ0eJwF02IKcm+Rg+dIoObSTjAeREACfQ/jl
ySG7PtfBoVo4wjEjD6ZdWkM=
=kvSM
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050123192444.GA29225>