CentOS8 Network
CentOS8 Network
I have a CentOS 8 machine. I configured static IP in /etc/sysconfig/network-scripts/ifcfg-eno1 and restarted the network manager using "sudo systemctl restart NetworkManager"
I can ping the gateway from that machine but can't ping any other device on LAN and can't even reach this CentOS8 machine from LAN.
Here is my network config
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
NAME=eno1
UUID=4fa1de25-dbbc-46e5-89b3-8165120554af
DEVICE=enol
ONBOOT=yes
IPADDR=192.168.1.10
PREFIX=24
GATEWAY=192.168.1.1
I can ping the gateway from that machine but can't ping any other device on LAN and can't even reach this CentOS8 machine from LAN.
Here is my network config
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
NAME=eno1
UUID=4fa1de25-dbbc-46e5-89b3-8165120554af
DEVICE=enol
ONBOOT=yes
IPADDR=192.168.1.10
PREFIX=24
GATEWAY=192.168.1.1
Re: CentOS8 Network
The gateway is not used for any hosts within 192.168.1.0/24 as they can be reached directly from the machine without needing to go via the gateway ip.I can ping the gateway from that machine but can't ping any other device on LAN and can't even reach this CentOS8 machine from LAN.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Re: CentOS8 Network
how do I configure NTP IP in CentOS8?
Re: CentOS8 Network
disabled firewall still the same. Time on the machine is not correct, I want to set NTP
Re: CentOS8 Network
I think C8 uses chronyd, and not ntpd:
https://access.redhat.com/documentation ... m-settings
https://access.redhat.com/documentation ... m-settings
-
- Posts: 1464
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: CentOS8 Network
Are you trying with their IP address, or their name? If name, then your DNS server has an issue. If address is not working then ??? - perhaps duplicate addresses ... ??but can't ping any other device on LAN and can't even reach this CentOS8 machine from LAN
Re: CentOS8 Network
No Duplicate address, it is a static Network. I'm pinging the IP. DNS server has no issues everything working fine other than this machine.
Re: CentOS8 Network
Is that 'l' a typo?
Doesn't your gateway offer DHCP? It is really much more convenient to configure a network centrally at DHCP server than manually in individual machines.
What is between this machine and all the other machines of same subnet (including the gateway)?
If you do listen traffic with 'tcpdump' in multiple machines and attempt ping (both others in this machine and this machine from others), does that show ARP/ICMP traffic?
I would rather use 'nmcli' than edit any /etc/sysconfig/network-scripts/ifcfg-* -file directly. The nmcli does some syntax checking.