mac id

i want to know how to find the terminal or lst which is having the a particular mac id
my system cannot be connected from remote area in syslog it gives the mac add which is having a clash with my server ip , in my network there are more than 200 pc's and lts so i cant able to check physicaly . tell me how to trace the terminal with a particular macid

Well, If I've understood, what you want to know is the MAC of each PC connecting to your server, am I right? In that case, you will be able to know yor client IP giving:

who -u

For loginc cons or with

netstat -an

for any kind of connection.
Then whith:

arp -a

you can find which is the MAC for each IP...

But take into account that this will give you the "real" MAC for the workstations connected to the same network otherwise you will get your router's MAC.

To know your server's MAC, ifconfig -a as root will work.
Regards.

It mucheasier to do this from the network equipment level, since you should be able to identify the port on a switch the mac address is connected to.

First, temporarily, disconnect your server from the network.

Log into another machine on the same network.

If it's a unix client that is clashing:
telnet/ssh or whatever you use to connect to <ip of your server>. This should connect you to the rogue client.

If it's a windows machine and you logged into a different Solaris box
/usr/sfw/bin/nmblookup -A <ip of your server>
This should give you the netbios name and username of the person logged in.

Of course it is, but it's not very common that sysadmins have accesss to switches/routers/firewalls/etc... At least in my company :slight_smile:

Yes, you right there, many have access to the network administrators who can get this information, but that is not always the case, that is why I offered a different way of finding the machine.