2010. 3. 30. 14:33
리눅스 dmesg 를 통한 eth 포트의 down / up 구분
2010. 3. 30. 14:33 in 내가쓰는리눅스 강좌
리눅스 dmesg 를 통해서
서버에 연결된 랜포트들을 구분할 수 있다.
서버쪽의 랜포트를 뽑고 나면 eth 포트의 링크가 down 된게 되고
이것은 리눅스 서버에서 dmesg | grep eth 명령으로
맨 아래쪽에 업데이트가 된다.
즉 랜포트를 뽑고 서버에서 dmesg | grep eth 명령으로 확인하면
아래쪽에 링크 UP 과 DOWN 을 확인할 수 있다.
서버에 연결된 랜포트들을 구분할 수 있다.
서버쪽의 랜포트를 뽑고 나면 eth 포트의 링크가 down 된게 되고
이것은 리눅스 서버에서 dmesg | grep eth 명령으로
맨 아래쪽에 업데이트가 된다.
즉 랜포트를 뽑고 서버에서 dmesg | grep eth 명령으로 확인하면
아래쪽에 링크 UP 과 DOWN 을 확인할 수 있다.
[root@mbuIVR1:~ ] dmesg | grep eth
divert: not allocating divert_blk for non-ethernet device lo
divert: allocating divert_blk for eth0
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth1
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth2
e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth3
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog_task: NIC Link is Down
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog_task: NIC Link is Down
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Half Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Down
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth3: e1000_watchdog_task: NIC Link is Up 100 Mbps Half Duplex
e1000: eth3: e1000_watchdog_task: NIC Link is Down
e1000: eth3: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
divert: not allocating divert_blk for non-ethernet device sit0
eth2: no IPv6 routers present
eth3: no IPv6 routers present
eth1: no IPv6 routers present
eth0: no IPv6 routers present
e1000: eth2: e1000_watchdog_task: NIC Link is Down
eth2: no IPv6 routers present
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Down
eth2: no IPv6 routers present
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Down
e1000: eth0: e1000_watchdog_task: NIC Link is Down
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
eth2: no IPv6 routers present
eth0: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Down
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
eth1: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth3: e1000_watchdog_task: NIC Link is Down
eth3: no IPv6 routers present
e1000: eth3: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
[root@mbuIVR1:~ ]
divert: not allocating divert_blk for non-ethernet device lo
divert: allocating divert_blk for eth0
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth1
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth2
e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
divert: allocating divert_blk for eth3
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog_task: NIC Link is Down
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog_task: NIC Link is Down
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Half Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Down
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth3: e1000_watchdog_task: NIC Link is Up 100 Mbps Half Duplex
e1000: eth3: e1000_watchdog_task: NIC Link is Down
e1000: eth3: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
divert: not allocating divert_blk for non-ethernet device sit0
eth2: no IPv6 routers present
eth3: no IPv6 routers present
eth1: no IPv6 routers present
eth0: no IPv6 routers present
e1000: eth2: e1000_watchdog_task: NIC Link is Down
eth2: no IPv6 routers present
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Down
eth2: no IPv6 routers present
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth2: e1000_watchdog_task: NIC Link is Down
e1000: eth0: e1000_watchdog_task: NIC Link is Down
e1000: eth2: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
eth2: no IPv6 routers present
eth0: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Down
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
eth1: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth3: e1000_watchdog_task: NIC Link is Down
eth3: no IPv6 routers present
e1000: eth3: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
[root@mbuIVR1:~ ]
'내가쓰는리눅스 강좌' 카테고리의 다른 글
리눅스 여유 메모리 체크 관련 (2) | 2011.05.17 |
---|---|
리눅스에서 임의의 파일 생성 (2) | 2010.11.16 |
리눅스 VNCSERVER 설정 방법 (3) | 2010.07.14 |
텍스트 파일을 잘라보자. split (0) | 2010.05.31 |
리눅스 시스템의 부팅시 파일무결성 체크 강제로 하기 (0) | 2010.04.19 |
28. CentOS 에서 yum 수행시 repo 사이트 추가 (0) | 2009.12.23 |
27. CentOS 에서의 한글 설정 (3) | 2009.11.24 |
26. ethtool 사용하기 spped 와 duplex 변경 (6) | 2009.11.23 |
25. sort 명령어 (2) | 2009.11.05 |
24. tar 압축파일에 관해서 (0) | 2009.09.15 |