New to Cent OS7 - Network Issue

Issues related to configuring your network
Post Reply
liju1985
Posts: 5
Joined: 2020/02/11 13:11:31

New to Cent OS7 - Network Issue

Post by liju1985 » 2020/02/11 13:14:33

Hi I'm new to Centos 7. I just installed on Desktop. I'm not able to ping other machine or internet.

What need to be checked. Following is the output of ifconfig -a

[user@d-113161849 ~]$ ifconfig -a
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.222.200.122 netmask 255.255.255.0 broadcast 10.222.200.255
inet6 fe80::9f3b:8ade:87d3:2444 prefixlen 64 scopeid 0x20<link>
ether 3c:52:82:72:bb:dc txqueuelen 1000 (Ethernet)
RX packets 4357605 bytes 652137469 (621.9 MiB)
RX errors 0 dropped 575 overruns 0 frame 0
TX packets 5632 bytes 637360 (622.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 44

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 1000 (Local Loopback)
RX packets 164 bytes 14340 (14.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 164 bytes 14340 (14.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:48:eb:2e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0-nic: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:48:eb:2e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[user@d-113161849 ~]$

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New to Cent OS7 - Network Issue

Post by TrevorH » 2020/02/11 13:33:39

What is the output from ip route show and what happens if you ping 8.8.8.8 ?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

liju1985
Posts: 5
Joined: 2020/02/11 13:11:31

Re: New to Cent OS7 - Network Issue

Post by liju1985 » 2020/02/11 13:50:53

Output of ip route show

[root@d-113161849 user]# ip route show
default via 10.222.200.1 dev eno1 proto dhcp metric 100
10.222.200.0/24 dev eno1 proto kernel scope link src 10.222.200.122 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[root@d-113161849 user]#

nothing happens on ping
[root@d-113161849 user]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New to Cent OS7 - Network Issue

Post by TrevorH » 2020/02/11 14:35:13

Is this a physical machine or a VM? If it's a physical machine what is the output from lspci -nn | grep -i net ? If it's a VM does it work if you tell it to use DHCP to get an ip address?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

liju1985
Posts: 5
Joined: 2020/02/11 13:11:31

Re: New to Cent OS7 - Network Issue

Post by liju1985 » 2020/02/11 14:58:36

It is a physical machine. I did not get any output

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New to Cent OS7 - Network Issue

Post by TrevorH » 2020/02/11 16:07:53

My command was mangled. Try it now that I've fixed it. Check if lspci is even installed first and install pciutils if not.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

liju1985
Posts: 5
Joined: 2020/02/11 13:11:31

Re: New to Cent OS7 - Network Issue

Post by liju1985 » 2020/02/12 05:09:13

[root@d-113161849 softwares]# lspci -nn | grep -i net
01:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5762 Gigabit Ethernet PCIe [14e4:1687] (rev 10)
[root@d-113161849 softwares]#

liju1985
Posts: 5
Joined: 2020/02/11 13:11:31

Re: New to Cent OS7 - Network Issue

Post by liju1985 » 2020/02/12 13:21:53

Issue is resolved. Mac Address was blocked by Network Administrator. Thank you for the support.

Post Reply

Return to “CentOS 7 - Networking Support”