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]
Centos 7.7 1908: failed to bring up/down networking
-
- Posts: 1
- Joined: 2020/03/11 06:54:40
Re: Centos 7.7 1908: failed to bring up/down networking
Can you ping the gateway?
Re: Centos 7.7 1908: failed to bring up/down networking
How about
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:
PS. Why do you config ipv4 manually? Doesn't your router offer DHCP?
Code: Select all
systemctl status NetworkManager.service
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
-
- Posts: 98
- Joined: 2019/12/11 03:51:58
Re: Centos 7.7 1908: failed to bring up/down networking
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.
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.