ifconfig ens32 치면 not found error가 뜹니다
글쓴이: 구수연 (velyGoo)@Google / 작성시간: 토, 2017/02/04 - 3:56오후
리눅스 초보입니다. 책을보며 실습중인데 잘되던 명령어가 갑자기 안먹히네요 .. 초보다 보니 어디서 부터 잘못됬는지도 모르겠구..
어떤분이 데몬을 재부팅 하면 된다길래 해봤는데 안먹혔어요...
혹시나 해결 답을 아시는분 댓글 부탁드려요 :) (도와주세요ㅠㅠ)
[root@localhost ~]# ifconfig ens32 ens32: error fetching interface information: Device not found [root@localhost ~]# ifconfig 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 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 p3p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.111.100 netmask 255.255.255.0 broadcast 192.168.111.255 inet6 fe80::20c:29ff:fe99:9bb8 prefixlen 64 scopeid 0x20<link> ether 00:0c:29:99:9b:b8 txqueuelen 1000 (Ethernet) RX packets 8804 bytes 6325293 (6.0 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8215 bytes 6274541 (5.9 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 18 base 0x2000 virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 ether a2:8c:b3:89:1d:1d txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Forums:
https://access.redhat.com
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Consistent_Network_Device_Naming.html
문서를 읽어 보시면 ethernet device nameing 에 대해서 좀 이해가 되실 겁니다. 영어 문서이기는 하지만, 요즘 구글 번역 품질이 좋아졌으니 영어가 좀 그러시면, 구글 번역 이용해서 한번 읽어 보시면 도움이 되실 겁니다.
아니면 부팅 시에 kernel parrameter에 biosdevname=0 옵션 또는 net.ifnames=0 을 넣어 주시면 기존의 eth0 등의 방식을 그대로 사용할 수 있습니다.
댓글 달기