Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
netem in iproute2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jiang20
n00b
n00b


Joined: 23 May 2006
Posts: 2

PostPosted: Tue May 23, 2006 11:44 pm    Post subject: netem in iproute2 Reply with quote

I just installed latest gentoo on my machine for network emulation. I tried to start netem by using :# tc qdisc add dev eth0 root netem delay 100ms
But I got an error:RTNETLINK answers: Invalid argument

It seems like that the netem function is disabled on current gentoo. And I read the Netem homepage found these:

if you run a current 2.6 distribution, (Fedora, OpenSuse, Gentoo, Debian, Mandriva), then netem is already enabled in the kernel and a current version of iproute2 is included. The netem kernel component is enabled under:
Networking -->
Networking Options -->
QoS and/or fair queuing -->
Network emulator

As I know, the latest gentoo is based on 2.6.15 distribution whose netem should already be enabled. Can any one give me some idea about how to use the netem under gentoo, or how to enable the netem kernel component in it (the description in home page is not very clear).
Back to top
View user's profile Send private message
jiang20
n00b
n00b


Joined: 23 May 2006
Posts: 2

PostPosted: Wed May 24, 2006 6:09 am    Post subject: Solved! Reply with quote

netem in current kernel 2.6.15 gentoo is disabled. so i recompile the kernel then it works properly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum