We have a 10Mbps connection to the Internet (see attached diagram). There are two "groups" basically competing for this 10Mbps - the corporate Internet users and our Internet connected servers. What I want to do is to guarantee bandwidth for the servers - for example 4Mbps (out of the 10Mbps) dedicated to the servers and the rest for the users.
What I'm thinking of is doing some kind of rate-limiting on the Cisco 3750 switch. There seems to be no "rate-limit" command on that switch. I think this can also be done on the Linux box but might be easier on the Cisco switch. Any suggestions?
Police is only supported as "input" not "output".
Place the service-policy in the incoming interface from the Linux box and the ACL should consists of the 'interesting' traffic from the Linux box towards the rest of the world.
You can do it by srr-queue command for outbound b/w limit.
Since the limitation of srr-queue is that it only limit b/w 90%(max) of port speed.
if u rusing 100 Mbps port then you should made the port speed 10 Mbps (by command speed 10)
then u apply command srr-queue bandwith limit 40 which gives exatly 4 mbps link
1. Are both the networks on diffrent Vlans.
2. Have you configued the router as router-on-stick ?
3. If possible plz paste the config for the router and switch.
If this is config as a router-on-stick. that is for linux you have diffrent vlan which is connected to the swith on a vlan which has a subiterfice on the router.
In this case you can do use rate-limit command on the router itself.
The way i feel it can be done is srr-queue
Switch(config)# interface FastEthernet 0/8
Switch(config-if)# srr-queue bandwidth limit 90
The 90 sets the outbound bandwidth limit on the port to 90 percent of the port speed. Since this is a 100-Mb port, this should limit the outbound traffic from the port to 10 Mb.
So you have to put the digit as 96 percent
Hope this helps.