Cannot ping default gateway


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cannot ping default gateway
# 1  
Old 07-16-2011
Cannot ping default gateway

I have NCR MP-RAS unix. I have been trying for several months to get our network working since we had never used it before. I have setup all routes that I can think of. I know it has something to do with the routing table, because out of sheer luck I was able to get it working, and than like a good ol computer it decided to restart and I lost my changes. Unfortunately I do not know what I changed/added to make it work. Any help would be greatly appreciated. Below is all the information I think you need. Tanks in advance.

Code:
netstat -rn
Destination      Gateway            Flags    Refs      Use  Interface
default          192.168.1.1        UGS         0        0  en2
127.0.0.1        127.0.0.1          UH          2       11  lo0
192.168.1        192.168.1.129      UGS         0        0  en2
192.168.1.129    127.0.0.1          UGHS        1       16  lo0
224              192.168.1.129      UCS         0        0  en2
 
ifconfig -a
en2: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 192.168.1.129 netmask ffffff00 broadcast 192.168.1.255
        perf. params: recv size: 24576; send size: 24576; full-size frames: 1
        ether 00:00:e2:1d:84:a0
lo0: flags=4049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
        inet 127.0.0.1 netmask ff000000
        perf. params: recv size: 57344; send size: 57344; full-size frames: 1


Last edited by Scott; 01-04-2013 at 02:34 PM.. Reason: Code tags
# 2  
Old 07-16-2011
We would like to know that how you designed the networking..
i mean : connection between routers / switches / server / end systems... everything.. with each IPs..

If possible , pls give a flowchart of the network.. (can be drawn in paint.. itself)
# 3  
Old 07-16-2011
Could you try
Code:
route add default gw 192.168.1.0

, restart network and see if that works?
# 4  
Old 07-16-2011
This is an old SVR4 system, circa mid 1990s if I remember correctly.

The output from netstat is interesting. I have formatted it to make it clearer to readers
Code:
netstat -rn
Destination        Gateway        Flags Refs Use Interface
default            192.168.1.1    UGS  0 en2
127.0.0.1          127.0.0.1      UH   2 11 lo0
192.168.1          192.168.1.129  UGS  0 0 en2
192.168.1.129      127.0.0.1      UGHS 1 16 lo0
224                192.168.1.129  UCS  0 0 en2

Something is seriously wrong with your configuration. It shows that you have one NIC, i.e. en2, but numerous gateways. You even have the loopback device as a gateway for 192.168.1.129!
# 5  
Old 07-16-2011
In response to linuxadmin...Here is a design of my network.

Internet

connected to Router (Verizon Fios Actiontec) (IP address 192.168.1.1)

connected to a Netgear Switch

windows xp (192.168.1.130)

unix box (192.168.1.129)

