Elastix 2.3 distro network problems

Status
Not open for further replies.

ericmachine

Joined
Jan 5, 2012
Messages
52
Reaction score
0
Hi everyone,

I really need your help. I am desperate and not able to solve this problem.

Looked at all centos documentation,forums and blogs. Can't figure out what's missing here.

I have 2 server boxes (brand new).

First I installed the elastix 2.3 distro 64 bit to the 1st server (followed exactly from the installation guide). All okay and managed to login. But I can't seem to ping to google.com or even my gateway 192.168.1.1. I thought probably my network card had issue.

Then I tested the same on the 2nd server box, same problem happens.

In order to verify this, I installed HylaFax distro (got this working on other machine) on the same boxes above. It works, I can't access to the hylafax installation website and also within it I can ping to any sites.

My settings as follows:-

/etc/resolv.conf

search local
nameserver 8.8.8.8
nameserver 8.8.4.4 (tried opendns, makes no difference too)

route -n
192.168.1.0 | 0.0.0.0 ...
169.254.0.0 | 0.0.0.0 ...
0.0.0.0 | 192.168.1.1 (added this via route add default gw 192.168.1.1)

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=some-random-alphanumerics
IPADDR=192.168.1.5 (tried different IP too)
NETMASK=255.255.255.0
ONBOOT=yes (tried no too)
BOOTPROTO=none (tried static too)
GATEWAY=192.168.1.1 (removed this makes no difference)
TYPE=Ethernet
NM_CONTROLLED=yes (test no or remove too)

/etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=elastix

/etc/hosts
127.0.0.1 localhost elastix localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.1.1 elastix (copied similar to hylafax installation which work, but no differences)

ping google.com
- ping: unknown host google.com

ping 8.8.8.8
... Destination Host Unreachable

ping 192.168.1.1
... Destination Host Unreachable

ping 127.0.0.1 (works here)

ping 192.168.1.5 (works, same IP with server)

at the same time, i flushed IPtables or stop the service makes no differences too.

Anyone mind to help? Thanks so much.
 
1)
/etc/resolv.conf
nameserver yourdnsip

2)
/etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
BOOTPROTO=static
GATEWAY=192.168.1.1

3)
/etc/hosts
Don't edit that file...

4) service network restart

Try again...
 
thanks for replying, tried that but no difference. still same issue, can't ping gateway and also google.com. FYI, i tried opendns also no differences :(
 
I t could be three things:

1) Your elastix server is not connected on the right switch
2) Your network configuration is wrong
3) Your network card is faulty, try using another network card
 
the same box which i installed elastix, i installed hylafax distro (centos5.8) and it worked properly. i doubt is server or switch problem.

so by default when someone install the distro, it will work fine without enable/disable any service, etc?

EDIT

there's difference when i do "ip a" between the failed elastix 2.3 (either 32 or 64 bits) vs hylafax

elastix (total 3 lines)

eth0: <NO-CARRIER, BROADCAST, MULTICAST,UP>...

hylafax (total 7 lines)

eth0: <BROADCAST,MULTICAST,UP,LOWER_UP>..

not sure why elastix one has NO-CARRIER and kinda have shorter version? Hmm?
 
Status
Not open for further replies.

Forum statistics

Threads
111,864
Messages
589,447
Members
164,702
Latest member
iamatlas