HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can I trap MAC of TCP/IP login?
Operating System - HP-UX
1834163
Members
2482
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-1999 11:22 AM
12-16-1999 11:22 AM
Can I trap MAC of TCP/IP login?
Hi all,
Is there a way to trap the MAC address of TCP/IP connection to our HP-UX 10.20
server for some specific users?
For example to locate the MAC address of PC.domain.com was login as 'root' to
the server.
It will be difficult to catch if the user dialin to the NT network and telnet
to the Unix server after.
What is the best way to locate this user?
Thanks in advance for any advice.
Huy Vu.
Is there a way to trap the MAC address of TCP/IP connection to our HP-UX 10.20
server for some specific users?
For example to locate the MAC address of PC.domain.com was login as 'root' to
the server.
It will be difficult to catch if the user dialin to the NT network and telnet
to the Unix server after.
What is the best way to locate this user?
Thanks in advance for any advice.
Huy Vu.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-1999 12:47 PM
12-16-1999 12:47 PM
Re: Can I trap MAC of TCP/IP login?
You will have to do a little bit of work with this but just off the top of my
head you could do somthing like this
#!/bin/sh
# USAGE: macget.sh IPADDRESS
/usr/sbin/ping $1 -n 1 > /dev/null
/usr/sbin/arp -a | grep -i $1 | awk '{print $4}'
with a little bit of work you can use this to get the mac address of any user
you want if you know what their IP address is.
regards,
AG
head you could do somthing like this
#!/bin/sh
# USAGE: macget.sh IPADDRESS
/usr/sbin/ping $1 -n 1 > /dev/null
/usr/sbin/arp -a | grep -i $1 | awk '{print $4}'
with a little bit of work you can use this to get the mac address of any user
you want if you know what their IP address is.
regards,
AG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-1999 12:48 PM
12-16-1999 12:48 PM
Re: Can I trap MAC of TCP/IP login?
One thing I forgot to mention is that you are restricted to getting MAC
addresses of hosts in your own subnet as the others dont get stored in the arp
cache.
addresses of hosts in your own subnet as the others dont get stored in the arp
cache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-1999 03:58 PM
12-21-1999 03:58 PM
Re: Can I trap MAC of TCP/IP login?
For those nodes outside your current subnet,even they have not logined into
your server or worksation, you can still find out MAC if you have OpenView
NNM installed.
your server or worksation, you can still find out MAC if you have OpenView
NNM installed.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP