(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Networking :
How do I list my IP and MAC addresses for all configured nics?
Use the 'ifconfig -a' command to see a good deal about net0, net1, etc. You can also find the Media Access Control (MAC) address with:
      ndstat
      arp -a
      cat /etc/inet/macaddr
It is useful to poke around with ndstat to understand how you can modify your MAC address if you are doing fail-over tasks.
To get the MAC addresses of all the NICS on your subnet:
      *  You can enable replies to broadcast pings on all the hosts.
      *  You can then ping your subnet's broadcast address.
      *  All the nics will respond.
      *  Run an 'arp -a' and all the NICS + MAC's + IP's will be listed.
To use 'inconfig' to enable response to broadcast pings, you will want to direct each host to reply to icmp activity:
      inconfig arpt_keep 1200
      inconfig icmp_reply_broadcast 1
This will make arp keep it's data in it's cache for 1200 sec, and direct the nics to reply as described.

<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Previous: (Answer) What is a good brand of nic to use in Uw7/OSR6?
Next: (Answer) How do I list my routing table?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=105
[Search] [Appearance]
This is a Faq-O-Matic 2.721.