LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-Tun : RS receive packets, but not "tunl0"

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, olivier.bonvalet@xxxxxxxxxx
Subject: Re: LVS-Tun : RS receive packets, but not "tunl0"
From: Matt Chan <engineuity@xxxxxxxxx>
Date: Mon, 6 Feb 2006 09:42:02 -0500
On 2/5/06, Olivier Bonvalet <olivier.bonvalet@xxxxxxxxxx> wrote:
>
> To set up the real server, I use this :
>     echo 1 > /proc/sys/net/ipv4/ip_forward
>     echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce
>     echo 3 > /proc/sys/net/ipv4/conf/all/arp_ignore
>     modprobe ipip
>     ifconfig tunl0 0.0.0.0 up
>     echo 0 > /proc/sys/net/ipv4/conf/tunl0/rp_filter
>     echo 2 > /proc/sys/net/ipv4/conf/tunl0/arp_announce
>     echo 3 > /proc/sys/net/ipv4/conf/tunl0/arp_ignore
>     ifconfig tunl0 x.x.x.140 netmask 255.255.255.255 broadcast x.x.x.140up
> So, what did I forget ?

Seems like you may need to add a route to the DIP from tunl0 (on the
realserver):
route add -host x.x.x.127 dev tunl0

-Matt Chan

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