RE: network addresses

Barlow, Graham K (BarlowGK@bp.com)
Fri, 29 Jan 1999 08:19:08 -0000

>From: Deborah J Kerwood[SMTP:djkerwoo@mailbox.syr.edu]
>
>Does anyone know the command to get the ethernet address for
>SGI's INDY running IRIX6.2? Thanks in advance.

Debbie, there are many ways, one would be to use the command

/usr/etc/netstat -in

And then look in the column headed Address. Ignore the value 127.0.0.1
(this is the address that all machines use for internal communications,
commonly called 'loopback'). If you have more than one Ethernet card (eg.
one to talk to the outside world and one to communicate with a spectrometer)
then they will all be listed. In the example below, the line beginning ec0
refers to general communications and the one beginning ec1 is communication
to the spectrometer:

xtp820:barlowgk [8:10] ~ 101 % /usr/etc/netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
Coll
ec0 1500 123.234 123.234.5.67 8406912 2 2092669 0
0
ec1 1500 149.236.99 149.236.99.1 5667817 0 4101367 0
0
lo0 8304 127 127.0.0.1 38850 0 38850 0
0

-- 
Dr Graham Barlow
BP Chemicals 100/04, Sunbury, TW16 7LN