Re: gif4) & AltQ

From: Eric Masson (e-masson_at_kisoft-services.com)
Date: 11/23/04

  • Next message: Michael Vince: "FAST_IPSEC vs IPSEC performanc"
    To: Max Laier <max@love2party.net>
    Date: Tue, 23 Nov 2004 09:58:05 +0100
    
    

    >>>>> "Max" == Max Laier <max@love2party.net> writes:

    Hello Max,

     Max> Very true. It's more worthwhile to classify on gif and queue on
     Max> the real interface.

    How would you achieve this setup ?

    I can only think about this way (assuming gif0 tunnel packets flow thru
    ep1) :

    ext_if="ep1"
    tunnel_if=gif0"

    altq on $ext_if bandwidth 2Mb cbq queue { dflt, developers, marketing }
    queue dflt bandwidth 5% cbq(default)
    queue developers bandwidth 80%
    queue marketing bandwidth 15%

    pass out on $tunnel_if from 192.168.0.0/24 to any keep state queue developers
    pass out on $tunnel_if from 192.168.1.0/24 to any keep state queue marketing

    But in this setup classification is made on unencapsuled packet, and
    shaping is done on encapsulated packet. Does this mean that the mbuf tag
    set by classification rules survives the gif encapsulation process ?

     Max> Queueing on gif will only work in rate-limiting mode.

    Ok.

     Max> That's true as well. Take a look at the patches on:
     Max> http://people.freebsd.org/~mlaier/ALTQ_driver/ and the altq(9)
     Max> manpage to learn how to modify a driver. It's more or less looking
     Max> for if_snd and modifying it according to the rules in altq(9).

    I'll have a look.

     Max> Not sure how *exactly* gif(4) works, but I'll put it on my list
     Max> (just not a high priority, right now).

    Ok, thanks to you and Brooks for explanations.

    Regards

    Eric Masson

    -- 
     C'est pas avec la censure que tu vas censurer les censeurs.
     -+- JL in GNU : Las, censeurs pour l'échafaud -+-
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Michael Vince: "FAST_IPSEC vs IPSEC performanc"

    Relevant Pages

    • Re: [opensuse] Suse 10.2 shared printer + Mac OSX
      ... Setup the Mac for ipp printer and select laserjet 2300 and the print ... If I look at the print queue, ... The second one had osx 10.3.9 and was more stubborn. ...
      (SuSE)
    • Re: Getting the list of Autocorrect enties in word
      ... microsoft.public.word.programming is not a managed queue, ... application.Quit(ref missing, ref missing, ref missing); ... entry = application.AutoCorrect.Entries.get_Item(ref ... other Windows Installer aware setup editor. ...
      (microsoft.public.dotnet.general)
    • Re: Bad Mail Folder
      ... If this has just been setup then possibly a relay, have a review here and to help clear SMTP queue see relevant section. ... Server started running like crap. ... folder & queue folder. ...
      (microsoft.public.windows.server.sbs)
    • [SLE] Problems with printer setups - YAST
      ... It was listed in YAST, ... There is no good reason why the setup and test should not be as good as ... But the list of connection options does NOT include ... seems to be no way to copy the first queue to another one for editing. ...
      (SuSE)
    • Re: Unable to send from exchange 2003
      ... What queue does it sit in and what ... I worked plenty in 5.5 but new to Exchange 2003. ... > with an Exchange 2003 server on my 2003 server. ... > and setup and think I got it correct. ...
      (microsoft.public.exchange.admin)