Can not Ping Gateway


 
Thread Tools Search this Thread
Operating Systems AIX Can not Ping Gateway
# 1  
Old 03-02-2010
Question Can not Ping Gateway

Hello,

I am new to Unix Smilie 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 and services then selecting TCP/IP then selecting the minimum configuration and startup and configuring interface en0 I entered all of the info required and then selected the start now option. I did not receive any errors in the output, but I am still unable to ping the gateway. Any help would be greatly appreciated. I will supply any other information required.

Thanks in advance:confused
# 2  
Old 03-02-2010
Quote:
Originally Posted by cdub50
Hello,

I am new to Unix Smilie 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 and services then selecting TCP/IP then selecting the minimum configuration and startup and configuring interface en0 I entered all of the info required and then selected the start now option. I did not receive any errors in the output, but I am still unable to ping the gateway. Any help would be greatly appreciated. I will supply any other information required.

Thanks in advance:confused
Hi

Try this :“netstat -rn” and check the output.Smilie
# 3  
Old 03-03-2010
If the machine has several network interfaces: are you sure you configured the one connected to the gateway? Probably you have configured an interface which isn't connected (yet).

I hope this helps.

bakunin
# 4  
Old 03-03-2010
I configured en0 interface and I have a cable plugged into port 1 in the back of the server as there is only one nic installed with two interfaces and I have configured en0. Below is the output of the netstat -rn command.



Code:
#	netstat	-rn
Routing	tables
Destination	Gateway	Flags	Refs	Use	If	Exp	Groups

Route	Tree	for	Protocol	Family	2	(Internet):
default	10.52.44.1	UG	0	65	en0	-	-
10.52.44.0	10.52.44.250	UHSb	0	0	en0	-	-	=
>
10.52.44/24	10.52.44.250	U	1	37	en0	-	-
10.52.44.250	127.0.0.1	UGHS	0	11	lo0	-	-
10.52.44.255	10.52.44.250	UHSb	0	0	en0	-	-
127/8	127.0.0.1	U	6	200	lo0	-	-

Route	Tree	for	Protocol	Family	24	(Internet	v6):
::1	::1	UH	0	0	lo0	-	-
#

it looks like when I ping the ip I set 10.52.44.250 it is replying through the loop back interface and not en0 why? Is there something else I need to configure to communicate on the network?

Thanks for the Help Smilie

Last edited by Scott; 03-03-2010 at 01:51 PM.. Reason: Code tags please...
# 5  
Old 03-03-2010
Quote:
Originally Posted by cdub50
Hello,

I am new to Unix Smilie 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 and services then selecting TCP/IP then selecting the minimum configuration and startup and configuring interface en0 I entered all of the info required and then selected the start now option. I did not receive any errors in the output, but I am still unable to ping the gateway. Any help would be greatly appreciated. I will supply any other information required.

Thanks in advance:confused
When you are trying to debug a single link like this, it is helpful to know that you must also configure your gateway so it knows how to "get back" to your AIX host.

If you can ping your own interface, but cannot ping an interface on a directly connected host, you need to look at the routing table of the directly connected device (in this case, your gateway).

Also, you should also look at the ARP tables on both devices just to make sure that both devices are properly working at the MAC layer.
# 6  
Old 03-03-2010
I was able to connect a laptop using the same IP info I added to the AIX server so I am uncertain what changes need to be made to the ARP table or the routing table for the AIX server could you elaborate more on the topic and perhaps include the commands to view the routing and ARP tables?

Thanks
# 7  
Old 03-04-2010
Quote:
Originally Posted by cdub50
I was able to connect a laptop using the same IP info I added to the AIX server
This rules out a possible misconfiguration of the other attached host (router/switch/whatever).

Quote:
so I am uncertain what changes need to be made to the ARP table or the routing table for the AIX server
Use the "arp" command ("man arp") on the AIX server to list the content of the ARP cache. The content of the ARP cache is a table of Layer-2-Adresses (MAC-Adresses) of the interfaces present on the same network plus their respective IP adresses. If everything works correctly you should see 2 adresses there at least (your own interface and the interface of the connected station).

Btw.:

Quote:
10.52.44.250 127.0.0.1 UGHS 0 11 lo0 - -
You should remove this static route. Use the "route" ("man route") command to do it for testing (it will not survive a reboot), use the "chginet" ("man chginet") to do it permanently.

I hope this helps.

bakunin

Last edited by bakunin; 03-04-2010 at 07:39 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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