메뉴 건너뛰기

리눅스 관련 모음

본문시작

조회 수 341 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 


십 이삼 년 전에 KT 1Gb 인터넷 설치해서 사용중이다.

아래와 같은 시스템 환경에서 인터넷 연결 속도를 확인 해 본 결과 기가인터넷 공유기에 연결된 CAT.6 케이블의 Linux Server 속도가 100Mb로 인식되고 있음을 발견하고 그것을 해결하기 위해 몸부림 쳤던 과정을 글로 남긴다.


시스템 운영 현황:

1. KT 1G 인터넷 회선 사용

2. 1G 유무선공유기 구입 설치

3. 기존 사용하던 CAT.5, CAT.5e, CAT.6 랜선 혼합 사용.

4. CentOS 8 Linux Server는 CAT.6 랜선에 연결 운영 중이고,

    CentOS 8 백업용 Linux Server은 CAT.5 랜선에 연결 운영 중이며,

    사무실 윈도10 컴퓨터는 CAT.5e 랜선에 연결,

    그리고 윈도10 2층 자택 컴퓨터는 CAT.6 랜선으로 연결하여 사용하고 있음.


인터넷 속도 측정 결과:

1. Linux Server (CAT.6 케이블)  ------>  100Mb/s 인식 (1000Mb/s으로 인식되어야 정상)


# ethtool enp2s0
Settings for enp2s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes


2. 서버 속도를 1Gb로 변경하기 위해 아래와 같이 실행한 결과


# ethtool -s enp1s0 speed 1000 duplex full autoneg on   (설정은 되었으나 인터넷이 죽어 버림)

# ethtool enp2s0
Settings for enp2s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: no



3. on 대신 off 옵션을 줘서 재시도.


# ethtool -s enp1s0 speed 1000 duplex full autoneg off   (인식 못하고 인터넷이 죽어 버림)

# ethtool enp2s0
Settings for enp2s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: Unknown
        Duplex: Unknown !
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: no




1Gb 인식 못 하는 원인 분석



발생할 수 있는 가능한 원인 요소:

Lan Card 불량, RJ45 커넥터 및 케이블 불량, 공유기 불량, 운영체제 시스템 문제 등....


1. On board Lan Card를 사용했기에 큰맘 먹고 아주 저렴한 RTL8125-v3 Chip Set 장착된 랜카드 구입해서 시도했으나 ----> 같은 에러 발생함.

2. 기존 CAT.6 케이블 양쪽 끝단 RJ45 커넥터를 잘라내고 새로운 커넥터로 다이렉트 케이블을 두 번이나 작업해서 시도했으나 ----> 같은 에러 발생함.

3. 에러 발생 30M CAT.6 케이블을 서버에서 뽑아 윈도10 컴퓨터에 연결 해 봤지만 역시 100Mb로 인식함. -----> 그렇다면 30M 케이블 어딘가 접촉 불량일 수도 있는데.

4. 윈도10 CAT.5e 케이블을 메인 Linux server에 연결 해 봤음. ---->  1Gb 인식함.

5. 백업 리눅스 서버 CAT.5 케이블을 백업용 서버에서 테스트 및 메인 Linux Server에 연결 해 봤음. -----> 둘 다 100Mb 인식함.

6. 백업 리눅스 서버 CAT.5 케이블을 윈도10 컴퓨터에 연결 해 봤음. -----> 1Gb 인식함.  (윈도10은 인식하고 리눅스에선 인식 못 한다니..... 이런 개 같은 경우가.)

7. 공유기 불량 가능성을 염두에 두고 확인했으나 일단 윈도10 컴퓨터는 1G 인식되므로 확률이 낮아 보임.----> 단, 리눅스와 호환이 안 돼서 그럴까?  공유기 교체? 고민 많이 함.  교체 안 하기로...

8. 이제 남은 건 Linux Server 쪽에서 랜카드 드라이버나 네트워크 설정에 문제가 있다는 것.

RTL8125-v 드라이버도 최신버전으로 다운받아 설치 해 봤다.  네트워크 설정도 하나하나 꼼꼼하게 훑어서 체크 해 봤다. ----> 그런데도 불구하고 여전히 100Mb 인식 문제 해결 안 됨.

구글 검색해서 수많은 페이지 확인했으나 랜카드, RJ45 커넥터, UTP 케이블 불량에 관한 해결책뿐이었다.


CentOS 8 Linux Server 속도를 십 년 넘게 1Gb를 사용하지 못하고 나도 모르게 100Mb로 사용하고 있었다는 게 너무 속상했다.

그냥 그렇게 사용하기로 마음먹었지만, 자꾸 속상하고 분통 터져서 며칠 밤을 "도대체 왜 그럴까?" 곱씹으며 잠을 설쳤다.

그러다가 문득 번득거리며 의문이 생겼다.




해결 방법 찾음:


구닥다리 CAT5, CAT5e 두 케이블은 모두 이상 없이 잘 인식하는데 오직 CAT.6만 인식을 못 한다는 게 이상하지 않은가.


KT 제공 모뎀에서 공유기로 연결한 랜선에 의문을 품게 됐다.

모뎀과 공유기 WAN으로 연결된 케이블이 CAT.5e일까 CAT.6일까? 

확인 해 봤더니 CAT.5e 케이블이었다.

CAT.5e는 CAT.6보다 하위 버전이다.

CAT.5는 CAT.5e보다 하위 버전이다.

하위 버전은 상위 버전과 호환되지 않는다.

상위 버전은 하위 버전과 모두 호환된다.

즉, CAT.6가 제일 상위 버전인데 KT 모뎀에서 공유기로 연결해주는 케이블이 CAT.5e 하위 버전이라 공유기에 연결된 CAT.6 상위 버전을 호환시키지 못 하는 것이었다.


만약,

통신사 KT 모뎀에서 공유기 WAN 포트로 연결해 주는 케이블이 공유기에서 연결되는 케이블보다 하위 버전이라면 공유기에서 연결되는 케이블보다 상위버전이나 같은 버전으로 교체해라.


나는 미래를 위해 KT 모뎀과 공유기 WAN 포트로 연결되는 케이블을 상위 버전 CAT.7 1m 케이블로 교체해 줬다.

CAT.7 상위 버전의 케이블은 CAT.6, CAT.5e, CAT.5 하위 버전의 케이블과 모두 호환 된다.


이제 리눅스 서버에서도 인터넷 속도 1,000Mb로 서비스 중이다.


나의 무책임 무관심 때문에 10년 넘게 1Gb를 100Mb로 운영해 왔다는 것에 어이가 없고, 하찮은 원인 때문에 허망하다.

하지만, 그 하찮은 원인을 찾아 해결하기까지 몸부림 친 것에 가치를 부여하고 싶다.



   

  1. IPv6 비활성화 방법

    Date2023.04.01 Category설정 및 사용법 By햇빛소년 Views268
    Read More
  2. 기가인터넷 CAT.6 인터넷 속도 100Mb 인식 문제 해결

    Date2023.03.17 Category에러해결 By햇빛소년 Views341
    Read More
  3. 그누보드 영카트 대신택배 배송조회 깨짐 현상 정확한 URL 링크 주소.

    Date2022.08.23 Category에러해결 By햇빛소년 Views340
    Read More
  4. httpd: undefined symbol: apr_procattr_perms_set_register 에러 해결

    Date2018.12.04 Category에러해결 By햇빛소년 Views3240
    Read More
  5. PHP 7.2.1 configuration error 조치.

    Date2018.01.22 Category에러해결 By햇빛소년 Views3023
    Read More
  6. yum install 시에 Transaction check error: 발생할 때

    Date2017.01.12 Category에러해결 By햇빛소년 Views4929
    Read More
  7. firefox 재 시작시 특정 사이트만 자동로그인이 풀릴 때

    Date2016.07.11 Category설정 및 사용법 By햇빛소년 Views1281
    Read More
  8. route 및 iptables를 이용한 리눅스 특정 IP 접속 차단하는 법

    Date2016.06.14 Category설정 및 사용법 By햇빛소년 Views2474
    Read More
  9. bind ignoring out-of-zone data 에러에 대하여

    Date2016.05.30 Category에러해결 By햇빛소년 Views1200
    Read More
  10. 메일(mail) 인증 설정 및 발송 확인 테스트

    Date2016.05.26 Category설정 및 사용법 By햇빛소년 Views1096
    Read More
  11. mqueue 설정 및 사용법

    Date2016.05.26 Category설정 및 사용법 By햇빛소년 Views1783
    Read More
  12. selinux troubleshooting 해결 명령

    Date2016.02.28 Category에러해결 By햇빛소년 Views797
    Read More
  13. 리눅스 메인보드 정보확인 명령어

    Date2016.02.28 Category설치관련 By햇빛소년 Views2060
    Read More
  14. mariadb 소스설치시 Curses library not found. Please install appropriate package,

    Date2016.02.16 CategoryCentOS 7 By햇빛소년 Views2197
    Read More
  15. RHEL 7 / CentOS 7 : Disable Firewalld and use iptables

    Date2016.02.15 CategoryCentOS 7 By햇빛소년 Views1082
    Read More
  16. phpmyadmin 상위버전 설치시 "PHP 5.5+ is required" 에러 대처 방법

    Date2015.12.14 Category에러해결 By햇빛소년 Views3195
    Read More
  17. configure: error: snmp.h not found. Check your SNMP installation.

    Date2015.12.01 Category에러해결 By햇빛소년 Views907
    Read More
  18. 푸시 앱 연동과 카카오톡 링크 에러 해결을 마무리 하면서..

    Date2015.09.18 Category에러해결 By햇빛소년 Views1660
    Read More
  19. mysql root 및 사용자 계정 password(비밀번호) 변경 및 에러 대처.

    Date2015.08.11 Category에러해결 By햇빛소년 Views3231
    Read More
  20. named error -> dumping master file: tmp-6bFrQDtE5l: open: permission denied

    Date2015.05.06 Category에러해결 By햇빛소년 Views1058
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10