Load Balancing + Zones + Default route

Howdi! - I'm in the process of setting up a http load balancer in front of 2 zones.

Since i would like to maintain proper logging on the zones, the source address from the client hitting the load balancer is maintained, ie the zone will, when trying to reply, try to hit the originating client instead of the load balancer. Normally i would just change the default route on the zone to hit the load balancer, but since that's not an option in zones i'm looking for other options.

I've trying playing around with ipf/ipnat but that doesnt seem to be able to do what i need (ie redirect from a source ip+source port pair to just a destination ip).

.. Anyone has any hints ?

/D.

[710 byte] By [DanVP] at [2007-11-26 10:50:45]
# 1

Change the default route in the global zone to hit the load balancer. The zones will inherit it.

If you need avoid the global zone hitting the load balancer as well, or if you need to have some

zones hit it and others not, then you will need to put the load balanced zones on IP addresses

on a different subnet than the rest. You can tweak the subnets to be quite small.

Then put extra default routes in place in the global zone. The zones will pick up the default route in their subnet.

robertcohen at 2007-7-7 3:03:25 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Cheers much, works perfectly.... Requires me to be alarmingly awake when fiddling, but ;)/Dan.Message was edited by: DanVP
DanVP at 2007-7-7 3:03:25 > top of Java-index,Solaris Operating System,Solaris 10 Features...