Re: Access virtual IP from keepalived host
"Lennart Sorensen" <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 17, 2013 at 10:21:01AM +0400, kay wrote: > Yes, I am sure. > > Here is my configuration: > > Real IP is 192.168.17.134 > > ipvsadm -Ln > IP Virtual Server version 1.2.1 (size=4096) > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > TCP 192.168.17.11:80 rr > -> 192.168.17.12:80 Route 1 0 0 > -> 192.168.17.13:80 Route 1 0 0 > > Here is telnet tcpdump log on the keepalived host: > > 10:15:34.678609 IP 192.168.17.11.8785 > 192.168.17.11.80: Flags [S], seq > 797301908, win 32792, options [mss 16396,sackOK,TS val 246652916 ecr > 0,nop,wscale 8], length 0 > 10:15:34.678624 IP 192.168.17.11.8785 > 192.168.17.11.80: Flags [S], seq > 797301908, win 32792, options [mss 16396,sackOK,TS val 246652916 ecr > 0,nop,wscale 8], length 0 > 10:15:34.678627 IP 192.168.17.11.8785 > 192.168.17.11.80: Flags [S], seq > 797301908, win 32792, options [mss 16396,sackOK,TS val 246652916 ecr > 0,nop,wscale 8], length 0 > > And it is not possible to add route rule to table: > > ip route add table local 192.168.17.11/32 dev eth0 proto kernel scope link > src 192.168.17.134 > RTNETLINK answers: File exists If you already have a route for that entry, then use ip route replace, not ip route add. -- Len Sorensen ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk