
모든 것이 잘 작동합니다. 왜 내 인터페이스가 일반적인 wlan0 대신 기본적으로 wlp2s0으로 변경되는지 알고 싶습니다.
답변1
이전(eth0, wlan0) 명명 표준에서 발생한 문제를 해결하기 위해 새로운 명명 체계가 도입되었습니다.
다음은 개념에 대한 간략한 소개와 설명입니다. http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
기본적으로 처음 두 글자는 인터페이스 유형을 설명합니다. Wlan은 'wl', 이더넷은 'en'입니다. 다음 코드는 컴퓨터에서 장치의 물리적 배치에 대한 설명인 경우가 많습니다. p2는 아마도PCI버스 2이고 s0은 슬롯 0일 가능성이 높습니다.
kyodake가 지적했듯이 이 새로운 표준은 Ubuntu가체계화된.
답변2
systemd가 있는 Ubuntu가 systemd/udevd에 다양한 명명 정책에 대한 기본 지원을 추가하고 biosdevname과 유사한 체계를 기본값으로 만든 이유는 무엇입니까? 네트워크 인터페이스에 대해 다음과 같은 다양한 명명 체계가 이제 udev에서 기본적으로 지원됩니다.
(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)
기본적으로 systemd는 이제 정책에 따라 인터페이스 이름을 지정합니다.
(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.