R: [Netkit.users] Accesing Internet from a virtual machine
Emilia Rodriguez
emi_grz a yahoo.es
Ven 8 Set 2006 23:00:56 CEST
Massimo:
I configured the DNS, but I continue with the same problem. Also I don't know why the real machine can't reach the virtual machine, for example if I do this:
In the real machine:
emilia at emilia-desktop:~$ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
>From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
>From 10.0.0.1 icmp_seq=3 Destination Host Unreachable
>From 10.0.0.1 icmp_seq=4 Destination Host Unreachable
emilia at emilia-desktop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 nk_tap_emilia
default speedtouch.lan 0.0.0.0 UG 0 0 0 eth0
In the virtual machine:
pc1:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
pc1:~#ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable
From 10.0.0.2 icmp_seq=3 Destination Host Unreachable
From 10.0.0.2 icmp_seq=4 Destination Host Unreachable
Thanks
Massimo Rimondini <rimondin at dia.uniroma3.it> escribió: Dear Emilia,
your procedure is correct, but you are still missing one step. In order to be able to resolve names to IP addresses inside a virtual machine you first have to configure a DNS.
In short, you have to place the following lines inside the file /etc/resolv.conf of pc1:
nameserver ip_address_of_the_primary_name_server
nameserver ip_address_of_the_secondary_name_server_if_any
Regards,
Massimo.
---------------------------------
Da: netkit.users-bounces at list.dia.uniroma3.it [mailto:netkit.users-bounces at list.dia.uniroma3.it] Per conto di Emilia Rodriguez
Inviato: martedì 5 settembre 2006 1.32
A: netkit.users at list.dia.uniroma3.it
Oggetto: [Netkit.users] Accesing Internet from a virtual machine
Hi everybody:
I would like to know how can I connect the virtual machine with Internet through the host machine using Netkit?
For that, I did this:
In the host machine:
vstart pc1 eth0=tap,10.0.0.1,10.0.0.2
In the virtual machine pc1:
ping www.google.com It didn't work
Thanks
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com_______________________________________________
Netkit.users mailing list
Netkit.users at list.dia.uniroma3.it
http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dia.uniroma3.it/mailman/private/netkit.users/attachments/20060908/0fb4403c/attachment.html
Maggiori informazioni sulla lista
Netkit.users