kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* network between host and guest
@ 2010-05-10 10:46 Thanasis
  2010-05-10 11:40 ` Liang Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thanasis @ 2010-05-10 10:46 UTC (permalink / raw)
  To: kvm@vger.kernel.org

I have installed kvm (app-emulation/qemu-kvm-0.12.3-r1) on linux (a
laptop with gentoo linux) and MS Windows 7 as guest.
Here is what info I get about the network on each one:
1) on linux (host):

eth0      Link encap:Ethernet  HWaddr 00:03:25:43:7f:93 
          inet addr:192.168.0.13  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::203:25ff:fe43:7f93/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:406972 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5268868 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:132098724 (125.9 MiB)  TX bytes:7683259267 (7.1 GiB)
          Interrupt:26 Base address:0x2000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:505 errors:0 dropped:0 overruns:0 frame:0
          TX packets:505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:65800 (64.2 KiB)  TX bytes:65800 (64.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:16:44:8e:5a:0b 
          BROADCAST MULTICAST  MTU:1500  Metric: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)

2) on the guest (sorry I could't find a way copy, so I took a screenshot):
http://i999.photobucket.com/albums/af112/aggman/Screenshot-QEMU.jpg

Question: Where is my interface on linux with IP address of 10.0.2.2 ?
The guest can actually access the internet (via the host), but where can
I see that hidden routing that linux provides to it?

PS: forgive my ignorance, I am new to kvm.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-13 20:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 10:46 network between host and guest Thanasis
2010-05-10 11:40 ` Liang Guo
     [not found] ` <AANLkTikuYvZbgshMpniIjHWL8Xd673j_0eHSxn7SiOnN@mail.gmail.com>
2010-05-10 18:28   ` Thanasis
2010-05-12  8:37     ` Thanasis
     [not found] ` <4BEC578C.2070008@sky-haven.net>
2010-05-13 20:12   ` Thanasis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).