LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ping checks along priority routing

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: ping checks along priority routing
Cc: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, Roberto Nibali <ratz@xxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 23 May 2001 00:57:56 +0000 (GMT)
        Hello,

On Tue, 22 May 2001, Joseph Mack wrote:

> I'd like something
> like a ping check to show that the routes are working (sure
> I can look at the tables, but what if they're not implemented
> properly, or I misinterpret them). Is there anyway to ping with
> src_addr set to some IP or ping with sorce interface =lo?

        Not possible with src interface "lo" but possible with source
address configured in "lo". Oh yes, "source interface" for some tools
means "get one address from this iface and use it". In most of the
cases these tools don't do the Right Thing.

        You can simply grab the iputils tarball from Alexey's iproute2
site (may be already installed in your distrib) and to try:

ping -I src dst
or
arping -I if -s src dst

> Joe


Regards

--
Julian Anastasov <ja@xxxxxx>



<Prev in Thread] Current Thread [Next in Thread>