Hi, I'm running kvm virtual machines with bridged networking with libvirtd, virtual guests are getting ip addresses from dhcp, listing interface information on kvm host gives me only bridge ip, there is no information about guests ip assigned by dhcpd to tap interfaces that are added to the bridge, is there any way to get this information from kvm host system where the bridge is created? I couldn't find any usable information on this subject, right now I need to check dhcp leases or login over vnc. Thanks for any help. Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090120/815637a0/attachment.htm
Sebastian Gottschall (DD-WRT)
2009-Jan-20 01:06 UTC
[Bridge] how to get a list of ip adresses
?ukasz Mierzwa schrieb:> Hi, > > I'm running kvm virtual machines with bridged networking with > libvirtd, virtual guests are getting ip addresses from dhcp, listing > interface information on kvm host gives me only bridge ip, there is no > information about guests ip assigned by dhcpd to tap interfaces that > are added to the bridge, is there any way to get this information from > kvm host system where the bridge is created? I couldn't find any > usable information on this subject, right now I need to check dhcp > leases or login over vnc. Thanks for any help.the bridging code is not responsible for tracking ip informations. you really have to check your dhcp leases which is the clean way. another trick is sending a broadcast ping to your client network and looking at the arp table. but this is just a dirty way Sebastian> > Lucas > ------------------------------------------------------------------------ > > _______________________________________________ > Bridge mailing list > Bridge at lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge-- Mit freundlichen Gr?ssen / Regards Sebastian Gottschall / CTO NewMedia-NET GmbH - DD-WRT Firmensitz: Wormser Stra?e 5 - 7, 64625 Bensheim Registergericht: Amtsgericht Darmstadt, HRB 25473 Gesch?ftsf?hrer: Peter Steinh?user, Christian Scheele http://www.dd-wrt.com email: s.gottschall at dd-wrt.com Tel.: +496251-582650 / Fax: +496251-5826565