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 |