Hi, I'm new use Centos 7 and I have a problem with network, I can connect to my INTRANET but I can't use INTERNET.
# more ifcfg-enp0s25
TYPE="Ethernet"
BOOTPROTO=none
DEFROUTE="yes"
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPV6_AUTOCONF="no"
IPV6_DEFROUTE="no"
IPV6_FAILURE_FATAL="no"
NAME="enp0s25"
UUID="f07d673a-f2fe-42a3-a296-a64138befa31"
DEVICE="enp0s25"
ONBOOT=yes
DNS1=10.26.1.13
DNS2=159.16.10.8
IPV6_PEERDNS=no
IPV6_PEERROUTES=no
IPADDR=10.26.2.6
PREFIX=26
GATEWAY=10.26.2.62
USERS=test
I tested the internet connection by console:
# ping http://www.google.com
ping: http://www.google.com: Name or service not known
Intranet connection is ok but not internet, could you help me please?
Thanks a lot
Problem with Internet connection
Re: Problem with Internet connection
Try:
without the "http://"
Code: Select all
ping www.google.com
Re: Problem with Internet connection
Please share the output of
# cat /etc/resolv.conf
# cat /etc/resolv.conf
Re: Problem with Internet connection
Hellow Macenger, I send you the content file resolv.conf
# cat /etc/resolv.conf
nameserver 10.26.1.13
nameserver 159.16.10.8
search localdomain
I was try to access a Network configuration in Linux CentOS release 7.3.1611 but the interface sent me the next error messages:
"The system network services are not compatible with this version"
I don't understand what is happen, coul you help me please?
# cat /etc/resolv.conf
nameserver 10.26.1.13
nameserver 159.16.10.8
search localdomain
I was try to access a Network configuration in Linux CentOS release 7.3.1611 but the interface sent me the next error messages:
"The system network services are not compatible with this version"
I don't understand what is happen, coul you help me please?
Re: Problem with Internet connection
Review network setting, I executed:
#ip addr list:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 70:71:bc:42:f9:18 brd ff:ff:ff:ff:ff:ff
inet 10.26.2.6/26 brd 10.26.2.63 scope global enp0s25
valid_lft forever preferred_lft forever
inet6 fe80::7271:bcff:fe42:f918/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN qlen 1000
link/ether 52:54:00:cc:8b:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 1000
link/ether 52:54:00:cc:8b:99 brd ff:ff:ff:ff:ff:ff
The ip addr virbr0 and virbr0-nic are nor requiered, how can eliminate?, could you help me?, please
I opened the file: vi /etc/sysconfig/network and it's content is:
# Created by anaconda
NETWORKING=yes
And investigate in internet I found the correct configuraction must be:
NETWORKING= yes
HOSTNAME= prueba
GW= the gw adequate
I send you more information, and I hope you can help me, thanks a lot.
#ip addr list:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 70:71:bc:42:f9:18 brd ff:ff:ff:ff:ff:ff
inet 10.26.2.6/26 brd 10.26.2.63 scope global enp0s25
valid_lft forever preferred_lft forever
inet6 fe80::7271:bcff:fe42:f918/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN qlen 1000
link/ether 52:54:00:cc:8b:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 1000
link/ether 52:54:00:cc:8b:99 brd ff:ff:ff:ff:ff:ff
The ip addr virbr0 and virbr0-nic are nor requiered, how can eliminate?, could you help me?, please
I opened the file: vi /etc/sysconfig/network and it's content is:
# Created by anaconda
NETWORKING=yes
And investigate in internet I found the correct configuraction must be:
NETWORKING= yes
HOSTNAME= prueba
GW= the gw adequate
I send you more information, and I hope you can help me, thanks a lot.