IP packets from routing, how the source IP is set to the virtual IP routing
As title,
145.217 virtual IP routing
145.246 IP routing
The data is no problem, the original IP routing forwarding out
But the routing is sent the original IP router IP rather than virtual IP
IP route as follows,
Root: ~ # IP route list
The default via 10. BBB. 145.1 dev eth0
10. The BBB. 145.0/24 dev eth0 scope link SRC 10. BBB.
145.217
Have tried
10. The BBB. 145.246 dev eth0 scope link SRC 10. BBB.
145.217But the TCPdump to display the source IP is still 246
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
About structure is as follows
,,,,,,,,,
Two virtual IP router,
Virtual IP router 1 [open] router 2 [virtual IP closed]
Virtual IP Intranet server IP (target)=2 (router 1)
Router 1 program to accept the requirements of the network, from new to send packets to the web server
Router 2 didn't accept to the requirements of this network because he didn't open the virtual IP
,,,,,,,,,,,,,,,,,,,,,,,
After a failover
,,,,,,,,,,,,,,,,,,,,,,,
Virtual IP router 1 [closed] router 2 [open] virtual IP
Virtual IP Intranet server IP (target)=2 (router 2)
Router 1 did not take to the requirements of the network because he didn't open the virtual IP
Router 2 program to accept the requirements of the network, from new to send packets to the web server
Excuse me, does this configuration is there a problem?
From outside the program links inside the router web server will be active IP problem, because the network see the IP router is not the same as
Another note, the router will have a program open heel inside the network duplex duplex transmission link, go out with incoming packets are made by the incoming, generally do not interrupt,