반응형
dell 장비로 test 진행
dell 장비는 이더넷 포트 네임이 em1 로 부터 시작한다.
[root@localhost ~]# ifconfig -a|grep ^em
em1 Link encap:Ethernet HWaddr 18:66:D
em2 Link encap:Ethernet HWaddr 18:66:D
em3 Link encap:Ethernet HWaddr 18:66:D
em4 Link encap:Ethernet HWaddr 18:66:D
hp 장비 일 경우 하기와 같이 em 을 eth 로 변경 해서 확인하면 된다.
[root@localhost ~]# ifconfig -a|grep ^eth
다른 이름없이 맥 주소만 보고싶은 경우 하기와 같이 입력하면 된다.
[root@localhost tmp]# ifconfig -a | grep ^em | awk '{print $5}'
18:66
18:66:
18:66:D
18:66:D
반응형
'# IT # > Linux' 카테고리의 다른 글
# linux mysql , MariaDB 버전확인 방법 # (0) | 2018.02.01 |
---|---|
# linux 7 Centos 7 redhat 7 / hostname 변경 # (0) | 2018.01.23 |
# mysql 패스워드 초기화 방법 # (0) | 2017.12.12 |
# Centos 6.8 cd mount(yum install) / local repo # (0) | 2017.12.11 |
# linux 7 최소 설치 후 network 설정 방법 # (0) | 2017.12.08 |