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

Begum Bolu bbolu at hotmail.com
Mon Oct 26 15:02:23 CET 2009

Thank you very much Mr. Rinesmith, allocating a static ip to pc beyond the IP scope of the router worked like a breeze. i must say i wasn't expecting such a quick and at the same time an accurate answer. I really appeciated it.


From: arinesmith at bigrivertelephone.com
To: bbolu at hotmail.com; mrtg at lists.oetiker.ch
Subject: RE: [mrtg] how to configure MRTG with a dynamic IP address
Date: Mon, 26 Oct 2009 08:17:12 -0500

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 setup.
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 Hotmail on your iPhone 		 	   		  
Use Messenger in your Hotmail inbox Find out how here
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20091027/0738db4f/attachment.htm 

More information about the mrtg mailing list