Sponsored Content
Special Forums IP Networking This looks like a tough routing issue Post 302721315 by aixlover on Thursday 25th of October 2012 10:04:35 AM
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...
 

8 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

8. 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
BATMAND(8)						      System Manager's Manual							BATMAND(8)

batmand(8)						      System Manager's Manual							batmand(8)

NAME
batmand - better approach to mobile ad-hoc networking SYNOPSIS
batmand [options]interface[interface...] DESCRIPTION
B.A.T.M.A.N means better approach to mobile ad-hoc networking, this is a new routing protocol for multi-hop ad-hoc mesh networks. Go to http://www.open-mesh.net/ to get more information. The following document will explain how to use the batman daemon. The batmand binary can be run in 2 different ways. First you need to start the daemon with "batmand [options] interface" (daemon mode) and then you can connect to that daemon to issue further commands with "batmand -c [options]" (client mode). Some of the options below are always available, some are not. See the example section to get an idea. OPTIONS
-a add announced network(s) Add networks to the daemons list of available connections to another network(s). This option can be used multiple times and can be used to add networks dynamically while the daemon is running. The parameter has to be in the form of ip-address/netmask. -A delete announced network(s) Delete networks to the daemons list of available connections to another network(s). This option can be used multiple times and can only be used while the daemon is running. The parameter has to be in the form of ip-address/netmask. -b run debug connection in batch mode The debug information are updated after a period of time by default, so if you use "-b" it will execute once and then stop. This option is useful for script integration of the debug output and is only available in client mode together with "-d 1" or "-d 2". -c connect via unix socket Use this option to switch to client mode. Deploy it without any arguments to get the current configuration even if changed at run- time. -d debug level The debug level can be set to five values. default: 0 -> debug disabled allowed values: 1 -> list neighbors 2 -> list gateways 3 -> observe batman 4 -> observe batman (verbose) 5 -> memory debug / cpu usage Note that debug level 5 can be disabled at compile time. -g gateway class The gateway class is used to tell other nodes in the network your available internet bandwidth. Just enter any number (optionally followed by "kbit" or "mbit") and the daemon will guess your appropriate gateway class. Use "/" to separate the down- and upload rates. You can omit the upload rate and batmand will assume an upload of download / 5. default: 0 -> gateway disabled allowed values: 5000 5000kbit 5mbit 5mbit/1024 5mbit/1024kbit 5mbit/1mbit -h short help -H verbose help -o orginator interval in ms A node transmits broadcast messages (we call them originator message or OGM) to inform the neighboring nodes about it's existence. Originator interval is the time to wait after sending one message and before sending the next message. The default value is 1000 ms (1 second). In a mobile network, you may want to detect network changes very quickly, so you need to send message very often, for example, use a value of 500 ms. In a static network, you can save bandwidth by using a higher value. This option is only available in daemon mode. -p preferred gateway Set the internet gateway by yourself. Note: This automatically switches your daemon to "internet search modus" with "-r 1" unless "-r" is given. If the preferred gateway is not found the gateway selection will use the current routing class to choose a gateway. -r routing class The routing class can be set to four values - it enables "internet search modus". The daemon will choose an internet gateway based on certain criteria (unless "-p" is specified): default: 0 -> set no default route allowed values: 1 -> use fast connection 2 -> use stable connection 3 -> use fast-switch connection XX -> use late-switch connection In level 1, B.A.T.M.A.N tries to find the best available connection by watching the uplinks throughput and the link quality. In level 2, B.A.T.M.A.N compares the link quality of the internet node and chooses the one with the best link quality. In level 3, B.A.T.M.A.N compares the link quality of the internet node and chooses the one with the best link quality but switches to another gateway as soon as a better connection is found. In level XX (number between 3 and 256) B.A.T.M.A.N compares the link quality of the internet node and chooses the one with the best link quality but switches to another gateway as soon as this gateway has a TQ value which is XX better than the currently selected gateway. -s visualization server Since no topology database is computed by the protocol an additional solution to create topology graphs has been implemented, the vis server. Batman daemons may send their local view about their single-hop neighbors to the vis server. It collects the information and provides data in a format similar to OLSR's topology information output. Therefore existing solutions to draw topology graphs developed for OLSR can be used to visualize mesh-clouds using B.A.T.M.A.N. -v print version --disable-client-nat Since version 0.3.2 batmand uses iptables to set the NAT rules on the gateX interface of the batman client (-r XX). That option dis- ables this feature of batmand and switches the internet tunnel mode to "half tunnels" (the packets towards the gateway are tunneled but not the packets that are coming back) unless NAT was enabled manually. Be sure to know what you are doing! Without NAT the gate- way needs to have a route to the client or the packets will be dropped silently. --policy-routing-script This option disables the policy routing feature of batmand - all routing changes are send to the script which can make use of this information or not. Firmware and package maintainers can use this option to tightly integrate batmand into their own routing poli- cies. This option is only available in daemon mode. EXAMPLES
batmand eth1 wlan0:test Start batman daemon on interface "eth1" and on alias interface "wlan0:test" batmand -o 2000 -a 192.168.100.1/32 -a 10.0.0.0/24 eth1 Start batman daemon on interface "eth1" with originator interval of 2000 ms while announcing 192.168.100.1 and 10.0.0.0/24. batmand -s 192.168.1.1 -d 1 eth1 Start batman daemon on interface "eth1", sending topology information to 192.168.1.1 and with debug level 1 (does not fork into the background). batmand eth1 && batmand -c -d 1 -b Start batman daemon on interface "eth1". Connect in client mode to get the debug level 1 output once (batch mode). batmand -g 2000kbit/500kbit eth1 && batmand -c -r 1 Start batman daemon on interface "eth1" as internet gateway. Connect in client mode to disable the internet gateway and enable internet search mode. AUTHOR
batmand was written by Marek Lindner <lindner_marek-at-yahoo.de>, Axel Neumann <axel-at-open-mesh.net>, Stefan Sperling <stsp-at-stsp.in-berlin.de>, Corinna 'Elektra' Aichele <onelektra-at-gmx.net>, Thomas Lopatic <thomas-at-lopatic.de>, Felix Fietkau <nbd-at-nbd.name>, Ludger Schmudde <lui-at-schmudde.com>, Simon Wunderlich <siwu-at-hrz.tu-chemnitz.de>, Andreas Langer <a.langer-at-q-dsl.de>. This manual page was written by Wesley Tsai <wesleyboy42@gmail.com>, for the Debian GNU/Linux system. batmand(8)
All times are GMT -4. The time now is 02:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy