Sponsored Content
Special Forums IP Networking Multihomed can not ping gateway Post 302285315 by Neo on Sunday 8th of February 2009 12:33:49 PM
Old 02-08-2009
Quote:
Originally Posted by Radar
Your routing table shows that there's no gateway set for the other two networks. Try putting in those static routes.
This (above) is not the problem.

The person is on the server is trying to ping the default gateway of the same server. The routes of the other interfaces are not the issue.

However, you do, generally speaking, need to specify the interface which is the default one on the server, in this case eth2 (which he did...)
 

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

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

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

5. AIX

IBM Server doesn't ping gateway unless you put a static route

Just want to know if someone has a clue about what could be happening here: I have an AIX box with four NICs in Ether channel connected to a Cisco Switch. When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route. Thanks... (1 Reply)
Discussion started by: witt
1 Replies

6. UNIX for Dummies Questions & Answers

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... (4 Replies)
Discussion started by: Rutgerncas
4 Replies

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

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

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

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

NAME
routed - Manages network routing tables SYNOPSIS
/usr/sbin/routed [-q | -s] [-dgt] [logfile] The routed daemon manages the network routing tables. FLAGS
Enables additional debugging information, such as bad packets received, to be logged. The routed daemon remains under control of the host that started it; therefore, an interrupt from the controlling host stops the routed process. Causes the routing daemon to run on a gateway host. This flag is used on internetwork routers to offer a route to the default destination. Inhibits the routed daemon from supplying Routing Information Protocol (RIP) data. The -q flag conflicts with the -s flag. Do not use the -q and -s flags together. Causes routed to supply RIP information even if it is not functioning as an Internet router. The -s flag conflicts with the -q flag. Do not use the -s and -q flags together. Causes all packets sent or received to be written to standard output. The routed daemon remains under control of the host that started it; therefore, an interrupt from the controlling host stops the routed process. DESCRIPTION
Use the routed daemon to manage the RIP only. Use gated to manage RIP plus other protocols. When routed starts, it finds any interfaces to directly connected hosts and networks that are configured into the system and marked as up. If multiple interfaces are present, routed assumes that the local host forwards packets between networks. The routed daemon transmits an RIP request packet on each interface (using a broadcast packet if the interface supports it) and then enters a loop, listening for RIP routing requests and response packets from other hosts. In addition, if routed is to supply RIP information to other hosts, it periodi- cally sends RIP update packets (containing copies of its routing tables) to any directly connected hosts and networks. When routed receives a RIP request packet and can supply RIP routing information, (the -s flag is set), it generates a reply (response packet) based on the information maintained in the kernel routing tables. The response packet contains a list of known routes, each marked with a hop count metric (the number of host-to-host connections in the route). The metric for each route is relative to the sending host. A metric of 16 or greater is considered to be infinite, or beyond reach. Updating Routing Tables If RIP processing is enabled, routed uses information contained in the RIP response and update packets from other hosts to update its rout- ing tables. However, routed uses the information in the RIP routing packet to update the tables only if at least one of the following con- ditions exists: No routing table entry exists for the destination network or host, and the metric associated with the route is finite (that is, the metric is less than 16). The source host of the packet is the router in the existing routing table entry. The routing table entry is old and the new information is about a route that is at least as efficient as the existing route. The new route is shorter than the one that is currently stored in the routing tables. (Note that routed determines relative route length by comparing the new metric with the one stored in the routing table.) When routed updates its internal routing tables, it generates an RIP update packet to all directly connected hosts and networks. Before updating the kernel routing tables, routed pauses for a brief period to allow any unstable conditions to stabilize. Besides processing incoming RIP packets, routed also checks the internal routing table entries periodically. The metric for any entry that has not been updated for 3 minutes is set to infinity and marked for deletion. The deletion is delayed for 60 seconds so that information about the invalidated route can be distributed throughout the network. A host that acts as an RIP router supplies its routing tables to all directly connected hosts and networks every 30 seconds. Using Gateways In addition to managing routes to directly connected hosts and networks, routed maintains information about distant and external gateways. At startup, routed reads the /etc/gateways file to learn about these gateways. The /etc/gateways file contains information about routes through distant and external gateways to hosts and networks that can be advertised through RIP. These routes are either static routes to specific destinations, or default routes that apply when a static route to a desti- nation is unspecified. Gateways that supply RIP routing information are marked active in the /etc/gateways file. The routed daemons distributes RIP routing information to active gateways; if no RIP routing information is received from the gateway for a period of time, routed deletes the associ- ated route from the routing tables. Gateways that do not exchange RIP routing information are marked passive in the /etc/gateways file. Routed maintains information about passive gateways indefinitely, and includes information about them in any RIP routing information transmitted. Gateways are identified as external to inform routed that another routing process installs the route. Information about external gateways is not maintained in the routing tables. Note that routes through external gateways must be to net- works only. If a logfile is specified, routed writes information about its actions to the specified log file. The log contains information about any changes to the routing tables and a history of recent route change messages sent and received that are related to changed routes. Signals The following signals have the specified effect when sent to the routed process using the kill(1) command: Displays internal routing tables. Broadcasts RIP packets with hop counts set to infinity. Essentially, these signals disable the local host as a router. On a sec- ond SIGHUP, SIGTERM, or SIGQUIT, routed terminates. FILES
Specifies the command path Routes through distant and external gateways Contains the network name database CAUTIONS
The gated and routed daemons should not both be run on the same host, as this may produce unpredictable results. Routes through external gateways must be to networks only. RELATED INFORMATION
Commands: route(8) Daemons: gated(8) delim off routed(8)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy