[Netkit.users] Netem on netkit

Giovambattista Ianni ianni at mat.unical.it
Tue Feb 16 15:51:43 CET 2010


Thanks everybody for the suggestions! orig-tc works fine, and at the moment I 
can go with this.

perhaps it is worth mentioning this issue (orig-command vs commands in the 
official distribution) somewhere: I wasn't aware of, nor I found info on the 
public wiki.

best, gb

Massimo Rimondini ha scritto:
> Thank you Csaba for the contribution.
> 
> Detailed instructions for the compilation can also be found in the 
> kernel README file: http://wiki.netkit.org/download/netkit-kernel/README
> 
> Regards,
> Massimo.
> 
> 
> Csaba Kiraly wrote:
>> it is also quite easy to compile your own kernel for netkit. I don't 
>> know whether it is in the faq or not, but basically what you need is to
>> compile a kernel for the "um" architecture with the configiuration file 
>> mentioned below.
>>
>> make "ARCH=um"
>>
>> don't forget  to add ARCH=um for all your make commands, even 
>> configuration ones, otherwise you will mix up architectures.
>>
>> Then, you just have to redirect netkit links to the exexutable and to 
>> the modules folder, and there you go!
>>
>> Csaba
>>
>>
>> Massimo Rimondini wrote:
>>   
>>> Dear Giovambattista,
>>>
>>> try using the same command but replacing the tc executable with "orig-tc".
>>> Netem is actually compiled in the current Netkit kernel. You can check
>>> it in the configuration file available online
>>> (http://wiki.netkit.org/download/netkit-kernel/netkit-kernel-config-i386-K2.8)
>>> or inside a virtual machine:
>>>
>>>   
>>>     
>>>> pc1:~# zgrep NETEM /proc/config.gz
>>>> CONFIG_NET_SCH_NETEM=y
>>>>     
>>>>       
>>> However, there seem to be problems with some iproute commands that are
>>> imported from the MPLS Linux project. That is why we also provide their
>>> original releases from Debian packages, with their name prefixed by "orig-".
>>>
>>> Hope this helps.
>>>
>>> Regards,
>>> Massimo.
>>>
>>>
>>> Giovambattista Ianni wrote:
>>>   
>>>     
>>>> Dear all,
>>>>
>>>> I had in mind to do some delay+packet loss simulation using netkit, so I started 
>>>> issuing some netem command in virtual machines, like:
>>>>
>>>> tc qdisc add dev eth0 root netem delay 100ms
>>>>
>>>> but, what I get is:
>>>>
>>>> Unknown qdisc "netem", hence option "delay" is unparsable
>>>>
>>>> Apparently netem is not compiled in the netkit kernel: I'm using a freshly 
>>>> downloaded netkit copy with a "2.6.26.5-netkit-K2.8 (max a brunello) (gcc version 
>>>> 4.3.3 (Debian 4.3.3-13)" kernel on it.
>>>>
>>>> Massimo reports that netem should be available in netkit:
>>>> http://list.dia.uniroma3.it/pipermail/netkit.users/2008-May/000353.html
>>>>
>>>> but there is something wrong: is netem actually in? is there a way to enable it?
>>>> should I modprobe some additional module? has netem perhaps a different qdisc 
>>>> name? (it was 'delay' in old kernels but this doesn't work)
>>>>
>>>> regards, gb
>>>>
>>>> _______________________________________________
>>>> Netkit.users mailing list
>>>> Netkit.users a list.dia.uniroma3.it
>>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>>
>>>>   
>>>>     
>>>>       
>>> _______________________________________________
>>> Netkit.users mailing list
>>> Netkit.users a list.dia.uniroma3.it
>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>   
>>>     
>>
>> _______________________________________________
>> Netkit.users mailing list
>> Netkit.users a list.dia.uniroma3.it
>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>
>>   
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users


More information about the Netkit.users mailing list