Hi, I have a basic router that is shaping traffic, and it seems to be working at the moment. We have a 100Mbit connection to the internet, however we get charged for each mbit that we use and so have to shape/limit the traffic to avoid huge bills and my boss getting cross!! We have a /29 subnets set up as follows: tc qdisc add dev eth0 root tbf rate 0.8Mbit latency 50ms burst 10k tc qdisc add dev eth1 root tbf rate 0.6Mbit latency 50ms burst 10k |--------------| Internet (100Mbit) | | eth1 |---------| ------ Linux router ---------- Switch | eth0 | | .105 |---------| |--------------| .106 | .107 .108 .109 .110 This setup seems to limit the traffic to ~1mbit to the internet at the moment. Basically I have a linux box with a few backup dns and mail servers on them (hence eth1 has 3 ips) and then 3 servers attached to a 100mbit switch, each with it''s own IP and full access. However I now need to add a new server(s) to the switch on a different /29 subnet. I want to ensure thaHi, I have a basic router that is shaping traffic, and it seems to be working at the moment. We have a 100Mbit connection to the internet, however we get charged for each mbit that we use and so have to shape/limit the traffic to avoid huge bills!! We have a /29 subnets set up as follows: tc qdisc add dev eth0 root tbf rate 0.8Mbit latency 50ms burst 10k tc qdisc add dev eth1 root tbf rate 0.6Mbit latency 50ms burst 10k |--------------| Internet (100Mbit) | | eth1 |---------| ------ Linux router ---------- Switch | eth0 | | .105 |---------| |--------------| .106 | .107 .108 .109 .110 This setup seems to limit the traffic to ~1mbit to the internet at the moment. Basically I have a linux box with a few backup dns and mail servers on them (hence eth1 has 3 ips) and then 3 servers attached to a 100mbit switch, each with it''s own IP and full access. However I now need to add a new server(s) to the switch on a different /29 subnet. I want to ensure that the current .105/29 subnet continues to receive 1mbit up and down and each server on the new subnet each receives an individual 1mbit: .105/29 - 1Mbit New subnet .120/24 - 6Mbit Total .120 - 1Mbit .121 - 1Mbit .122 - 1Mbit .123 - 1Mbit .124 - 1Mbit .125 - 1Mbit I want to ensure that the traffic out on eth0 is never more than 7Mbit but the .105/24 subnet never users more than 1Mbit and the .120/29 subnet gets 6Mbit and each server on the .120/29 gets a min of 1Mbit but can burst upto 6Mbit if the other servers are idle and that all traffic over the switch can move at 100Mbit between each host. Ideally I don''t want more than 7Mbit coming in on eth0 either. Also is it possible to ensure that ssh traffic gets some priority so that access isn''t too slow? Is this possible? I was looking into the SLA section of the docs but wasn''t entirely sure how to go about this. Thanks Jake t the current .105/29 subnet continues to receive 1mbit up and down and each server on the new subnet each receives an individual 1mbit: .105/29 - 1Mbit New subnet .120/24 - 6Mbit Total .120 - 1Mbit .121 - 1Mbit .122 - 1Mbit .123 - 1Mbit .124 - 1Mbit .125 - 1Mbit I want to ensure that the traffic out on eth0 is never more than 7Mbit but the .105/24 subnet never users more than 1Mbit but the .120/29 subnet gets 6Mbit and each server gets a min of 1Mbit but can burst upto 6Mbit if the other servers are idle and that all traffic over the switch can move at 100Mbit between each host. Ideally I don''t want more than 7Mbit coming in on eth0 either Is this possible? I was looking into the SLA section of the docs but wasn''t entirely sure how to go about this. Thanks Jake -- Jake Stride <J.A.Stride@ncl.ac.uk> _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/