리눅스 분류
초보입니다.. centos7 네트워크 설치 실패;;
작성자 정보
- 김핼 작성
- 작성일
컨텐츠 정보
- 2,953 조회
- 1 댓글
- 0 추천
- 목록
본문
가상머신 vmware에 centos7 GNUM데스크탑으로 설치하고 네트워크 설정하고 restart 하려고 하는데..
[root@localhost etc]# systemctl restart network
Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
실패됩니다.
네트워크 설정은...
----------------------------------------------------------------------------------
cat /etc/sysconfig/network-scripts/ifcfg-eno16777736
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
#IPV6INIT=yes
#IPV6_AUTOCONF=yes
#IPV6_DEFROUTE=yes
#IPV6_PEERDNS=yes
#IPV6_PEERROUTES=yes
#IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=6cb8aa4d-f839-45f3-bb80-e58e6f1542cd
DEVICE=eno16777736
ONBOOT=yes
IPADDR=192.168.0.5
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1="168.126.63.1
~
~
----------------------------------------------------------------------------------
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
----------------------------------------------------------------------------------
cat /etc/resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
~
----------------------------------------------------------------------------------
[root@localhost etc]# ifconfig -a
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::20c:29ff:fef5:3f0e prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:f5:3f:0e txqueuelen 1000 (Ethernet)
RX packets 23 bytes 3349 (3.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 326 bytes 24166 (23.5 KiB)
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 0 (Local Loopback)
RX packets 880 bytes 80002 (78.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 880 bytes 80002 (78.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
며칠째 삽질이네요...ㅠㅠ 뭐가 문제인가요??? 어떤걸 확인해야되죠??
관련자료
-
이전
-
다음
댓글 1
지유파파님의 댓글
- 지유파파
- 작성일
일단은 systemctl status network.service 명령어 입력해서 출력 내용이 필요합니다.
그리고 NetworkManager의 사용 여부에 따라서도 결과는 달라질 듯 하고요.
그리고 NetworkManager의 사용 여부에 따라서도 결과는 달라질 듯 하고요.