[Netkit.users] tap problem / solution (Massimo Rimondini)

pdn at dmu.ac.uk pdn at dmu.ac.uk
Sun Mar 29 20:40:10 CEST 2009


Hello Massimo
Apologies - I clearly need to practice looking up your bug fixes:-)
All the best
Peter
>
> Today's Topics:
>
>    1. Re: tap problem / solution (Massimo Rimondini)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 28 Mar 2009 13:21:23 +0100
> From: "Massimo Rimondini" <rimondin at dia.uniroma3.it>
> Subject: Re: [Netkit.users] tap problem / solution
> To: "'Users of the Netkit Network Emulation System'"
> 	<netkit.users at list.dia.uniroma3.it>
> Message-ID: <006501c9af9f$b5ca6190$215f24b0$@uniroma3.it>
> Content-Type: text/plain;	charset="us-ascii"
>
> Dear Peter,
>
> thank you very much for pointing this out. However, this has already been
> discussed here:
> http://bugs.netkit.org/show_bug.cgi?id=2
>
> I'm glad to hear the system has fitted your needs.
>
> Regards,
> Massimo.
>
>> -----Original Message-----
>> From: netkit.users-bounces at list.dia.uniroma3.it [mailto:netkit.users-
>> bounces at list.dia.uniroma3.it] On Behalf Of pdn at dmu.ac.uk
>> Sent: Friday, March 27, 2009 11:14 PM
>> To: netkit.users at list.dia.uniroma3.it
>> Subject: [Netkit.users] tap problem / solution
>>
>> Hello
>> Firstly, may I thank the Netkit team for providing such a valuable
> resource
>> - both Netkit itself and the associated official labs / slides.
>> Our undergraduate and research Forensic Computing students have really
>> benefited from the realistic / complex network scenarios we have been
>> able
>> to create for them to investigate.
>>
>> Now the problem:
>> Using netkit-2.6 downloaded 25 march 2009 onto Ubuntu 8.04.
>> vstart pc --eth0=A eth1=B // works
>> vstart pc --eth0=tap,10.0.0.254,10.0.0.1 // works vstart pc --
>> eth0=tap,10.0.0.254,10.0.0.1 --eth1=B // fails: tries to start tap twice
>> vstart pc --eth1=B --eth0=tap,10.0.0.254,10.0.0.1 // fails: does not
>> start
>> tap
>>
>> Patch fix as follows and attached.
>> Many thanks
>> Peter Norris
>> De Montfort University UK
>>
>> --- netkit/bin/script_utils	2007-12-19 09:55:58.000000000 +0000
>> +++ ../netkit/bin/script_utils	2009-03-27 13:56:39.000000000 +0000
>> @@ -317,8 +317,8 @@
>>  # This function starts all the hubs inside a given list
>>  runHubs() {
>>     local HUB_NAME BASE_HUB_NAME ACTUAL_HUB_NAME TAP_ADDRESS
>> GUEST_ADDRESS
>> -   HUB_NAME="$1"
>>     while [ $# -gt 0 ]; do
>> +      HUB_NAME="$1"
>>        BASE_HUB_NAME="`varReplace HUB_NAME \".*_\" \"\"`"
>>        if [ "${BASE_HUB_NAME#tap${HUB_SOCKET_EXTENSION},}" !=
>> "$BASE_HUB_NAME" ]; then
>>           # This is an Internet connected hub
>
>
>
> ------------------------------
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users at list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>
>
> End of Netkit.users Digest, Vol 32, Issue 11
> ********************************************
>




More information about the Netkit.users mailing list