FreePBX | Register | Issues | Wiki | Portal | Support

Network Resolve Issues


#1

Hello All,
I have just done a fresh install. I set the box to static and also put all the name servers in. Once i restart the network it will let me ping the outside world for 10-15 sec and then they all drop. I can ping the box from another computer and also my ssh with putty has no problem connecting. But since it wont ping anything on the network or other, I can get any phones to connect since it wont talk to anything. I also cant get the activation to happen because of this.

Here is what I have in the following settings.

/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.200
GATEWAY=192.168.0.1
NETMASK=255.255.255.0
ZONE=trusted

/etc/sysconfig/network

Created by anaconda

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=freepbx

/etc/resolve.conf

; generated by /usr/sbin/dhclient-script
nameserver 127.0.0.1
nameserver 75.75.75.75
nameserver 75.75.76.76
nameserver 192.168.0.1

Here is the ifconfig

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.200 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::7285:c2ff:fe81:955f prefixlen 64 scopeid 0x20
ether 70:85:c2:81:95:5f txqueuelen 1000 (Ethernet)
RX packets 24822 bytes 3566309 (3.4 MiB)
RX errors 0 dropped 605 overruns 0 frame 0
TX packets 3145 bytes 371433 (362.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 6681 bytes 839152 (819.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6681 bytes 839152 (819.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Any help on this will be greatly appreciated. This is driving me crazy.


#2

Have you set a default gateway? It doesn’t seem so, at least from your /etc/sysconfig/network file


#3

If you look at the first entry, you can see the gateway line.

/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.200
GATEWAY=192.168.0.1 <------------ This is where the default gateway is assigned.
NETMASK=255.255.255.0
ZONE=trusted


#4

Does the command route -n gives you a default route?


(system) closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.