Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
Search Forums:



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-17-2006
Registered User
 

Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 07-17-2006
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Thanks: 0
Thanked 1 Time in 1 Post
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:

Code:
who -u

For loginc cons or with

Code:
netstat -an

for any kind of connection.
Then whith:

Code:
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.
Sponsored Links
    #3  
Old 07-17-2006
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,466
Thanks: 0
Thanked 6 Times in 6 Posts
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.
    #4  
Old 07-18-2006
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by reborg
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.
Of course it is, but it's not very common that sysadmins have accesss to switches/routers/firewalls/etc... At least in my company
Sponsored Links
    #5  
Old 07-18-2006
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,466
Thanks: 0
Thanked 6 Times in 6 Posts
Quote:
Originally Posted by grial
Of course it is, but it's not very common that sysadmins have accesss to switches/routers/firewalls/etc... At least in my company

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.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 05:42 AM.