This looks like a tough routing issue


 
Thread Tools Search this Thread
Special Forums IP Networking This looks like a tough routing issue
# 1  
Old 10-25-2012
This looks like a tough routing issue

Hi, The default gateway (172.17.220.1) cannot be pinged via the default interface bond0 (172.17.220.231), but can be pinged via interface eth1 (10.201.135.73).

Code:
# ping -I eth1 172.17.220.1
PING 172.17.220.1 (172.17.220.1) from 10.201.135.73 eth1: 56(84) bytes of data.
64 bytes from 172.17.220.1: icmp_seq=0 ttl=255 time=5.48 ms
64 bytes from 172.17.220.1: icmp_seq=1 ttl=255 time=0.523 ms

# ping -I bond0 172.17.220.1
PING 172.17.220.1 (172.17.220.1) from 172.17.220.231 bond0: 56(84) bytes of data.
From 172.17.220.231 icmp_seq=1 Destination Host Unreachable
From 172.17.220.231 icmp_seq=2 Destination Host Unreachable

Ping is supposed to work with the default interface bond0. Because the virtual interface bond0 can be pinged by systems in the same subnet, bond0 is working (right?). There must be a routing issue. Here is the interfaces info:

Code:
# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=172.17.220.231
NETMASK=255.255.252.0
GATEWAY=172.17.220.1
ONBOOT=yes
BOOTPROTO=static
USERCTL=no

# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
IPADDR=10.201.135.73
NETMASK=255.255.248.0
ONBOOT=yes
BOOTPROTO=static

OS is RHEL 4.9 (Linux). Please help. Thank you much in advance!

nz

Last edited by Scott; 10-25-2012 at 11:22 AM.. Reason: Code tags for code, please...
# 2  
Old 10-25-2012
Well, it is just the local net, bridging, switching, hubbing, broutering but not routing. Life there is just arp and go. See if the arp cache knows the mac of the gateway. Address Resolution Protocol (ARP) for Linux administrators Tournas Dimitrios

Can it ping itself by IP on both interfaces?

Can other hosts on either net ping it on both IP?
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 10-26-2012
Code:
ifconfig bond0

the interface needs to be configured. Is the bond up and running?

As you haven't shown any other interface configurations you should have this entry in one of them (i.e. /etc/sysconfig/network-scripts/ifcfg-eth0)
Code:
MASTER=bond0
SLAVE=yes

# 4  
Old 10-26-2012
(1) It can ping itself by IP on both interfaces.
(2) Other hosts in the same subnet can ping bond0, but not eth1.

Thanks.

Quote:
Originally Posted by DGPickett
Can it ping itself by IP on both interfaces?
Can other hosts on either net ping it on both IP?
---------- Post updated at 09:07 AM ---------- Previous update was at 09:04 AM ----------

Here is the info:

Code:
# ifconfig bond0
bond0     Link encap:Ethernet  HWaddr 00:11:0A:59:B7:E8
          inet addr:172.17.220.231  Bcast:172.17.223.255  Mask:255.255.252.0
          inet6 addr: fe80::211:aff:fe59:b7e8/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:35636 errors:0 dropped:0 overruns:0 frame:0
          TX packets:132845 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3754935 (3.5 MiB)  TX bytes:7267244 (6.9 MiB)

# cat ifcfg-eth4
DEVICE=eth4
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

Thanks.




Quote:
Originally Posted by Tommyk
Code:
ifconfig bond0

the interface needs to be configured. Is the bond up and running?
As you haven't shown any other interface configurations you should have this entry in one of them (i.e. /etc/sysconfig/network-scripts/ifcfg-eth0)
Code:
MASTER=bond0
SLAVE=yes


Last edited by Scott; 10-26-2012 at 10:21 AM.. Reason: Code tags
# 5  
Old 10-26-2012
So, the 10. interface that can route is not pingable, and the 172. interface that cannot arp its gateway is pingable? Maybe we should get some traceroute's or something. The 10. might not ping because of routing setup, as 10. is only routable within an intranet. If the 172. pings from outside, it can obviously find a route, and we wonder what that is! Some tcpdump or whatever can tell us how far it gets on the lan. What does the arp cache look like for the 172. hosts? (ARP cache generally has a life of minutes.)
This User Gave Thanks to DGPickett For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. IP Networking

Facing issue in ip6table rule for port based routing management

Hi, Please help me on issue described below, I have 4 machine setup, M1 -> M2 -> M3 | M4. And A laptop that can be reachable through both M3 and M4. M2 has 2 NIC conected to M3 and M4. Now I want to divide the flow coming from M1 for laptop. At M2, I have done following,... (1 Reply)
Discussion started by: rahulbhansali24
1 Replies

2. Solaris

Routing Issue

we are not able to ping client server (falcon-ebr.sbms.bsc.com) from netbackup master server (135.179.96.122 tsprd-ebr.edc.single.net) However from client server we are able to ping the master Server. Please assist on this (1 Reply)
Discussion started by: Rahul466
1 Replies

3. UNIX for Dummies Questions & Answers

Routing issue - local vs LAN

hi guys suse 11 SP1 x64 I have a server (4 NIC ports 192.168.100.100-103) that connects point to point to a storage device (same thing 4 ports 192.168.110.100-113) but this server connects to normal LAN 10.6.100.x - gateway 10.6.100.1 the issue is when testing connectivity to the storage... (7 Replies)
Discussion started by: karlochacon
7 Replies

4. Shell Programming and Scripting

A very tough exercise

hello everyone!:) I have an exercise which I think is difficult for beginner like me. Here is the exercise Create a shell script, which takes a directory as command line argument. Script displays ten first lines from every text file in that directory. After displaying the lines from the... (1 Reply)
Discussion started by: googlevn
1 Replies

5. IP Networking

Need help with a routing issue.

I have run into a wall troubleshooting a Centos 5 networking issue. Hoping someone can assist. I've got a box with two vlans trunked over bond0 bond0 Link encap:Ethernet HWaddr 00:22:64:C1:D6:60 inet6 addr: fe80::222:64ff:fec1:d660/64 Scope:Link ... (0 Replies)
Discussion started by: creedog
0 Replies

6. IP Networking

IP - Routing issue?

I have an IP routing issue or I am just to stupid to work it out myself. I have setup am old PC running SUSE Linux 11.3 as a router, the system has 3 Interfaces connecting 3 networks. Interface 1 = 10.164.2.161/21 Interface 2 = 192.168.1.210/24 Interface 3 = 30.1.0.11/16 The default... (6 Replies)
Discussion started by: hogola
6 Replies

7. UNIX for Dummies Questions & Answers

tough parsing

I have a string as "Period= 20090531 Client Name= Clayton Lumbar Company Destination= MD" I want to parse the string and store it in 3 different variables. $period (should get value 20090531) $client (should get value "Clayton Lumbar company") $dest (should get value MD) How can I do... (3 Replies)
Discussion started by: paruthiveeran
3 Replies

8. AIX

AIX Routing Issue

Hello, I've moved to a new network with multiple AIX box's. Most of them are working fine and dandy. On one box I need to set up a static route to a gateway.. no problem right? Whenever I add the route it appears in the routing table as UGc and then begins adding new entries to the... (1 Reply)
Discussion started by: joshstar14
1 Replies
Login or Register to Ask a Question