[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ping failing from master to guest hosts


  • To: "Fajar A. Nugraha" <list@xxxxxxxxx>
  • From: Zama Ques <queszama@xxxxxxxx>
  • Date: Fri, 30 Mar 2012 14:24:06 +0800 (SGT)
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 30 Mar 2012 06:25:06 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.in; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Qsz3WrAZeTfM7CLwLcFrWyJHkj27aPRpCOV5kxGBp0QYTo3KwwWijb7l16sn2xhx2qwHJ+kZ9Mvt4NweaUhq2vxz4xFPqw1lxT0ve8UVsFbkpDaXAUCpf3IkNIhLW3QfcSS5/NRMAnw+KDt0sK3cqXuniuncWXFCsElDchkAFEg=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Thanks Fajar.

I can see both libvirt and dnsmasq running. 

# ps -ef | grep -i dnsmasq
nobody   12663     1  0 11:48 ?        00:00:00 /usr/sbin/dnsmasq -s example.com
root     12680  6494  0 11:48 pts/4    00:00:00 grep -i dnsmasq

# ps -ef | grep -i libvirt
root     11455     1  0 11:45 ?        00:00:00 libvirtd --daemon
root     12703  6494  0 11:48 pts/4    00:00:00 grep -i libvirt

I could see dhcp-range commented in /etc/dnsmasq.conf , so uncommented it and added the right ip network range and restarted both dnsmasq and libvirt service , but no luck .

dhcp-range=192.168.122.1,192.168.122.255,12h

Will try a fresh installation ..

Thanks
Zaman



From: Fajar A. Nugraha <list@xxxxxxxxx>
To: Zama Ques <queszama@xxxxxxxx>
Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
Sent: Friday, 30 March 2012 11:06 AM
Subject: Re: [Xen-users] ping failing from master to guest hosts

On Fri, Mar 30, 2012 at 12:12 PM, Zama Ques <queszama@xxxxxxxx> wrote:
> Hi ,
>
>   I did some more investigation  and I could see that dhcp was not installed
> on my master host . I installed it and tried restarting the dhcpd service ,
> but it is failing because the range of ip-address as allocated for xen
> network are not defined in dhcpd  conf file . This I came to know by looking
> at system log file . Do it I need to add the ip range manually in dhcpd.conf
> or there are some xen tools to do the same .

I strongly suggest you start by upgrading your RHEL installation.

After that, check your setup. A correct, unmodified setup should have
libvirt (or is it libvirt-bin?) service started, which would create
virbr0 bridge, and start dnsmasq. dnsmasq will function as both DNS
and DHCP server for domUs.

If you don't have virbr0, or don't have dnsmasq running, then it means
you broke the default setup.

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.