Skip to contentSkip to conversation

Anyone with a similar setup want to share their setup?

LARTC Michael 'Moose' Dinn 3 participants 3 messages Sep 4, 2003 – Sep 5, 2003

lore
Share & tools
lore
#0 lore raw

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.

Signature · 7 lines
 Michael 'Moose' Dinn, Twisted Pair Network Consulting Incorporated
 [email protected] // 902 423 4700 (voice) // 902 423 8407 (fax)

 Colocate your server in our underground bunker!
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 2 lines · Michael 'Moose' Dinn

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

Signature · 10 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     [email protected]
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Michael 'Moose' Dinn
Quoted 6 lines · Michael 'Moose' Dinn

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.

Quoted 8 lines

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.

Signature · 3 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/