ifconfig가 Linux Mint에 enp1s0을 표시하지 않습니까?

ifconfig가 Linux Mint에 enp1s0을 표시하지 않습니까?

저는 리눅스 민트를 사용하고 있습니다

ifconfig

enp1s0은 표시되지 않습니다. 그냥 보여요

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::c364:e1b0:d52d:657f  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:77:c5:b8  txqueuelen 1000  (Ethernet)
        RX packets 164217  bytes 182814329 (182.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 50303  bytes 6603681 (6.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 9297  bytes 817576 (817.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9297  bytes 817576 (817.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

네트워크 어댑터를 NAT에서 브리지 어댑터로 변경했습니다. 기본적으로 비활성화되어 있는 경우 활성화하기 위해 이 명령을 입력했습니다.

ifup enp1s0

다음 메시지를 받았습니다:

Unknown interface enp1s0

네트워크 어댑터

 sudo lshw -C network

*-network                 
       description: Ethernet interface
       product: 82540EM Gigabit Ethernet Controller
       vendor: Intel Corporation
       physical id: 3
       bus info: pci@0000:00:03.0
       logical name: enp0s3
       version: 02
       serial: 08:00:27:77:c5:b8
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=192.168.1.10 latency=64 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:19 memory:f1200000-f121ffff ioport:d020(size=8)

답변1

인터페이스가 구성되지 않은 경우/etc/네트워크/인터페이스에는 표시되지 않습니다.구성된 경우기본 출력이지만 확인할 수 있습니다.

~$: ifconfig -a
~$: ip address show

사용 가능한 인터페이스를 확인하세요.

~$: ls /sys/class/net

관련 정보