Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to configure Loadbalancing in Lan Server with Router 1841?

Dear All,

I would like to ask you some question that i wat to do loadbalancing in my lan server, let me tell you more on this!!

In my local i have 2 server and connect to switch(L2) and the switch connected to router 1841 on port F0/1 , and port F0/0 connect to Internet.

so from client outside(1000user) connect to inside(both server) so i want to loadbalancing 500 user (outside) connect to my server 1 and 500 connect to my server2 !

How can i do on this?

Best Regards,

Rechard

3 REPLIES
New Member

Re: How to configure Loadbalancing in Lan Server with Router 184

I'm not sure how to use the 1841 to achieve this but in my company I use DNS. You nat the two servers to two public IPs on the router and you have both IPs in your DNS record. Since the DNS server will rotate the A record your clients will randomly get different IPs. Then it will achieve load-balancing.

New Member

Re: How to configure Loadbalancing in Lan Server with Router 184

Dear Sir,

Thanks you for you help!!!

Could you let me know simple configuration on this?

Best Regards,

Rechard

New Member

Re: How to configure Loadbalancing in Lan Server with Router 184

There are really not too much you need to put on the router except the NATing. Let's say that you servers have ip 192.168.1.1 and 192.168.1.2 and they will be NATed to 1.1.1.1 and 1.1.1.2. So on your router you should have these two commands:

ip nat inside source static 192.168.1.1 1.1.1.1
ip nat inside source static 192.168.1.2 1.1.1.2

Of course also permit the traffic on your ACL.

Then you just have to go talk to whoever manages your DNS record and say: hey can you create record for www.rechard.hk to 1.1.1.1 and 1.1.1.2 and you are done.

394
Views
0
Helpful
3
Replies
CreatePlease login to create content