Sponsored Content
Full Discussion: Cannot ping default gateway
Top Forums UNIX for Dummies Questions & Answers Cannot ping default gateway Post 302539334 by Rutgerncas on Saturday 16th of July 2011 04:45:39 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
tgt-setup-lun(8)					      System Manager's Manual						  tgt-setup-lun(8)

NAME
tgt-setup-lun - creates a target, adds a device to the target and defines initiators that can connect to the target SYNOPSIS
tgt-setup-lun -d device -n target_name [initiator_IP1 initiator_IP2 ...] [-h] DESCRIPTION
Starts tgtd if necessary and creates a target according to the supplied target_name. The format of the target name is as follows: iqn.2001-04.com.<hostname>-<target_name> The target name must be unique. The script then adds the requested device to the target. If specific IP addresses are defined, it adds them to the list of allowed initia- tors for that target. If no IP addresses is defined, it defines that the target accepts any initiator. EXAMPLES
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81 and 192.168.10.82: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 192.168.10.82 Create a target that uses /dev/sdb1 and allows connections from any initiator: tgt-setup-lun -d /dev/sdb1 -n my_target Display help: tgt-setup-lun -h AUTHOR
Written by Erez Zilber REPORTING BUGS
Report bugs to <erezz@voltaire.com>. COPYRIGHT
Copyright (C) Voltaire Ltd. 2008. tgt-setup-lun(8)
All times are GMT -4. The time now is 10:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy