http://base.yonsei.ac.kr/infolab/manual/macaddr/check_mac_addr.html
1. Linux : ifconfig -a (/sbin/ifconfig -a)
-----------------------------
eth0 Link encap:Ethernet HWaddr 00:50:xx:xx:xx:xx
inet addr:192.168.1.100 Bcast:192.168.123.255 Mask:255.255.255.0
... 생략 ...
#
-----------------------------
2. Solaris : ifconfig -a (root로 실행해야 합니다.)
-----------------------------
# ifconfig -a
hme0: flags=863
inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:xx:xx:xx:xx
#
-----------------------------
3. AIX : lscfg -vp 또는 lscfg -vpl
-----------------------------
# lscfg -vpl ent0
DEVICE LOCATION DESCRIPTION
ent0 21-08 IBM 10/100 Mbps 이더넷 PCI 어댑터
(23100020)
Network Address.............0006xxxxxxxx
Displayable Message.........PCI Ethernet Adapter (23100020)
Device Specific.(YL)........P1/E1
... 생략 ...
#
-----------------------------
4. HP-UX : lanscan
-----------------------------
# /etc/lanscan
Hardware Station Crd Hardware Net-Interface NM Mac HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
2/0/2 0x0800xxxxxxxx 0 UP lan0 UP 4 ETHER Yes 52
#
-----------------------------
5. Digtal UNIX : netstat -in 또는 uerf
-----------------------------
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
... 생략 ...
fta0 4352 00:00:xx:xx:xx:xx 13775882 0 13642091 0 0
#
-----------------------------
6. SGI : nvram |grep eaddr 또는 netstat -ia
-----------------------------
# nvram |grep eaddr
eaddr=08:00:xx:xx:xx:xx
#
-----------------------------
'UNIX' 카테고리의 다른 글
네트워크 구성 (0) | 2004.12.08 |
---|---|
Unix 서버 비교 (0) | 2004.11.23 |
Solaris hostname 변경법 (0) | 2004.11.18 |
[Redhat] 호스트명(hostname) 변경하기 | ++ Linux ++ (0) | 2004.11.18 |
prompt setting (0) | 2004.11.11 |