Centos 7.7 1908: failed to bring up/down networking

Issues related to configuring your network
Post Reply
jeshnavarro
Posts: 1
Joined: 2020/03/11 06:54:40

Centos 7.7 1908: failed to bring up/down networking

Post by jeshnavarro » 2020/03/11 07:14:59

Hi all,

can u help me here pls?
Unable to ping outside 8.8.8.8 or google.com but can ping 127.0.0.1


TYPE=Ethernet
PROXY METHOD= none
BROWSER ONLY= no
BOOTPROTO=static
DEFROUTE-yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable privacy
NAME=enp0s31f6
UUID=7708d5b8-a9a2-4396-9258d-f405717cb56c
DEVICE=enp0s31f6
ONBOOT=yes
IPV6_PRIVACY=no
IPADDR=192.168.88.6
PREFIX=24
GATEWAY=192.168.88.1
DNS=8.8.8.8


status network.service
img]https://i.ibb.co/hCHcFCW/89321543-62378 ... 0912-n.jpg[/img]

tunk
Posts: 794
Joined: 2017/02/22 15:08:17

Re: Centos 7.7 1908: failed to bring up/down networking

Post by tunk » 2020/03/11 11:05:02

Can you ping the gateway?

User avatar
jlehtone
Posts: 3101
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Centos 7.7 1908: failed to bring up/down networking

Post by jlehtone » 2020/03/11 11:46:12

How about

Code: Select all

systemctl status NetworkManager.service
The NM is the default, not the network.service. You config does not tell NM to keep its hands off this connection, and therefore network.service assumes that NM will handle everything.

To create connection "lan" on device "enp0s31f6" with NM:

Code: Select all

sudo nmcli con add type ethernet con-name lan ifname enp0s31f6 ip4 192.168.88.6 gw4 192.168.88.1 ipv4.dns 8.8.8.8
PS. Why do you config ipv4 manually? Doesn't your router offer DHCP?

afewgoodman
Posts: 97
Joined: 2019/12/11 03:51:58

Re: Centos 7.7 1908: failed to bring up/down networking

Post by afewgoodman » 2020/03/12 04:47:04

Hi,

I think you don't use name of script, ifcfg-eth1, suffix should be matched with "DEVICE" on your script as like ifcfg-enp0s31f6.

BR.

Post Reply

Return to “CentOS 7 - Networking Support”