Unix 장비별 MAC Address 확인 방법 os.unix.shell

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 mtu 1500
    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
#
-----------------------------

덧글

  • 그렇군 2010/01/29 11:34 # 삭제 답글

    좋은 정보 잘보고 갑니다 감사합니다.
댓글 입력 영역