[mrtg] how to configure MRTG with a dynamic IP address

Anson Rinesmith arinesmith at bigrivertelephone.com
Mon Oct 26 14:17:12 CET 2009

Not really on topic for MRTG, I don't feel it was the designer's intent to
have to keep track of what IP a server might have.

On a networking note, there are two ways to solve this.

1) Allocate a static IP to the PC in question. Sounds like you are only
using 100+ so 2-99 would be a good choice. This is a pretty common network

2) A second way is to have your router do static leases based on MAC
addresses, although not many SOHO class routers handle this.



From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of Begum Bolu
Sent: Monday, October 26, 2009 7:38 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] how to configure MRTG with a dynamic IP address


I have a modem-router(Huawei E960) which sets up the IP addresses
dynamically. A pc that boots up first gets and second gets
x.x.x.101 and so on. i only know how to setup monitoring network traffic by
using the ip address of the pc at the time of the configuration. that works
fine till the rest of the day but makes an issue after shut down and the
bootup order of the Pcs is changed. Basically it doesnt graph any traffic
after the ip address is changed.
i searched mrtg mail achieves a lot yesterday. only found 2 possible
solutions but i am not sure neither of them. thats why i am asking for your
help. one of the solutions was reseting the registry of 'ip address lease
after shutdown'. my initial thought was assigning one ip address to a
computer indefinitely might create some problems later on. i might be wrong.
if this is a good solution, i would like to know the reasons. the second
solution was a dhcp script for mrtg by Eric Garnel. i didnt quite understand
how to modify the code and its pretty old message (way back in 2003). 
I really would like to get this MRTG working. Any assist that will help me
to achieve that would be appreciated.


Find out how here Get
<http://windowslive.ninemsn.com.au/article.aspx?id=845706>  Hotmail on your

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20091026/077897cc/attachment-0001.htm 

More information about the mrtg mailing list