Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 310957 Details for
Bug 453291
Filters for tc and netem can no longer be defined
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Script output when things work (on Fedora 8 system)
filtest.out.f8 (text/plain), 2.33 KB, created by
Karl Auerbach
on 2008-07-03 20:07:56 UTC
(
hide
)
Description:
Script output when things work (on Fedora 8 system)
Filename:
MIME Type:
Creator:
Karl Auerbach
Created:
2008-07-03 20:07:56 UTC
Size:
2.33 KB
patch
obsolete
>Using interface eth1 > >Loading modules. >modprobe sch_netem >modprobe cls_u32 > >When there there is no pre-existing item you may get the following: >RTNETLINK answers: No such file or directory >But 'We have an error talking to the kernel' is bad. > > >Clear out everything >tc qdisc del dev eth1 root >RTNETLINK answers: No such file or directory >tc qdisc del dev eth1 ingress >RTNETLINK answers: No such file or directory > >Create some nearly vacuous netem settings.. >tc qdisc add dev eth1 root handle 1: prio bands 5 priomap 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 >tc qdisc add dev eth1 parent 1:1 handle 10: netem >tc qdisc add dev eth1 parent 1:2 handle 20: netem >tc qdisc add dev eth1 parent 1:3 handle 30: netem >tc qdisc add dev eth1 parent 1:4 handle 40: netem >tc qdisc add dev eth1 parent 1:5 handle 50: netem > >Clean out any previous filters >RTNETLINK answers: Invalid argument >We have an error talking to the kernel >******************** >* ERROR OCCURRED * >******************** > >Create classifier root: >tc filter add dev eth1 parent 1:0 prio 3 protocol ip u32 > >Generate one item hash table: >tc filter add dev eth1 parent 1:0 prio 3 handle 2: u32 divisor 1 > >Generate a filter for IP >tc filter add dev eth1 parent 1:0 handle ::1 prio 3 u32 match u8 0x40 0xF0 at 0 offset mask 0x0F00 at 0 shift 6 plus 0 ht 800:: link 2: > >Generate a filter for ICMP >tc filter add dev eth1 protocol ip parent 1:0 prio 3 u32 match u8 0x01 0xff at 9 flowid 1:1 ht 2:0: > >The final result should be: >filter parent 1: protocol ip pref 3 u32 >filter parent 1: protocol ip pref 3 u32 fh 2: ht divisor 1 >filter parent 1: protocol ip pref 3 u32 fh 2::800 order 2048 key ht 2 bkt 0 flowid 1:1 > match 00010000/00ff0000 at 8 >filter parent 1: protocol ip pref 3 u32 fh 800: ht divisor 1 >filter parent 1: protocol ip pref 3 u32 fh 800::1 order 1 key ht 800 bkt 0 link 2: > match 40000000/f0000000 at 0 > offset 0f00>>6 at 0 > >The actual result we got was: >filter parent 1: protocol ip pref 3 u32 >filter parent 1: protocol ip pref 3 u32 fh 2: ht divisor 1 >filter parent 1: protocol ip pref 3 u32 fh 2::800 order 2048 key ht 2 bkt 0 flowid 1:1 > match 00010000/00ff0000 at 8 >filter parent 1: protocol ip pref 3 u32 fh 800: ht divisor 1 >filter parent 1: protocol ip pref 3 u32 fh 800::1 order 1 key ht 800 bkt 0 link 2: > match 40000000/f0000000 at 0 > offset 0f00>>6 at 0 > >The actual result matched the expected result. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 453291
:
310524
| 310957 |
310958