Re: Finding DHCP IP of guest system

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



On Fri, Jul 16, 2010 at 8:40 AM, Les Mikesell <lesmikesell@xxxxxxxxx> wrote:
> On 7/16/2010 10:11 AM, Akemi Yagi wrote:

>> Soon after I started using kvm and created guests with bridged
>> network, I asked the same question as yours. I have not been able to
>> find a clear answer to date.  If I'm not mistaken, there is no easy
>> solution as you suspected. The host has no knowledge of the guests'
>> IPs because an outside DHCP server (in my case at home, it is a
>> router/cable modem) provides the IP addresses. So, I've been using the
>> "console" method.
>
> Your router/cablemodem most likely has a web interface where you can
> find a log and a mapping of MAC addresses to the IP addresses it has
> given out.  You might even be able to configure it to syslog to your
> centos box.  You should also be able to see the DHCP traffic activity by
> running tcpdump or wireshark on the bridged host physical interface as
> the guest starts.

Sure, I can retrieve the info from my cable modem. I also tried
wireshark. I then decided looking at the console was much "quicker"
for me. But if I'm in a situation where the guests are constantly
created and there is a need for semi-automatic retrieval of guest's
IPs, I would spend some time for that.

Akemi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux