Chage the IP of my VM

Hi!

I’ve isntalled KVM and a VirtualMachine with CentOS 5.4.

The host machine is a server into my LAN with a IP 192.168.0.X and I want that the IP of my VM will be 192.168.0.Y Cos I need to access it from a another SSH or Remote Desktop into the LAN. I tried change de “VirtualNetwork” but I had not obtained results. Some idea? Thanks!

To answer this we need more information. What network setup do you have for your VM. Does your VM get an IP automatically using DHCP? and is it different from the IPs in your regular network? if so then you Host probably has a virtual network set up for the VM guests and you will have to create a bridged connection to get them to connect outside of your Host.