K
K
klass_nik2015-09-29 11:23:22
Apache HTTP Server
klass_nik, 2015-09-29 11:23:22

CentOS. It pings all machines on the local network, but does not see the global network. What to do?

CentOS. It pings all machines on the local network, but does not see the global network. What to do? Can't connect apache to raise webserver

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Cheremisin, 2015-09-29
@leahch

default gateway is correct? what's in /etc/resolv.conf ?
you can see where the default gateway points with the command
# / sbin / ip route

K
klass_nik, 2015-09-29
@klass_nik

# /sbin/ip route
10.32.0.0/16 dev eth0 proto kernel scope link src 10.32.0.86
169.254.0.0/16 dev eth0 scope link metric 1002
default via 10.32.0.1 dev eth0

M
Maksim, 2015-09-29
@chumayu

Well, since it does not see the global (and in my understanding it does not ping for example 8.8.8.8) Look at your network settings.
Default gateway specified?
Is the main gateway pinged?
Is DNS specified and is it pinged?

A
Azazel PW, 2015-09-29
@azazelpw

route -n
will show the default gateway
traceroute 8.8.8.8
will show where the network problem is
Where is this address from? it is the gateway or the local computer another?
10.32.0.10
If it's a gateway, then
route add default gw 10.32.0.10
since you have 10.32.0.1
If it's not a gateway, send an ICMP request to the gateway.
ping 10.32.0.1 if it gets to here. and then no.
Then the reason is somewhere in the gateway.
What kind of router is it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question