(E-Mail Removed) wrote:
> Hi all,
>
> Actually I am simulating a load balance server. For that I need to
> configure the routing table of a host(Decision Maker) say A, for other
> two real server B and C. Such that, if for a perticular port any
> request comes at Server A, it will redirect it to either B or C, based
> on certain constraint(for this I suppose some algo are already
> implemented in kernel, we just need to enable that service).
> So could any body point out, that how to configure the routing table of
> Decision Server(A) to get the above mentioned things done.
You need to enable IP forwarding and setup iptables on your router A,
specifically port forwarding. Google for something like "iptables port
forwarding howto".