Skip to contentSkip to conversation

Fairness queuing across a range of IP addresses

LARTC Derek Sims 4 participants 4 messages Mar 20, 2007 – Mar 29, 2007

lore
Share & tools
lore

Derek Sims

author
#0 lore raw

I have a block of IP addresses (2048) used for ADSL connections to customers.

In order to provide a fair slice of available bandwidth on the contended services I would like to be able to set up some kind of SFQ filter, but using a hash of the destination IP address rather than the the full source and destination ip and port. This would be done at the Internet side gateway for traffic being sent towards the customer's IP address.

Can anybody suggest how this could be done with qdiscs?

TIA

Derek
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 10 lines · Derek Sims

I have a block of IP addresses (2048) used for ADSL connections to customers.

In order to provide a fair slice of available bandwidth on the contended services I would like to be able to set up some kind of SFQ filter, but using a hash of the destination IP address rather than the the full source and destination ip and port. This would be done at the Internet side gateway for traffic being sent towards the customer's IP address.

Quoted 5 lines

Can anybody suggest how this could be done with qdiscs?

TIA

Derek

Hi Derek, if i understand what you wanna do then i think you are looking for ESFQ. With ESFQ you can choose hash type from classic, dest IP or src IP.
/ak
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Derek Sims
Quoted 13 lines · Ales Klok
Quoted 12 lines · Derek Sims

I have a block of IP addresses (2048) used for ADSL connections to customers.

In order to provide a fair slice of available bandwidth on the contended services I would like to be able to set up some kind of SFQ filter, but using a hash of the destination IP address rather than the the full source and destination ip and port. This would be done at the Internet side gateway for traffic being sent towards the customer's IP address.

Can anybody suggest how this could be done with qdiscs?

Quoted 7 lines
Quoted 3 lines

TIA

Derek

Hi Derek, if i understand what you wanna do then i think you are looking for ESFQ. With ESFQ you can choose hash type from classic, dest IP or src IP.
/ak

As an ISP with 800 clients I found the hashs difficult to manage after time. Also when dealing with clients who want subnet /29 mapping back to a billing entry was hard. I wrote some PHP so other could use web front end and used ipset (both hash and net sets) and combining with marks to do the traffic control for different levels of service. As the client requirements grew changed this ended in allot of panic PHP. So i use 3rd party vendor device.

My advice would be to use 2 devices 1 to mark traffic and do access control and use ds_shed to control traffic on other device. I think I went wrong in trying to do all on one device.

Hope helps.

Quoted 3 lines

_______________________________________________
LARTC mailing list [email protected]://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to Derek Sims
Quoted 30 lines · Oscar Mechanic
Quoted 13 lines · Ales Klok
Quoted 12 lines · Derek Sims

I have a block of IP addresses (2048) used for ADSL connections to customers.

In order to provide a fair slice of available bandwidth on the contended services I would like to be able to set up some kind of SFQ filter, but using a hash of the destination IP address rather than the the full source and destination ip and port. This would be done at the Internet side gateway for traffic being sent towards the customer's IP address.

Can anybody suggest how this could be done with qdiscs?

Quoted 7 lines
Quoted 3 lines

TIA

Derek

Hi Derek, if i understand what you wanna do then i think you are looking for ESFQ. With ESFQ you can choose hash type from classic, dest IP or src IP.
/ak

As an ISP with 800 clients I found the hashs difficult to manage after time. Also when dealing with clients who want subnet /29 mapping back to a billing entry was hard. I wrote some PHP so other could use web front end and used ipset (both hash and net sets) and combining with marks to do the traffic control for different levels of service. As the client requirements grew changed this ended in allot of panic PHP. So i use 3rd party vendor device.

Quoted 3 lines

My advice would be to use 2 devices 1 to mark traffic and do access control and use ds_shed to control traffic on other device. I think I went wrong in trying to do all on one device.

The latest esfq used jhash - so should be better than the old hash.

http://fatooh.org/esfq-2.6/

Andy.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc