Multihomed can not ping gateway


 
Thread Tools Search this Thread
Special Forums IP Networking Multihomed can not ping gateway
# 1  
Old 02-07-2009
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 /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)

So I I think its a routing problem but I can not tell if the below is correct or not.

root@telfrm network-scripts]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.21.65.0 0.0.0.0 255.255.255.128 U 0 0 0 eth1
172.21.2.0 0.0.0.0 255.255.255.128 U 0 0 0 eth0
10.18.110.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
0.0.0.0 10.18.110.1 0.0.0.0 UG 0 0 0 eth2

My interfaces.
eth0 Link encap:Ethernet HWaddr 00:21:5A:EE:A9:E6
inet addr:172.21.2.44 Bcast:172.21.2.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2975 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:190400 (185.9 Kb) TX bytes:256 (256.0 b)
Interrupt:16 Memory:f8000000-f8011100

eth1 Link encap:Ethernet HWaddr 00:21:5A:EE:A9:E4
inet addr:172.21.65.25 Bcast:172.21.65.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:950 errors:0 dropped:0 overruns:0 frame:0
TX packets:598 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85568 (83.5 Kb) TX bytes:109903 (107.3 Kb)
Interrupt:17 Memory:fa000000-fa011100

eth2 Link encap:Ethernet HWaddr 00:1F:29:5D:B9:89
inet addr:10.18.110.23 Bcast:10.18.110.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x5000 Memory:fdde0000-fde00000

eth3 Link encap:Ethernet HWaddr 00:1F:29:5D:B9:88
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x5020 Memory:fdce0000-fdd00000

eth4 Link encap:Ethernet HWaddr 00:1F:29:5D:B9:8B
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x6000 Memory:fdfe0000-fe000000

eth5 Link encap:Ethernet HWaddr 00:1F:29:5D:B9:8A
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x6020 Memory:fdee0000-fdf00000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:385325 errors:0 dropped:0 overruns:0 frame:0
TX packets:385325 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41960958 (40.0 Mb) TX bytes:41960958 (40.0 Mb)

why do eth3,4and 5 show up, I dont have any ifcfg-ethx file for them.

[root@telfrm network-scripts]# more /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.18.110.23 telfrm.mycomp.es telfrm

more /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=telfrm
DOMAINNAME=mycomp.es
GATEWAY=10.18.110.1


I had a friend having a look and he thougt the routing table was okey.

Any suggestions are welcome.
Regards
Jan

Last edited by vettec3; 02-07-2009 at 03:48 PM.. Reason: added etc/sysconfig/network output
# 2  
Old 02-07-2009
# 3  
Old 02-08-2009
Thanks Radar.
I wanted to get rid of that route but didint know how.

But as I guessed the problem pinging 10.18.110.1 persists.

The other two gateways responds fine to ping.

My current routes.
root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.21.65.0 * 255.255.255.128 U 0 0 0 eth1
172.21.2.0 * 255.255.255.128 U 0 0 0 eth0
10.18.110.0 * 255.255.255.0 U 0 0 0 eth2
default 10.18.110.1 0.0.0.0 UG 0 0 0 eth2
# 4  
Old 02-08-2009
Your routing table shows that there's no gateway set for the other two networks. Try putting in those static routes.
# 5  
Old 02-08-2009
Ok.

But if dont remember wrong I have the gateway en /etc/sysconfig/network-scripts/ifcfg-ethX
I thought that that was enough ?
# 6  
Old 02-08-2009
Quote:
Originally Posted by vettec3
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.
What is the IP address of your laptop when you are pinging the default gateway from that laptop?

Please post the arp tables of both the laptop and the server?
# 7  
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...)
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. 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

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

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