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

Silvio Lucas silviolucas at gmail.com
Tue Mar 17 14:18:43 CET 2009


Dear Massimo, I discovered the problem solution (very simple):


When I use the command vstart recursive
--eth0=tap,172.16.149.7,172.16.149.10, when I type "ifconfig" in my
host (opensuse), nothing is showed about nk_tap_silvio (remember?)
Look:

builk:/home/silvio/netkit # ifconfig
eth0      Link encap:Ethernet  Endereço de HW 00:0A:BC:A8:CB:5F
          inet end.: 192.168.41.226  Bcast:192.168.41.255  Masc:255.255.254.0
          endereço inet6: fe80::20f:b0ff:fea7:c85c/64 Escopo:Link
          UP BROADCASTRUNNING MULTICAST  MTU:1500  Métrica:1
          RX packets:42261 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4658 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4364435 (4.1 Mb)  TX bytes:547975 (535.1 Kb)
          IRQ:16

eth1      Link encap:Ethernet  Endereço de HW 00:1A:C2:A2:4F:88
          UP BROADCASTMULTICAST  MTU:1500  Métrica:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          IRQ:22 Endereço de E/S:0xa000 Memória:b8006000-b8006fff

lo        Link encap:Loopback Local
          inet end.: 127.0.0.1  Masc:255.0.0.0
          endereço inet6: ::1/128 Escopo:Máquina
          UP LOOPBACKRUNNING  MTU:16436  Métrica:1
          RX packets:214 errors:0 dropped:0 overruns:0 frame:0
          TX packets:214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20035 (19.5 Kb)  TX bytes:20035 (19.5 Kb)


Then I typed only "ifconfig nk_tap_silvio", this interface is showed
but don't have any IP address!:


My simple solution: typed in host (opensuse) the IP address specified
in command vstart: the IP address 172.16.149.7:

ifconfig nk_tap_silvio 172.16.149.7 and all is ok! (Is this can be a
bug in netkit or in my machine? What do you think?)

Observation: The IP classes used in tap command must be different your
local interface (like you said).

The last help: how II use the tap option in lab.conf? My doubts about
tap interfaces isn't clear in netkit wiki :)

Sorry for many and many questions :)))


-- 
Silvio Lucas
silviolucas at gmail.com


More information about the Netkit.users mailing list