Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 11:51:54 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        "J. Buck Caldwell" <freebsd@bitparts.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: ALTQ on GIF tunnels?
Message-ID:  <20060119085154.GB83922@cell.sick.ru>
In-Reply-To: <43CED0F0.3010704@bitparts.org>
References:  <43CC8532.6080404@bitparts.org> <20060118122540.GO83922@FreeBSD.org> <43CED0F0.3010704@bitparts.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 18, 2006 at 05:36:16PM -0600, J. Buck Caldwell wrote:
J> Gleb Smirnoff wrote:
J> >On Mon, Jan 16, 2006 at 11:48:34PM -0600, J. Buck Caldwell wrote:
J> >J> Is there any work on adding support for ALTQ to the GIF tunnel 
J> >J> interface? I'm having wonderful results getting ALTQ working on normal 
J> >J> interfaces, but it would be heavenly to prioritize the traffic inside 
J> >J> the tunnels.
J> >
J> >You can (and probably should) enable ALTQ on the physical interface
J> >that gif(4) runnels use for encapsulated packets.
J> >  
J> Yes, but that doesn't do any good for the packets traveling inside the 
J> tunnel. Specifically, I have a corporate network hooked to a branch via 
J> VPN, and want to prioritize not just the tunnel over ordinary traffic, 
J> but prioritize different types of traffic inside the tunnel.

You tag packets with ALTQ identifier in ipfw/pf, and this identifier
isn't lost after packet is encapsulated. So, when going out the physical
interface the packet will be queued according to the ALTQ policy you
have specified.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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