3

So for example, it will only let a particular MAC address on side A use 100kbps in ether direction.

Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83
Corey
  • 2,031
  • 12
  • 39
  • 54

4 Answers4

3

You can configure a Linux bridge with ebtables to mark the packets and tc to shape the traffic.

Also some Cisco switches can do bandwidth limiting. See Cisco:Comparing Traffic Policing and Traffic Shaping for Bandwidth Limiting

Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83
3

Untangle can do this via the paid bandwidth control app.

Joel Coel
  • 12,932
  • 14
  • 62
  • 100
1

I typically use dummynet in FreeBSD (picoBSD, really) on a floppy or bootable USB token (or in a Virtual Machine) to do this. But you can also do it with iptables in Linux, some configurable switches, and specialty devices like this one or other WAN/LAN emulators.

Jed Daniels
  • 7,282
  • 2
  • 34
  • 42
1

Another solution - m0n0wall, designed to test latency in applications which work over network.

Vick Vega
  • 2,398
  • 16
  • 22