Page 1 of 1
src and dest address
Posted: Fri Jan 12, 2007 1:39 am
by Equis
Hello
When ros talks about src , dst and target what do they mean?
I would say the target would be the IP's of customer
is src the one who requesed the data (cust) or the webserver that sends it? (making the cust the dest)
Also, if you don't put a target address does it assume everything?
Also, with pcq can you tick both src address and dst address? or will that only limit the speed between any 2 IP pairs?
Thanks
Posted: Fri Jan 12, 2007 8:45 am
by sergejs
src-address is source address of the packet (sender), destination address is destination address of the packet (receiver).
If you asking about simple queues 'target-address' is the address of the router client, dst-address is the address of the remote server, if you need to limit bandwidth for the specific server.
PCQ queues has pcq-clasifier option, if you clasify packets by 'src-address' then all packets with different source address will be grouped into different subqueues (it allows you to limit upload traffic), vice versa for 'dst-address' clasifier.
Posted: Fri Jan 12, 2007 11:56 pm
by Equis
Thanks
So for a normal download src-adreess would be a webserver and dst-addtress would be customer?
Thanks
Posted: Sat Jan 13, 2007 2:43 am
by bjohns
Thanks :-)
So for a normal download src-adreess would be a webserver and dst-addtress would be customer?
Thanks
That depends on what chain etc. Eg:
Input chain - dst-address = router
Output chain - dst-address = web
Forward chain - dst-addres = hosts/web
Posted: Sat Jan 13, 2007 3:46 am
by Equis
With the pcq-clasifier option, can you have both src & dst in the same one?
Just use th eone for upload and download?
Thanks
Posted: Sat Jan 13, 2007 8:18 am
by bjohns
With the pcq-clasifier option, can you have both src & dst in the same one?
Just use th eone for upload and download?
Thanks
One in each. If you did both in one then it would be per each and every connection (or sets with same src/dst) - good if you want to set a maximum 'per connection' limit but otherwise not useful for 'per host' limits.
Posted: Sat Jan 13, 2007 8:40 am
by Equis
Thanks heaps for that, thats exactly what I was after.