<div class="gmail_quote">On Mon, Jul 26, 2010 at 9:21 AM, Myke G <span dir="ltr"><<a href="mailto:mykel@mware.ca">mykel@mware.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff"><div><div></div><div class="h5">
On 2010-07-26 09:55, Tony Zakula wrote:
<blockquote type="cite">On Sun, Jul 25, 2010 at 2:47 AM, Dietmar Maurer <span dir="ltr"><<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>> I know you can get the ip address of a
container from the host machine.<br>
<br>
</div>
I am not aware of that feature?<br>
<div><br>
> I am aware of the /etc/qemu-server/100.conf file for
the qemu<br>
> machines, but that does not contain the ip address. I
am using an<br>
> Ubuntu Server in the KVM. Is there any way to get the
ip address being<br>
> used from the Proxmox host? Or on the host bridge
using ip tables?<br>
> Does anyone have an idea? My last piece to my puzzle.<br>
<br>
</div>
Most users have a DHCP servers somewhere. So the VMs directly
get there IPs from that DHCP server.<br>
<font color="#888888"><br>
- Dietmar<br>
</font></blockquote>
<div><br>
</div>
<div>Thank you. However, I am trying to engineer a hosting
environment where each ip address would be a dedicated NAT. I
would like to use the Proxmox hardware node to do all the
accounting of ip traffic of each VM guest which will then feed
to a centralized server. My theory is that this eliminates
performance issues upstream of taking care of this. I have
most of this working. Since you cannot reach inside of a
guest KVM, I need to find another way using the hardware node
bridge which is using iptables if possible. I am sure it can
be done. I just haven't figured it out yet.</div>
<div><br>
</div>
<br>
</div>
</blockquote></div></div>
Look at the arp cache? 'arp -an' ?<br>
<br>
It's the only way I can think of...<br>
</div>
<br></blockquote><div><br></div><div>Thanks! I will investigate that avenue. </div></div><br>