Sponsored Content
Special Forums IP Networking Tracing a MAC address to IP address: Solaris Post 302445552 by Neo on Monday 16th of August 2010 08:27:25 AM
Old 08-16-2010
Yes, you use arp command to trace MAC to IP addresses.
 

10 More Discussions You Might Find Interesting

1. Programming

Get Mac Address

:( Hi I am trying to get Mac address of of my Sun server from my C program running on the host machine. Any suggestions . (1 Reply)
Discussion started by: ss_hpov
1 Replies

2. UNIX for Dummies Questions & Answers

Mac address

Hi Can some one help me How do find out Mac address in Tru64 Unix Thank you (1 Reply)
Discussion started by: Syed_45
1 Replies

3. IP Networking

How do I mask my MAC address

I posted this thread under BSD but realized that it actually belongs here instead.... makes more sense to put it under IP. So without further delay on to my problem ... I havent been using UNIX for that long, so this question might sound quite stupid to most of you. I want to know how to mask my... (2 Replies)
Discussion started by: PenguinDevil
2 Replies

4. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

5. What is on Your Mind?

Tracing an e-mail address

Not sure if this is the right place to post this, but I thought I'd start here. Not really a Unix question, but I'm hoping the gurus here can help me in an area I know little about. Someone got one of my credit card numbers. Tried to use it to charge a bunch of stuff over the internet. The... (4 Replies)
Discussion started by: denverd0n
4 Replies

6. Solaris

How to assign MAC address to N/W interface in solaris

I m having interface ce0 ce1 and its sub interfaces for that. I want to give MAC addresses for the same. How will I assign it. Please give solution for the same (4 Replies)
Discussion started by: sunray
4 Replies

7. Solaris

Get ip address from mac address

I have following message in my messages file on solaris 10 WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies

8. SCO

MAC address

hi every one please help i want to change mac address in sco unix 5.0.6 how can i do this (3 Replies)
Discussion started by: kaydream
3 Replies

9. Solaris

How to resolve duplicated MAC address on Solaris server?

Hi folks, I found out the following: provadm@BKP_LIV_NPPGW_02:home/provadm%/usr/sbin/arp -a Net to Media Table: IPv4 Device IP Address Mask Flags Phys Addr ------ -------------------- --------------- -------- -------------------- ce5 BKP_OnM_NPPGW_02 255.255.255.255 SPLA 00:14:4f:44:e0:86... (1 Reply)
Discussion started by: kimurayuki
1 Replies

10. IP Networking

MAC Address - Four Interfaces with the same MAC Address

four interfaces with ifconfig all interfaces have the same mac. If is not set for unique. but it still works. what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
arp(1M) 						  System Administration Commands						   arp(1M)

NAME
arp - address resolution display and control SYNOPSIS
arp hostname arp -a [-n] arp -d hostname arp -f filename arp -s hostname ether_address [temp] [pub] [trail] [permanent] DESCRIPTION
The arp program displays and modifies the Internet-to-MAC address translation tables used by the address resolution protocol (see arp(7P)). With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot notation. Options that modify the ARP translation tables (-d, -f, and -s) can be used only when the invoked command is granted the sys_net_config privilege. See privileges(5). OPTIONS
-a Display all of the current ARP entries. The definition for the flags in the table are: d Unverified; this is a local IP address that is currently undergoing Duplicate Address Detection. ARP will not respond to requests for this address until Duplicate Address Detection completes. o Old; this entry is aging away. If IP requests it again, a new ARP query will be generated. This state is used for detecting peer address changes. y Delayed; periodic address defense and conflict detection was unable to send a packet due to internal network use limits for non- traffic-related messages (100 packets per hour per interface). This occurs only on interfaces with very large numbers of aliases. A Authority; this machine is authoritative for this IP address. ARP will not accept updates from other machines for this entry. L Local; this is a local IP address configured on one of the machine's logical interfaces. ARP will defend this address if another node attempts to claim it. M Mapping; only used for the multicast entry for 224.0.0.0 P Publish; includes IP address for the machine and the addresses that have explicitly been added by the -s option. ARP will respond to ARP requests for this address. S Static; entry cannot be changed by learned information. This indicates that the permanent flag was used when creating the entry. U Unresolved; waiting for ARP response. You can use the -n option with the -a option to disable the automatic numeric IP address-to-name translation. Use arp -an or arp -na to display numeric IP addresses. The arp -a option is equivalent to: # netstat -p -f inet ...and -an and -na are equivalent to: # netstat -pn -f inet -d Delete an entry for the host called hostname. Note that ARP entries for IPMP (IP Network Multipathing) data and test addresses are managed by the kernel and thus cannot be deleted. -f Read the file named filename and set multiple entries in the ARP tables. Entries in the file should be of the form: hostname MACaddress [temp] [pub] [trail] [permanent] See the -s option for argument definitions. -s Create an ARP entry for the host called hostname with the MAC address MACaddress. For example, an Ethernet address is given as six hexadecimal bytes separated by colons. The entry will not be subject to deletion by aging unless the word temp is specified in the command. If the word pub is specified, the entry will be published, which means that this system will respond to ARP requests for hostname even though the hostname is not its own. The word permanent indicates that the system will not accept MAC address changes for hostname from the network. Solaris does not implement trailer encapsulation, and the word trail is accepted on entries for compatibility only. arp -s can be used for a limited form of proxy ARP when a host on one of the directly attached networks is not physically present on a subnet. Another machine can then be configured to respond to ARP requests using arp -s. This is useful in certain SLIP configura- tions. Non-temporary proxy ARP entries for an IPMP (IP Network Multipathing) group are automatically managed by the kernel. Specifically, if the hardware address in an entry matches the hardware address of an IP interface in an IPMP group, and the IP address is not local to the system, this will be regarded as an IPMP proxy ARP entry. This entry will have its hardware address automatically adjusted in order to keep the IP address reachable so long as the IPMP group has not entirely failed. ARP entries must be consistent across an IPMP group. Therefore, ARP entries cannot be associated with individual underlying IP inter- faces in an IPMP group, and must instead be associated with the corresponding IPMP IP interface. Note that ARP entries for IPMP data and test addresses are managed by the kernel and thus cannot be changed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), netstat(1M), attributes(5), privileges(5), arp(7P) SunOS 5.11 5 Jan 2009 arp(1M)
All times are GMT -4. The time now is 12:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy