• 돌아가기
  • 아래로
  • 위로
  • 목록
  • 댓글
질문

리눅스 ip 설정중에 디바이스 질문이요!

왕밤만쥬 83

0

4
profile image 2등
quad 2022.06.30. 09:58

ens인걸 보니 아마도 RED HAT 계열인 모양입니다.

 

사람이든 사물이든 부르는 이름이 있어야죠.

ens192는 네트워크 어댑터의 이름입니다.

 

ens : 해당 이름이 네트워크 어댑터의 이름인 것을 쉽게 알기 위한 접두사. 다른 OS는 eth 라고 쓰는 것도 있습니다.

192 : 해당 네트워크 어댑터가 물고 있는 PCI slot No.

3등
neidn 2022.06.30. 10:09

어댑터 이름인데 바꿔 붙이기 나름이에요

업체마다 규칙이 다르니 사수에게 물어보는게 가장 빠를거에요

grimoire 2022.07.01. 00:41

https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

 

1. Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1)

2. Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1)

3. Names incorporating physical/geographical location of the connector of the hardware (example: enp2s0)

4. Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da)

5. Classic, unpredictable kernel-native ethX naming (example: eth0)

 

By default, systemd v197 will now name interfaces following policy 1) if that information from the firmware is applicable and available, falling back to 2) if that information from the firmware is applicable and available, falling back to 3) if applicable, falling back to 5) in all other cases. Policy 4) is not used by default, but is available if the user chooses so.

 

읽어보시면 아시겠지만 systemd v197부터의 어댑터 네이밍 규칙이 이런 식이라고 합니다. 위의 5가지 방법 중 기본적으로 1, 2, 3, 5 순으로 적용합니다. (4는 기본적으로 미사용, 설정을 통해 순서 및 사용 여부 변경 가능)

댓글 쓰기 권한이 없습니다. 로그인

취소 댓글 등록

cmt alert

신고

"님의 댓글"

이 댓글을 신고하시겠습니까?

댓글 삭제

"님의 댓글"

삭제하시겠습니까?


목록

공유

facebooktwitterpinterestbandkakao story
번호 분류 제목 글쓴이 날짜 조회 추천
잡담 proxmox로 갈아탔습니다 7 기현 1일 전07:34 370 +2
잡담 Immich가 FUTO에 합류했습니다.(Immich 핵심 팀은 정규직으로 근무합니다.) 4 달소 2일 전11:38 284 +1
정보 오픈아이콘 제공 사이트(https://cdn.jsdelivr.net) 오류 발생 => 복구됨 2 지딱코 3일 전14:31 226 +1
3895 잡담
image
purndal 5시간 전00:52 43 0
3894 질문
normal
스키피95 1일 전00:07 98 0
3893 질문
normal
고심분투 1일 전17:10 174 0
3892 질문
image
경호 1일 전15:50 84 0
3891 질문
normal
경호 1일 전13:23 54 0
3890 잡담
image
기현 1일 전07:34 370 +2
3889 잡담
image
keiminem 2일 전13:12 464 0
3888 잡담
normal
달소 2일 전11:38 284 +1
3887 질문
image
EXP 3일 전23:48 88 0
3886 질문
normal
홍익 3일 전19:26 216 0
3885 정보
image
지딱코 3일 전14:31 226 +1
3884 가이드
image
달소 4일 전22:22 376 +3
3883 가이드
image
ljr10 4일 전08:20 173 0
3882 가이드
image
달소 4일 전06:46 190 +1
3881
image
달소 5일 전05:50 219 +6
3880 정보
image
달소 5일 전05:38 130 0
3879 잡담
image
달소 5일 전05:20 426 0
3878 오픈소스
image
keiminem 5일 전17:43 372 +3
3877 질문
normal
purndal 5일 전14:32 243 0
3876 질문
image
초보나스 5일 전10:46 109 0