From: Peter Kwan Chan (peterkwanchan_at_yahoo.com)
Date: Thu 25 Jul 2002 - 02:17:24 BST
Hmm...Now I am not so sure.
When I said IP pre-bind, I meant that the IP has been configured on the
main server before the vserver starts, which is obviously the case for
you. Now, you may want to comment out the IPDev (or one of those lines,
I don't remember), so that vserver doesn't attempts to alias the IP
I am not sure about this either. Try commenting out first, and see if
things improve. Also, what's the output for this command? (iptables -L)
Make sure you use the latest version of bandmin as well.
From: Cathy Sarisky [mailto:sarisky_at_caltech.edu]
Sent: Wednesday, July 24, 2002 7:57 PM
Subject: RE: [vserver] bandmin?
I'm not sure if I entirely understand your answer. I have the IP used
main (not virtual) server set for eth0 (using linuxconf), with the IP
virtual server listed in the virtual server section. The result from an
ifconfig -a is that the IP for the main server is listed for eth0, and
for the virtual server is listed twice. Once for eth0:0, and once for
eth0:serv (it's a virtual server named serv1...)
The iptables list has both IPs listed in the bandmin rules. I did see
traffic logged earlier when I ssh'd to the IP of the vserver but got the
server. (I had forgotten to correct my sshd.conf file.) With a vserver
running and connections going to the vserver properly, I don't see any
being recorded by bandmin.
If you have another minute to spare for my problem, could you please
what you meant by pre-binding an IP?
Thanks in advance,
On Wednesday, July 24, 2002 5:02 PM, Peter Kwan Chan
> Let me venture a guess. You don't have IP pre-binded on the main
> and instead rely on vserver to bind the IP for you?
> If this is the case, bandmin won't know about your IP, and thus won't
> record the traffic.
> -----Original Message-----
> From: Cathy Sarisky [mailto:sarisky_at_caltech.edu]
> Sent: Wednesday, July 24, 2002 5:44 PM
> To: 'vserver_at_solucorp.qc.ca'
> Subject: [vserver] bandmin?
> I need to track bandwidth usage per vserver (which is per ip, since
> using the multi-ip functionality).
> I thought I'd use bandmin for this, since my dedicated server provider
> that I can't use their router to track individual IPs with mrtg.
> Bandmin is doing fine with the IP assigned to the main server, but
> traffic to the vserver.
> Does someone have this working with bandmin, or some other solution?
> Cathy Sarisky