LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR with kernel 2.6 realserver

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR with kernel 2.6 realserver
From: Ric Searle <ric@xxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 10:14:21 +0000
     route add -host 82.115.225.254 dev lo:0

You just don't need this route. The IP stack will route the packet for you. In fact, with a 2.4 kernel, if I add the route, it does NOT work. So, forget the route.

That's what I'd hoped, but the following should work (on the realserver):

  root@realserver:~# telnet 82.115.225.254 80
  Trying 82.115.225.254...
  telnet: connect to address 82.115.225.254: Network is unreachable

This works:

  root@realserver:~# telnet localhost 80
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.

Ric

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