[SOLVED] Elastix distro - Centos 5.9 cannot ping Gateway

Issues related to configuring your network
Post Reply
spineless
Posts: 3
Joined: 2014/01/02 21:57:33

[SOLVED] Elastix distro - Centos 5.9 cannot ping Gateway

Post by spineless » 2014/01/02 22:26:20

I cannot ping my gateway,any network computers or the internet.
I can ping the same computer.

I am working with a new install of Elastix 2.4.0 for 64 bit system.
CENTOS version 5.9 (final)

I do not know why I cannot get a network connection.
Here is what I have for networking information:......

#Route

Kernal IP routing table
Destination Gateway Genmask Flag Metric Ref US IFace
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1

# Ifconfig

eth1 Link encap: Ethernet HWaddr 00:21:5A;E0:60:95
inet addr: 192.168.1.188 Bcast: 192.168.1.255 Mask: 255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric: 1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 1000
RX bytes: 0 (0.0b) TX Bytes: 0 (0 .0 b)
Interrupt : 177 Memory: fcff0000-fd000000

lo Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX Packets: 956 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 956 errors: 0 dropped:0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 0
RX bytes: 82240 (80.e KiB) TX Bytes: 82240 (80.3 KiB)

#cat /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

#cat /etc/sysconfig/network

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost
GATEWAY = 192.168.1.1

#cat /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
HWADDR=00:21:5a:e0:60:95
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.1.188
GATEWAY=192.168.1.1
DOMAIN=isp.domain.name

#cat /etc/resolv.conf

search nsc1.so.cg.shawcable.net
nameserver 64.59.135.133
search nsc2.so.cg.shawcable.net
nameserver 64.59.135.135
search nsc3.so.cg.shawcable.net
nameserver 64.59.135.143
search nsc4.so.cg.shawcable.net
nameserver 64.59.135.145

.....

I also restarted the networking using the following command

service network restart


I get no errors when I restart the network.

What am I missing here?
Last edited by spineless on 2014/01/03 05:43:50, edited 1 time in total.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Elastix distro - Centos 5.9 cannot ping Gateway

Post by avij » 2014/01/03 00:18:54

Just a wild guess.. Do you have the network cable plugged in to the correct port? eth1 points to the 2nd port, eth0 would be the first port.

spineless
Posts: 3
Joined: 2014/01/02 21:57:33

Re: Elastix distro - Centos 5.9 cannot ping Gateway

Post by spineless » 2014/01/03 03:37:59

Yes of course... :)

Eth0 is defective. So I installed a new ethernet card. I just finished installing Elastix overtop of a Cento6 operating system...so I know eth1 hardware works.

In fact... the set up should be identical. I was running centos 5 now I am running centos 5.9. I even have another computer running centos 6 and I double checked the files mentioned and they are identical.

This one is really stumping me.... I think it might be an ELASTIX DISTRO issue.

Any other ideas?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Elastix distro - Centos 5.9 cannot ping Gateway

Post by avij » 2014/01/03 10:23:22

00:21:5a:e0:60:95 points to Hewlett Packard, which is likely the defective integrated NIC. I would guess the additional NIC you have was made by someone else than HP. Perhaps the order of ports got changed? Perhaps you should configure your system to use eth0 instead. If you don't want to use the integrated NIC, you may want to disable it from BIOS to reduce confusion.

spineless
Posts: 3
Joined: 2014/01/02 21:57:33

Re: Elastix distro - Centos 5.9 cannot ping Gateway

Post by spineless » 2014/01/03 15:44:16

That did it. :)

Thank you very much. I was able to point to the right hardware and turn the old hardware off in Bios.

Post Reply