LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ping checks along priority routing

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ping checks along priority routing
Cc: Julian Anastasov <ja@xxxxxx>
From: Roberto Nibali <ratz@xxxxxx>
Date: Tue, 22 May 2001 18:10:21 +0200
Hi Joe,

I'm not so sure if I understood the question.

Joseph Mack wrote:
> 
> If I have a VS-DR real-server with
> 
> lo:0=VIP
> eth0=RIP
> 
> and I set priority routing so that packets from the VIP go
> to the router and the default gw goes to the DIP, then the
> VS-DR LVS works (as expected).

How do you set the priority? With ip route add ... prio ... ?
 
> The reason I want to do this is to make sure that calls from clients
> at the RIP (rather than the VIP) don't get sent out the router.

?? What calls
RIP -> VIP(director)?
 
> 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 sure but maybe hping can might help you.
http://www.kyuzz.org/antirez/hping3.html (development)
http://www.kyuzz.org/antirez/hping.html  (old hping2, but working)

How about:

ip route get $IP?

Best regards,
Roberto Nibali, ratz

-- 
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`


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