Public bug reported:
I had a brand new install of ubuntu 7.10:
Linux mybox 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
GNU/Linux
on a 1.6 ghz P4 with 128 MB of RAM. I was trying to set up a few NICs
with large delays for a small project I'm working on. Nothing too
complicated here; was simply doing:
sudo tc qdisc add dev eth0 root netem delay 4000ms
Which should've added a 4 sec delay to every outbound packet on that
interface. This worked on gentoo 2007.0 and ubuntu 6.06. However, on my
ubuntu 7.10 box, I received the following errors:
[EMAIL PROTECTED]:~$ sudo tc qdisc add dev eth0 root netem delay 4000ms
[sudo] password for myuser:
Illegal 4000000000 time (too large)
Illegal "latency"
I tried adding more RAM to the thing (added a 128 MB stick, bringing the
total to 256 MB), though that didn't fix anything. I also tried doing
sudo tc qdisc add dev eth0 root netem delay 4s
which worked, but the interface didn't delay correctly (only delayed for
about 580 ms instead of 4 sec).
I have since taken ubuntu 7.10 off of this box and replaced it with
fedora; the above commands work in fedora just fine. This leads me to
believe that this is a bug in the latest release of Ubuntu.
** Affects: ubuntu
Importance: Undecided
Status: New
--
tc / netem refuses to set delay on an interface
https://bugs.launchpad.net/bugs/159164
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs