Re: ALTQ on GIF tunnels?

2006-01-19 Thread Gleb Smirnoff
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ALTQ on GIF tunnels?

2006-01-18 Thread J. Buck Caldwell

Gleb Smirnoff wrote:

On Mon, Jan 16, 2006 at 11:48:34PM -0600, J. Buck Caldwell wrote:
J> Is there any work on adding support for ALTQ to the GIF tunnel 
J> interface? I'm having wonderful results getting ALTQ working on normal 
J> interfaces, but it would be heavenly to prioritize the traffic inside 
J> the tunnels.


You can (and probably should) enable ALTQ on the physical interface
that gif(4) runnels use for encapsulated packets.

  
Yes, but that doesn't do any good for the packets traveling inside the 
tunnel. Specifically, I have a corporate network hooked to a branch via 
VPN, and want to prioritize not just the tunnel over ordinary traffic, 
but prioritize different types of traffic inside the tunnel.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ALTQ on GIF tunnels?

2006-01-18 Thread Gleb Smirnoff
On Mon, Jan 16, 2006 at 11:48:34PM -0600, J. Buck Caldwell wrote:
J> Is there any work on adding support for ALTQ to the GIF tunnel 
J> interface? I'm having wonderful results getting ALTQ working on normal 
J> interfaces, but it would be heavenly to prioritize the traffic inside 
J> the tunnels.

You can (and probably should) enable ALTQ on the physical interface
that gif(4) runnels use for encapsulated packets.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ALTQ on GIF tunnels?

2006-01-16 Thread J. Buck Caldwell
Is there any work on adding support for ALTQ to the GIF tunnel 
interface? I'm having wonderful results getting ALTQ working on normal 
interfaces, but it would be heavenly to prioritize the traffic inside 
the tunnels.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"