[Netkit.users] how to insert vm in real LAN

Massimo Rimondini rimondin at dia.uniroma3.it
Tue Jan 25 09:43:59 CET 2011

Dear sacarde,

Netkit provides native support for connecting virtual machines to a
non-virtual network (your LAN and, therefore, the Internet) by using tap

If you wanted to reach your LAN from inside a virtual machine you would
use a syntax similar to the following:

> vstart vm --eth0=tap,,

where is an address assigned to a special interface that will
be created on your host (this is required in order to enable routing
between the virtual network and the real one) and is the
address that will be automatically assigned to the network interface
inside the virtual machine. Note that:
- these two addresses must be on the same (classful) subnet
- these two addresses must lie in a subnet that is not currently in use
in your (real) network.

In short, it should be fine for you to use and, like
in the above command. After that, you should be able to ping, or whatever Internet address from inside your
virtual machine.


On 01/24/2011 05:59 PM, sacarde wrote:
> hi,
>    I would try to use netkit in my LAN:
> - I have a PC (knoppix-netkit) with netcard (dhcp)
> - I have a router (with dhcp)
> which command should I use to enter my vm on that LAN ?
> thank you
> sacarde
> _______________________________________________
> 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