#66261 - 2002-06-06 06:01 PM
MAC Address
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Is there a script or program that will enumerate remote MAC addresses (not necessarily PCs, just nodes) for given IPs? I have fiddled with ping and arp and had limited success.
Brian
|
Top
|
|
|
|
#66263 - 2002-06-06 07:40 PM
Re: MAC Address
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Hmm. thanks for the good info... but I don't think that will work for non-Windows OSes. I'm specifically talking about hp jetdirect print servers and linux machines.
Brian
|
Top
|
|
|
|
#66265 - 2002-06-06 09:33 PM
Re: MAC Address
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
I have been fiddling around with it but it only works on the local subnet.
Brian
|
Top
|
|
|
|
#66266 - 2002-06-06 09:41 PM
Re: MAC Address
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Each router maintains its own list of MAC addresses that it has seen. I think you will have to hit each router and consolidate the lists.
|
Top
|
|
|
|
#66268 - 2002-06-06 11:50 PM
Re: MAC Address
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Sorry, I'll ease up on the Perl stuff.
|
Top
|
|
|
|
#66269 - 2002-06-07 12:35 AM
Re: MAC Address
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Oh!... Don't be sorry Howard. We all love KiXtart, but we all also want solutions to our problems as well, even if it is not KiXtart.
|
Top
|
|
|
|
#66270 - 2002-06-07 12:48 AM
Re: MAC Address
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Les, Yeah what he said!
|
Top
|
|
|
|
#66272 - 2002-06-07 02:27 AM
Re: MAC Address
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
You know, I have an empty KiXtart web page on my site. I just can find anything to post on it that is not already here. I can't really compete in the KixTart arena.
|
Top
|
|
|
|
#66274 - 2002-06-07 02:38 AM
Re: MAC Address
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Don't hurt yourself
|
Top
|
|
|
|
#66275 - 2002-06-07 04:26 PM
Re: MAC Address
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
I actually found some code written in C, but I don't have a C compiler so that doesn't do me too much good. It's not really a huge big deal.. I just thought it would be nice to have a command-line utility that resolves MAC addresses. This would help me in managing printer queues, mainly. Thanks for the effort guys.
Brian
|
Top
|
|
|
|
#66277 - 2002-06-07 08:26 PM
Re: MAC Address
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
We are using static IPs for our printers (I wish we weren't, but that's not my decision.)..
Brian
|
Top
|
|
|
|
#66278 - 2002-06-07 08:48 PM
Re: MAC Address
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Brian,
Send me your c code.. I should be able to compile it fer ya..
Kent
|
Top
|
|
|
|
#66279 - 2002-06-10 02:35 AM
Re: MAC Address
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Thanks, Kent.. I'm not worried about it anymore, though. I've been given the job of maintaining print queues (along with my many other duties -- IE patches, investigating SMS, logon scripts, McAfee deployment and updates, proxy server/monitoring software, various and sundry desktop support issues)... Anyway, we are converting from token ring to ethernet and I was updating the database including MAC addresses... but I found another way to do it (albeit a hair less convenient) via HP Web Jet Admin.
Brian
P.S. If you want to look at the C++ code, I found it here:
http://tangentsoft.net/wskfaq/examples/getmac-snmp.html
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 507 anonymous users online.
|
|
|