Network Connection Destination Host Unreachable

Latest response

I have set up a Red Hat Enterprise Linux Server Release 6.5. I currently cannot connect to this machine from the local network nor can I connect to the internet or the internal network from the server. This has been a problem since the day it was set up and I have been unable to resolve it. My file settings are below.

Firewall is disabled

/etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.10 vtadc.vantonecf.com
10.0.0.105 rhlinux.vantonecf.com

/etc/resolv.conf
"#" Generated by NetworkManager
search vantonecf.com
nameserver 10.0.0.10
nameserver 208.67.220.220

/etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
TYPE=Ethernet
UUID=ef93bd6a-c2b9-4605-9fc0-95e0812b5095
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth0
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=yes
IPADDR=10.0.0.105
PREFIX=24
GATEWAY=10.0.0.1
DNS1=10.0.0.10
NETMASK=255.255.255.0
DNS2=208.67.220.220
USERCTL=no
HWADDR=74:86:7A:EE:3C:04
DOMAIN=vantonecf.com
LAST_CONNECT=1415736614

/etc/sysconfig/network-scripts/ifcfg-em2
DEVICE=em2
TYPE=Ethernet
UUID=f88a770e-6a14-4403-b40f-b1efeb218dc6
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp
HWADDR=74:86:7A:EE:3C:06
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth1
LAST_CONNECT=1409848091
USERCTL=no

/etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
"#" If you're having problems with gated making 127.0.0.0/8 a martian,
"#" you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window rtt Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 em1
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 em1

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 1 0 0 em1
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 em1

If I set the network card to DHCP it will take me to an internet connection for the internet provider requiring a login. If there is anything else you need let me know.

Responses

Hello

When you say "cannot connect to this machine", do you mean with SSH? Or are you just trying to ping it at this stage?

I noticed you have tried adding OpenDNS, can you ping 208.67.220.220 ?

and I see that NetworkManager has written:
nameserver 10.0.0.10

But then I see you have this in your hosts file:
10.0.0.10 vtadc.vantonecf.com

Did you add that? Please remove that or comment it out as you don't want your system to try to ask a nameserver to resolve a name only to then attempt to find the nameserver by doing another lookup.

BTW, is that domain name valid?

~]$ ping -c6 vantonecf.com
PING vantonecf.com (66.17.155.136) 56(84) bytes of data.

--- vantonecf.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 4999ms

Which interface is connected towards the gateway that leads to the Internet?
I am guessing from your twin NIC setup that you have an ADSL card or similar in the system and not a combination ADSL modem-router-switch thing. Is that so?

On the other hand 74:86:7A = Dell Inc so maybe not.

I see you have ONBOOT=no for em2, and it does not show in the routing table, so it must be down.

Then you say "If I set the network card to DHCP it will take me to an internet connection for the internet provider requiring a login. If there is anything else you need let me know." Do you mean em2?

maybe you have a modem in passthrough mode, so you need to authenticate (login) from the system not on the modem-router device? If so, have you tried to log in?