[Netkit.users] Tap problem in netkit [SOLVED]

Silvio Lucas silviolucas at gmail.com
Thu Mar 19 23:38:54 CET 2009


Massimo,


I did the tests: even with different addresses the netkit had the same
error: no ip address in nk_tap_silvio. I used for real interface the
IP address 172.16.149.7, and the recursive machine (virtual) the IP
address 192.168.100.2. (I used the command vstart --clean-all before).

In this case, I configured the interface nk_tap_silvio manually with
192.168.100.1. After the command, the virtual machine accessed the
internet normally.

All the time, the netkit appear no errors (even when asked the root
password for the "vstart recursivo
--eth0=tap,192.168.100.1,192.168.100.2" command).

When I added the the line
"recursivo[0]=tap,192.168.100.1,192.168.100.2" in my lab.conf, it show
a warning::

Warning: interface eth0 for virtual machine "recursivo" is defined
multiple times.
Only preserving definition "recursivo[0]="collision1"".
Starting "recursivo" with options "-q --eth0 "collision1" --mem=32
--hostlab=/home/silvio/lab-dnssec-silvio/lab-dnssec-silvio
--hostwd=/home/silvio/lab-dnssec-silvio/lab-dnssec-silvio"...

In file recursivo.startup (recursivo = recursive in portuguese), I
only defined this configurations:


/sbin/ifconfig eth0 192.168.1.10 netmask 255.255.255.0 broadcast
192.168.1.255 ## 'collision1' collision domain ##
/sbin/ifconfig eth0 up ## 'collision1' collision domain ##
/etc/init.d/bind start


After, I commented the first line "/sbin/ifconfig eth0... ".

I'm wrote for you more one time because maybe be your interest to
solve this (possible) problem. My virtual machine is connected in
internet now :)

Thank you by your patience, and I will divulgate your tool in my
university (I'm a teacher too, in graduation - Quality of Service
discipline). :)

-- 
Silvio Lucas
silviolucas at gmail.com


More information about the Netkit.users mailing list