<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 2010-07-26 09:55, Tony Zakula wrote:
<blockquote
cite="mid:AANLkTi=evHHfhiG+REVM_y6UwEPKEeAdyja0JHDt5WBC@mail.gmail.com"
type="cite">On Sun, Jul 25, 2010 at 2:47 AM, Dietmar Maurer <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:dietmar@proxmox.com">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 class="im">> 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 class="im"><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>
Look at the arp cache? 'arp -an' ?<br>
<br>
It's the only way I can think of...<br>
</body>
</html>