On 7/12/07, David Shwatrz <[EMAIL PROTECTED]> wrote:
> I have kvm on FC7. I had installed an FC6 guest on it according to the
> kvm howto. I can launch the FC6 guest (using kvm) perfectly ok.
> During installation, I set the IP address of the guest to be
>  192.168.0.11/24 and defualt gw to 192.168.0.1.
> These definitions are OK (I simply run "ifconfig -a" from the
> guest , FC7, and see that these definitions are maintained, and the nic is
> UP
> and running).
>
> On the other hand, I cannot ping it from the host (192.168.0.10) ,
> and also vice versa: I cannot ping the host from the guest,
> namely, I cannot ping 192.168.0.10 from 192.168.0.11.
>
> Any ideas ? is something missing here ?

You should tell us more about your setup. It seems that you you are
not using a bridged configuration; if eth0 has address 192.168.0.10
then packets for 192.168.0.0/24 are routed through eth0 (an the
virtual interface sit0 doesn't see them).
You can either:
- use a different subnet for the VMs, configure the kernel to forward
packets between the 2 networks
- create a bridge that spans across eth0 and sit0, so that it becomes
an unique net segment

I have a script for the 2nd solution, I can send as soon as I get home
if you're interested.

Luca

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to