![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
|||||
|
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?
|
|
||||
|
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 |
|
|||||
|
Quote:
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 | ||
|
|