Blog Hosting, Server, Linux, Jaringan Komputer dan Internet 

Home Tutorial Network is unreachable setelah install Centos 7
formats

Network is unreachable setelah install Centos 7

Published on January 18, 2019, by in Tutorial.

Ada hal yang ganjil ketika selesai install Centos 7 melalui remote KVM server USA. Network seakan tidak berfungsi muncul pesan “Network is unreachable setelah install Centos 7” ketika test ping keluar.

Konfigurasi network seperti berikut :

[root@dac ~]# nano /etc/sysconfig/network-scripts/ifcfg-enp6s0f0
GNU nano 2.3.1 File: /etc/sysconfig/network-scripts/ifcfg-enp6s0f0

TYPE=Etheret
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=enp6s0f0
UUID=d68f1825-54d8-415b-9e02-60975ba75720
ONBOOT=yes
HWADDR=C8:0A:A9:88:1B:52
IPADDR0=199.241.186.18
PREFIX0=29
GATEWAY0=199.241.186.17
DNS1=8.8.8.8
DNS2=8.8.4.4
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes

Ternyata masalahnya ada nol “0″ di IPADDR seperti marking diatas, kita hanya buang 0 tersebut :

[root@dac ~]# nano /etc/sysconfig/network-scripts/ifcfg-enp6s0f0
GNU nano 2.3.1 File: /etc/sysconfig/network-scripts/ifcfg-enp6s0f0

TYPE=Etheret
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=enp6s0f0
UUID=d68f1825-54d8-415b-9e02-60975ba75720
ONBOOT=yes
HWADDR=C8:0A:A9:88:1B:52
IPADDR=199.241.186.18
PREFIX=29
GATEWAY=199.241.186.17
DNS1=8.8.8.8
DNS2=8.8.4.4
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes

Kemudian restrat network

systemctl restart network

demikian curhat singkat, semoga bermanfaat.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.