* [LARTC] PRIO qdisc
@ 2003-01-17 11:15 Andreas Wright
2003-01-17 11:16 ` Andreas Wright
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Wright @ 2003-01-17 11:15 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
Hello ,
I am trying to use tc to do the following ..on the interface(eth0) I want to give priority to to packets coming from a specific IP address 1.2.3.4 over packets from IP address 1.2.3.5 .
I would like to know if the following setup would work with PRIO qdisc.
tc qdisc add dev eth0 root handle 10 : prio
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip src 1.2.3.4/32 flowid 10:1
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip dst 1.2.3.4/32 flowid 10:1
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip src 1.2.3.5/32 flowid 10:2
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip dst 1.2.3.5/32 flowid 10:2
Can I test this setup by using flooding ping from 1.2.3.4 and 1.2.3.5 to the machine configured with tc ?
I expected that pings from 1.2.3.5 will be dropped giving priority to 1.2.3.4
Looking forward to your input,
Andreas.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
[-- Attachment #2: Type: text/html, Size: 1312 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LARTC] PRIO qdisc
2003-01-17 11:15 [LARTC] PRIO qdisc Andreas Wright
@ 2003-01-17 11:16 ` Andreas Wright
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Wright @ 2003-01-17 11:16 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
Hello ,
I am trying to use tc to do the following ..on the interface(eth0) I want to give priority to to packets coming from a specific IP address 1.2.3.4 over packets from IP address 1.2.3.5 .
I would like to know if the following setup would work with PRIO qdisc.
tc qdisc add dev eth0 root handle 10 : prio
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip src 1.2.3.4/32 flowid 10:1
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip dst 1.2.3.4/32 flowid 10:1
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip src 1.2.3.5/32 flowid 10:2
tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \
match ip dst 1.2.3.5/32 flowid 10:2
Can I test this setup by using flooding ping from 1.2.3.4 and 1.2.3.5 to the machine configured with tc ?
I expected that pings from 1.2.3.5 will be dropped giving priority to 1.2.3.4
Looking forward to your input,
Andreas.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
[-- Attachment #2: Type: text/html, Size: 1312 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-17 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-17 11:15 [LARTC] PRIO qdisc Andreas Wright
2003-01-17 11:16 ` Andreas Wright
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.