본문 바로가기 메뉴 바로가기

blog.helperchoi.com

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

blog.helperchoi.com

검색하기 폼
  • 블로그 전체보기 (179)
    • System Story (144)
      • CentOS 5,6 (104)
      • CentOS 7 (14)
      • Ubuntu (4)
      • Suse Linux (0)
      • Windows (5)
      • Database (7)
      • Ansible (0)
      • Python3 (3)
      • Perl (0)
      • Go Language (0)
      • Project (1)
      • ETC (1)
      • Youtube - Tip4Linux (5)
    • Cloud Story (10)
      • Cloud Stack (6)
      • Open Stack (1)
      • Vmware vSphere (0)
      • KVM (0)
      • Xen Server (1)
      • Type2 Hypervisor (2)
    • Life Story (25)
      • 소소한 이야기 (8)
      • 담는 법 (3)
      • Review (8)
      • 꽁치네집 (5)
      • 6x6 (1)
  • 방명록

ifconfig (4)
Ethernet 교체후 eth Device Name 인식 실패시 조치

Ethernet Card 교체후 OS 부팅시 기존 /etc/sysconfig/network-scripts 이하에 ifcfg 상 정의 되어있는 HWADDR 가 있을 경우 아래와 같이 ifconfig 시 Device name 이 상이하게 표기 될 경우가 있다. [root@Server02 network-scripts]# ifconfig -a | more __tmp134357958 Link encap:Ethernet HWaddr 80:C1:6E:AA:13:80 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 ..

System Story/CentOS 5,6 2014. 1. 19. 03:13
네트워크 인터페이스 txqueuelen 설정

1. ifconfig 명령으로 변경가능한 txqueuelen 값은 리부팅시 초기화됨. 따라서 아래와 같이 rc.local 등에 추가하는 방법으로 적용가능 ifconfig | grep eth | awk '{print $1}' | xargs -i{} ifconfig {} txqueuelen 10000 grep "txqueuelen 10000" /etc/rc.d/rc.local || echo -e "ifconfig | grep eth | awk '{print \$1}' | xargs -i{} ifconfig {} txqueuelen 10000" >> /etc/rc.d/rc.local 2. 또는 아래와 같이 ip 명령을 통해 변경도 가능. [root@s-node01 perl]# [root@s-node01 per..

System Story/CentOS 5,6 2013. 11. 10. 20:45
IP Alias

Linux 시스템에서는 하나의 물리적인 Ethernet Device에 대해서 가상의 Device를 추가하여 할당 할 수 있으며 설정 과정은 아래와 같다. 1. ifconfig 명령을 통한 추가 [root@TEST02 ~]# [root@TEST02 ~]# ifconfig eth0:1 192.168.137.40 netmask 255.255.255.0 up [root@TEST02 ~]# 2. ip 명령을 통한 추가 [root@TEST02 ~]# [root@TEST02 ~]# ip addr add 192.168.137.40/24 dev eth0 [root@TEST02 ~]# 3. 추가된 Ethernet Alias 확인 [root@TEST02 ~]# ifconfig eth0 Link encap:Ethernet H..

System Story/CentOS 5,6 2013. 11. 10. 20:13
모든 네트워크 인터페이스를 기준으로 Link 활성화 대상 찾기

Linux OS상에 인식된 Ethernet Device 에 대하여 Speed와 Link 여부를 아래와 같은 명령으로 확인 가능하다. [root@TEST01 ~]# [root@TEST01 ~]# for LIST in `ip addr | grep -w mtu | cut -d ":" -f 2 | egrep -v 'lo|inet|virbr'`; do echo "${LIST} - `ethtool ${LIST} | egrep 'Speed|Link detected'`" && echo; done eth0 - Speed: Unknown! Link detected: no eth1 - Speed: 10000Mb/s Link detected: yes eth2 - Speed: 10000Mb/s Link detected: yes..

System Story/CentOS 5,6 2013. 11. 10. 18:23
이전 1 다음
이전 다음
반응형
공지사항
  • ::::::: 이 블로그는? :::::::
최근에 올라온 글
  • Shell - 변수 타입 확인하기
  • Linux OS에서 CPU Architecture⋯
  • PS4 Remote Play 테스트 영상
  • 파일을 지울 수 없어?! Argument list⋯
최근에 달린 댓글
  • 안녕하세요 혹시 해당 내용처럼 vi /etc/modpr⋯
  • 네 도움이 되셨다니 다행입니다.
  • 덕분에 유용하게 잘썼습니다. 감사합니다.
  • 도움이 되셨다니 저도 기분좋네요!
Total
298,037
Today
28
Yesterday
114

Blog is powered by Tistory / Designed by Tistory

티스토리툴바