[mrtg] Re: Help on MRTG polling using MAC address
Arminder Singh
m-list at pugmarks.com
Wed Aug 21 18:12:39 MEST 2002
Dear Rich,
Thanks a lot for such a wonderful suggestion. What I have is that all
servers are on same subnet and connected to using managed switches. What I
will will do is that I will try this thing out and lets hope that it would
work (well...it should).
Regards
Arminder Singh
----- Original Message -----
From: "Rich Adamson" <radamson at routers.com>
To: <mrtg at list.ee.ethz.ch>
Cc: "Arminder Singh" <m-list at pugmarks.com>
Sent: Wednesday, August 21, 2002 7:49 PM
Subject: [mrtg] Re: Help on MRTG polling using MAC address
>
> Arminder,
>
> Mrtg uses snmp (a layer-3 protocol), which requires a layer-3 IP address
to
> function. One way to fake the IP address of each remote device is to set
> up permanent ARP table entries in the mrtg machine. This approach assumes
> there are no routers with proxy arp between the mrtg machine and the boxes
> that you'd like to poll.
>
> If the mrtg machine is a Windows box, then:
> arp -s 192.168.155.1 00-aa-00-62-c6-09 .... Adds a static entry.
>
> If the mrtg machine is a Unix box, then "man arp" for the proper syntax
> as it varies slightly from one OS to another.
>
> The above approach creates a permanent arp table entry in the mrtg box,
and
> mrtg would be configured to poll the 192.168.155.1 address (using the
above
> example). Whatever the actual IP address is of the remote box then becomes
> irrelevant.
>
> If there is a router between the mrtg box and the remote device, one would
> need to create permanent arp table entries in each router as well.
>
> Rich
>
> ------------------------
> > Now, the problem I'm facing is that I need to setup MRTG wherein I need
to poll using MAC
> addresses instead of IP address.
> >
> > I am having lots of Linux & Windows servers. I couldn't poll using eth0
cause then I would
> need to run MRTG there on each server. The problem is that IP addresses
needs to be changed and
> keep on shifting to other server. So whenever such change occur, I need to
change the MRTG
> configuration. Also I can't poll on switch because sometimes
re-structuring needs to be done.
> >
> > Now since we don't change NICs, they are the only static things which
don't change. If anybody
> of you could guide me to any patch/hack available for MRTG which could
help me solve my problem,
> that would be highly appreciative.
> >
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list