Master CCNA

How to Master CCNA Ebook

 

 

My book will help you Master CCNA

Master CCNP SWITCH

How to master CCNP SWITCH ebook

 

 

My book will help you Master CCNP SWITCH

Master CCNP ROUTE

How to master CCNP ROUTE Ebook

 

 

My book will help you Master CCNP ROUTE

Print

NAT TCP Load Balancing

Written by Rene Molenaar on . Posted in Network Services

Scenario:

You are working as a networking trainee and in your pasttime you enjoy troubleshooting networks. Your roommate has a huge website and has bought multiple webservers to host the website. He doesn't have any more money for a decent load balancer so he asks you if you know any other method to share traffic along the webservers. Let's see if you can keep your balance...

Goal:

  • All IPv4 addresses have been preconfigured for you.
  • Static routes have been configured on the webservers and the host for full connectivity.
  • Configure HTTP server on all webservers.
  • Whenever router host sends an IP packet to IP address 192.168.45.100 port 80 it should be load-balanced using round-robin among the webservers.

IOS:

c3640-jk9s-mz.124-16.bin

Topology:

NAT TCP Load Balancing

Video Solution:

You need to a flashplayer enabled browser to view this YouTube video

You need to register to download the GNS3 Topology File. (Registration is Free!)

Only registered users can write comments!

Comments (5)

  • avatar
    Druvakumar

    Hi Rene,
    I have used below cmd's, but still translation is not working for me, show some light here pls.

    interface FastEthernet0/0
    ip address 192.168.123.4 255.255.255.0
    ip nat inside
    ip virtual-reassembly
    duplex auto
    speed auto
    !
    interface FastEthernet1/0
    ip address 192.168.45.4 255.255.255.0
    ip nat outside
    ip virtual-reassembly
    duplex auto
    speed auto


    ip nat pool WWW 192.168.123.1 192.168.123.3 prefix-length 24 type rotary
    ip nat inside destination list 25 pool WWW
    !
    access-list 25 permit 192.168.45.100

  • avatar
    Druvakumar

    Additional to my below comments.

    Below configuration are added in NAT router

  • avatar
    ReneMolenaar

    Here's an example that should work:

    Code:

    interface FastEthernet0/0
    ip nat inside
    !
    interface FastEthernet1/0
    ip nat outside
    Code:
    ip nat pool ROTATE prefix-length 24 type rotary
    address 192.168.123.1 192.168.123.1
    address 192.168.123.2 192.168.123.2
    address 192.168.123.3 192.168.123.3
    Code:
    ip nat inside destination list BALANCE pool ROTATE
    Code:
    ip access-list extended BALANCE
    permit tcp any host 192.168.45.100 eq www
    Code:
    ip alias 192.168.45.100 80

    Haven't tried it yet, I'll try to do the video asap.

  • avatar
    Druvakumar

    Many thanks Rene.