(both of these are connected to the switch, which is connected to the router.

Hope this helps. I know it is not a router problem as I had it up and running before the unix pc was rebooted.

---------- Post updated at 03:31 PM ---------- Previous update was at 03:27 PM ----------

FPMurphy

This is the route table setup by the system when setting up the network using the built in TCPCONFIG program. I tried deleting the route 192.168.1.129 127.0.0.1, but when I do that I can not ping my unix ip. I have rebooted the router, switch and restarted the network to no avail.

---------- Post updated at 04:41 PM ---------- Previous update was at 04:31 PM ----------

I don't know if this helps, but my router acts as a dns server.

On the unix box I do have it pointing to 192.168.1.1, which is the ip address of the router. However everytime I try to ping the router it hangs. I am assuming this is why I can not ping any other traffic on my network as my unix box can not access the dns server.

---------- Post updated at 04:45 PM ---------- Previous update was at 04:41 PM ----------

Also below I have posted my sdf file that shows how the network is set up on the unix pc. Again, thanks for all the help.

Code:
##
## Initialized a new SDF file: Fri May 14 14:29:32 EDT 1999
##
[STREAMware-TCP]
# -- WARNING --
# DO NOT MODIFY THE "SYSTEMIFNAME" LINES BELOW. DATA CONTAINED ON IT MAY
# ALSO BE CONTAINED IN SOME OTHER STANZAS - IT MUST REMAIN CONSISTENT.
 
services:
uucpd = ON
fingerd = ON
rshd = ON
rexecd = ON
dhcpd = ON
bootpd = ON
ftpd = ON
gated = ON
irdd = ON
rarpd = ON
rarpdflags = -a
rlogind = ON
routed = OFF
rwhod = ON
talkd = ON
telnetd = ON
tftpd = ON
timed = ON
xntpd = ON
named = OFF
pppd = ON
snmpd = OFF
sndcfd = ON
 
ethernet0:
SYSTEMIFNAME = en2
HOST = unixbox
IP = 192.168.1.129
NET = unix
SUBNET = 255.255.255.0
FORMAT = ethernet
MANAGED = yes
snmp:
VERSION = 1
ENABLED = yes
AUTHENTICATE = yes
SYSDESC = STREAMware TCP Release 6.0.0 for MP-RAS
SYSCONTACT = System ADmin
SYSLOCATION = Office
COMMUNITY = admin 127.0.0.1 read-write
COMMUNITY = public 0.0.0.0 read-write
COMMUNITY = local 127.0.0.1 traps
 
dns:
DNSTYPE = remote
DOMAIN = mcpunix.com
NAMESERVER = (none) IPADDRESS = 192.168.1.1
 
nametranslate:
LIBRARIES = /usr/lib/tcpip.so,/usr/lib/resolv.so
 
routing:
DEFAULT = Verizon IPADDRESS = 192.168.1.1
 
ipforwarding:
FWDENABLED = no


Last edited by Scott; 01-04-2013 at 02:35 PM.. Reason: Code tags
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. UNIX for Advanced & Expert Users

Unable to ping default gateway

I have setup a Linux machine on my server but for some reason Im unable to reach my default gateway. This is causing me to not communicate with the outside world (unable to connect to CentOS repos) # ifconfig enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

3. AIX

Networking Issue (Cant Ping the gateway)

Hi, I installed AIX 7.1 on a blade though (hmc with vio). I can ping the IP address, but not the gateway. Is there anything that I should configure? Is there anything that I have to check with vio setting or Am I missing any configuration? Please let me know further. Thank you (5 Replies)
Discussion started by: pjeedu2247
5 Replies

4. Red Hat

Can not ping default gateway

Hi, Here is the issue: There are 2 identical systems in the same subnet here. They can ping and ssh each other. One can ping the default gateway and one can not with error '... icmp_seq Destination Host Unreachable'. I can't find any difference between the two systems in terms of network... (4 Replies)
Discussion started by: aixlover
4 Replies

5. AIX

Cant ping default gateway aix 53 07 new install

I just reinstalled a fresh install of 5300 07 on an old 44p model 170, after installing I set an IP Address on en2 and I tried to the ping default gateway, no response. I tried a startsrc -g tcpip ... and then I can ping the default gateway. I broke the ping and tried again to ping. I cannot... (1 Reply)
Discussion started by: asyed123
1 Replies

6. Red Hat

Cannot ping gateway

I know the subject line is very similar to: destination host unreachable but the problem with my machine appears to be somewhat different from that thread. apologies if I missed something from there. We recently moved a machine physically and from one subnet to another . I used... (1 Reply)
Discussion started by: mirage
1 Replies

7. AIX

Can not Ping Gateway

Hello, I am new to Unix :D and have been trying to configure an AIX server running 5.3. I used smitty or smit to configure interface 0 on the server. I am able to ping the IP I set, however I am still unable to ping the gateway. I configured the IP by navigating to Communications Applications... (6 Replies)
Discussion started by: cdub50
6 Replies

8. Solaris

ping -s to default gateway very slow

I was install new solaris10 on m4000 model after that i "ping -s" to default gateway but it's take longtime (2 Min) to reply and if i use "ping" only it's reply to fase(2 sec). any body who can tell me about my problem and how to fix it please. i'm try to fix several days. (2 Replies)
Discussion started by: cesmk
2 Replies

9. IP Networking

Multihomed can not ping gateway

Hello this is my first post at this forum. Apologize for my lack of network understanding but Im posting to learn. I have a problem reaching default gateway 10.18.110.1 If I use my laptop I can ping 10.18.110.1 but with our red hat multihomed server the gateway does not respond to ping. cat... (11 Replies)
Discussion started by: vettec3
11 Replies

10. IP Networking

Unable to ping the gateway IP itself

We are unable to bring one of our linux boxes into the network once it was restarted. But once we stop and start the network service. We are able to ping the gateway and get into network. After a minute or two we get the following reponse for the ping command 64 bytes from 124.168.215.40:... (6 Replies)
Discussion started by: chrisanto_2000
6 Replies
Login or Register to Ask a Question