Hi Adrian,
I am getting somewhere (slowly) I think.
This is an extract from some Cisco docs I found -
Dispatched mode—Places the MAC address of the load-balanced real server
in a packet for redirection.
The real server has an alias IP address that matches the virtual IP
address on LocalDirector.
This mode requires subnet adjacency.
Directed mode—Uses NAT to translate the IP headers in packets. NAT
translates the IP address of the virtual server to the IP address
of the real server that is being load balanced.
Hence:
Cisco LD Dispatch mode = LVS-DR
Cisco LD Directed mode = some form of LVS-NAT and bridging although in
the above they only mention NAT.
This actually brings me right back to square one (The mail I sent to the
list on the 27.09.2001 regarding LVS-NAT and ethernet bridging)
and reminds me of a point you made earlier Adrian about LVS-NAT and
ethernet bridging:
> Or if you can push the packet from the bridging code into the IP code
it may
> also work. This implies patching the kernel.
I have had a look here http://bridge.sourceforge.net/devel/bridge-nf/
and their apears to be a kernel patch for 2.4.x
that does just this, bridging combined with netfilter/iptables
(patch bridge-nf-20010801-against-2.4.)
According to Lennert it is still experimental but works.
This should push the packet into the IP code :-)
I guess I need to go away and do some testing now.
Serge
|