Michael ''Moose'' Dinn
2003-Sep-04 17:20 UTC
Anyone with a similar setup want to share their setup?
Hi! We currently have T1 to provider A, T1 for peering only to provider B, and 10M Ethernet to provider C. A and B bill is a fixed rate, C bills us based on usage. We have 4 interfaces on our router, one facing each provider, and the last facing ourselves. I''d like to rate-limit provider C to a given amount - I can do that outbound easily enough, how about inbound - anyone got a sample? I could throw in a second machine doing bridging and rate limiting, but that doesn''t seem like much fun. -- Michael ''Moose'' Dinn, Twisted Pair Network Consulting Incorporated dinn@twistedpair.ca // 902 423 4700 (voice) // 902 423 8407 (fax) Colocate your server in our underground bunker! _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Damion de Soto
2003-Sep-05 00:30 UTC
Re: Anyone with a similar setup want to share their setup?
Michael ''Moose'' Dinn wrote:> I''d like to rate-limit provider C to a given amount - I can do that outbound > easily enough, how about inbound - anyone got a sample?Take a look at the IMQ + HTB doco. http://lartc.org/howto/lartc.imq.html or, throttle the incoming traffic the easier (and less efficient) way with the ingress policer. last lines in: http://lartc.org/howto/lartc.cookbook.ultimate-tc.html -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dancer Vesperman
2003-Sep-05 06:55 UTC
Re: Anyone with a similar setup want to share their setup?
On Fri, 2003-09-05 at 03:20, Michael ''Moose'' Dinn wrote:> Hi! > > We currently have T1 to provider A, T1 for peering only to provider B, and > 10M Ethernet to provider C. A and B bill is a fixed rate, C bills us based > on usage. > > We have 4 interfaces on our router, one facing each provider, and the last > facing ourselves. > > I''d like to rate-limit provider C to a given amount - I can do that outbound > easily enough, how about inbound - anyone got a sample? > > I could throw in a second machine doing bridging and rate limiting, but that > doesn''t seem like much fun.If C is feeding _through_ your router to your LAN, you can rate limit _egress_ to your internal network from C. It''s a bit of a hack doing it that way, but it works well enough from experience. If your router is the consumer of traffic (ie a proxy server, or such) then probably you want to play with ingress policing. -- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/