Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] how to get a list of ip adresses
@ 2009-01-20  0:30 Łukasz Mierzwa
  2009-01-20  1:06 ` Sebastian Gottschall (DD-WRT) 
  0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Mierzwa @ 2009-01-20  0:30 UTC (permalink / raw)
  To: bridge

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 560 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] how to get a list of ip adresses
  2009-01-20  0:30 [Bridge] how to get a list of ip adresses Łukasz Mierzwa
@ 2009-01-20  1:06 ` Sebastian Gottschall (DD-WRT) 
  2009-01-20  2:41   ` richardvoigt
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Gottschall (DD-WRT)  @ 2009-01-20  1:06 UTC (permalink / raw)
  To: ?ukasz Mierzwa; +Cc: bridge

?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@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@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] how to get a list of ip adresses
  2009-01-20  1:06 ` Sebastian Gottschall (DD-WRT) 
@ 2009-01-20  2:41   ` richardvoigt
  2009-01-20  4:51     ` Sebastian Gottschall (DD-WRT) 
  0 siblings, 1 reply; 4+ messages in thread
From: richardvoigt @ 2009-01-20  2:41 UTC (permalink / raw)
  To: Sebastian Gottschall (DD-WRT); +Cc: bridge

On Tue, Jan 20, 2009 at 1:06 AM, Sebastian Gottschall (DD-WRT)
<s.gottschall@dd-wrt.com> wrote:
> ?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

Sounds like a good place to use dynamic DNS.  This can be
dhcp-integrated (dnsmasq does this well, Windows server dns daemon
does it as well) or using a client inside the virtual machine to
register its name with a web service (no-ip.com, dyndns.org, etc.)

>
> Sebastian
>>
>> Lucas
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Bridge mailing list
>> Bridge@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@dd-wrt.com
> Tel.: +496251-582650 / Fax: +496251-5826565
>
>
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] how to get a list of ip adresses
  2009-01-20  2:41   ` richardvoigt
@ 2009-01-20  4:51     ` Sebastian Gottschall (DD-WRT) 
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Gottschall (DD-WRT)  @ 2009-01-20  4:51 UTC (permalink / raw)
  To: richardvoigt@gmail.com; +Cc: bridge

richardvoigt@gmail.com schrieb:
> On Tue, Jan 20, 2009 at 1:06 AM, Sebastian Gottschall (DD-WRT)
> <s.gottschall@dd-wrt.com> wrote:
>   
>> ?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
>>     
>
> Sounds like a good place to use dynamic DNS.  This can be
> dhcp-integrated (dnsmasq does this well, Windows server dns daemon
> does it as well) or using a client inside the virtual machine to
> register its name with a web service (no-ip.com, dyndns.org, etc.)
>   
or chillispot / nocatauth /wifidog  etc. hotspot redirection services. 
that might work too, if the authentication page is designed in that way
>   
>> Sebastian
>>     
>>> Lucas
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Bridge mailing list
>>> Bridge@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@dd-wrt.com
>> Tel.: +496251-582650 / Fax: +496251-5826565
>>
>>
>> _______________________________________________
>> Bridge mailing list
>> Bridge@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@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-20  4:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20  0:30 [Bridge] how to get a list of ip adresses Łukasz Mierzwa
2009-01-20  1:06 ` Sebastian Gottschall (DD-WRT) 
2009-01-20  2:41   ` richardvoigt
2009-01-20  4:51     ` Sebastian Gottschall (DD-WRT) 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox