View Single Post
  #3  
Old 10th May 2012, 22:35
nzimas nzimas is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a somewhat similar scenario here, although I can't even make it to the VM through SSH (I am having his issue with KVM too, btw)
My setup follows Falko's howto (the part concerning image based machines).

The physical host has only one physical NIC which holds the public IP, gateway and so forth.

Do I need a second physical NIC in order to create an internal network? I would think I don't, but at the same time I have this eerie feeling I do.

This is how the dm0 interfaces look like:
Quote:
eth0 Link encap:Ethernet HWaddr 00:25:90:71:32:46
inet addr:1.2.3.4 Bcast:1.2.3.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe71:3246/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52309 errors:0 dropped:0 overruns:0 frame:0
TX packets:22818 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:65278789 (62.2 MiB) TX bytes:2054827 (1.9 MiB)

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:544 errors:0 dropped:0 overruns:0 frame:0
TX packets:544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100037 (97.6 KiB) TX bytes:100037 (97.6 KiB)

peth0 Link encap:Ethernet HWaddr 00:25:90:71:32:46
inet6 addr: fe80::225:90ff:fe71:3246/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:70923 errors:0 dropped:0 overruns:0 frame:0
TX packets:22848 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:69135419 (65.9 MiB) TX bytes:2056603 (1.9 MiB)
Interrupt:16 Memory:fbce0000-fbd00000

vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:2228 errors:0 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:692 (692.0 B) TX bytes:269251 (262.9 KiB)
This how the domU interface looks like
Quote:
eth0 Link encap:Ethernet HWaddr 00:16:3e:e8:61:97
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fee8:6197/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2333 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:250251 (244.3 KiB) TX bytes:958 (958.0 B)
Interrupt:246

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:35 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3035 (2.9 KiB) TX bytes:3035 (2.9 KiB)
The gateway on dom0 and domU is not the same probably because I do not have a second NIC or a working virtual interface.

Networking is where I am stck in all my virtualization attempts
Reply With Quote