The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Add gateway Sunb3 SUN Solaris 1 11-10-2008 12:52 PM
Multihomed DNS Clients? deckard IP Networking 4 04-12-2007 08:57 PM
Unable to ping the gateway IP itself chrisanto_2000 IP Networking 6 02-16-2007 09:55 AM
Multihomed Client mhynes High Level Programming 0 08-30-2005 12:29 PM
Aix Add Gateway josramon UNIX for Dummies Questions & Answers 3 03-21-2003 07:40 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-07-2009
vettec3 vettec3 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 15
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 (permalink)  
Old 02-07-2009
Radar's Avatar
Radar Radar is offline
Registered User
  
 

Join Date: Dec 2006
Location: Clifton Park, NY
Posts: 86
Start by removing the zeroconf route. Red Hat Knowledgebase: How do I disable the zeroconf route so that the system will boot without the 169.254.0.0 / 255.255.0.0 route?
  #3 (permalink)  
Old 02-08-2009
vettec3 vettec3 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 15
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 (permalink)  
Old 02-08-2009
Radar's Avatar
Radar Radar is offline
Registered User
  
 

Join Date: Dec 2006
Location: Clifton Park, NY
Posts: 86
Your routing table shows that there's no gateway set for the other two networks. Try putting in those static routes.
  #5 (permalink)  
Old 02-08-2009
vettec3 vettec3 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 15
Ok.

But if dont remember wrong I have the gateway en /etc/sysconfig/network-scripts/ifcfg-ethX
I thought that that was enough ?
  #6 (permalink)  
Old 02-08-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,522
Quote:
Originally Posted by vettec3 View Post
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 (permalink)  
Old 02-08-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,522
Quote:
Originally Posted by Radar View Post
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...)
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0