PDA

View Full Version : Problem creating VM using tutorial


Khao8
8th September 2009, 06:56
Hi all,
I'm using this tutorial to create a VM ( http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.04 ) and I'm trying to do the LVM-based one. I tried configuring the bridge but I think that's where it's failing.. My VM is running but I cannot ping it..

A little more info : I have 2 IPs provided by my host, x.x.167.84 and x.x.167.85
My ifconfig looks like this :
br0 Link encap:Ethernet HWaddr 00:19:db:e9:37:bf
inet addr:x.x.167.84 Bcast:x.x.167.127 Mask:255.255.255.192
inet6 addr: fe80::219:dbff:fee9:37bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13413 errors:0 dropped:0 overruns:0 frame:0
TX packets:1312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:845796 (845.7 KB) TX bytes:183843 (183.8 KB)

eth0 Link encap:Ethernet HWaddr 00:19:db:e9:37:bf
inet6 addr: fe80::219:dbff:fee9:37bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9769159 errors:0 dropped:0 overruns:0 frame:0
TX packets:764028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1002770357 (1.0 GB) TX bytes:72200487 (72.2 MB)
Interrupt:23 Base address:0x4000

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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1227 (1.2 KB) TX bytes:1227 (1.2 KB)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:x.x.122.1 Bcast:x.x.122.255 Mask:255.255.255.0
inet6 addr: fe80::68ff:31ff:fe12:552/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)

vnet0 Link encap:Ethernet HWaddr d6:23:a9:a3:fa:26
inet6 addr: fe80::d423:a9ff:fea3:fa26/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


I tried creating the VM on my x.x.167.85 IP so I can still use x.x.167.84 to access my host machine. The problem is it doesn't ping and I'm not experienced in virtual machines/bridging so I can't pinpoint the problem.

Can anybody help? Thanks a lot!

falko
9th September 2009, 16:15
Can you post the outputs of ifconfig and route -nee on the host and the guest system?