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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #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