Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NATing automatically through a range of publicly IP addresses

Status
Not open for further replies.

drew1701d

Technical User
Joined
May 15, 2002
Messages
295
Location
US
Hi, we have a range of publicly accessible IP address and want our outbound internet traffic to cycle through that range, i.e. if a user opens up a browser and visits a website, that site will see him coming from 60.22.50.128, and if he closes the web browser and opens it up again, we want it to either randomly or not go out using a different IP address i.e. 60.22.50.129. I thought the below solution would work, but apparently its not, our first two test workstations are stuck with the first two IP addresses in the range .128 & 129 and are not changing to the others when the browser is re-opened. Any ideas?



ip nat pool poolsp10 60.22.50.128 60.22.50.135 netmask 255.255.255.248
ip nat inside source list 10 pool poolsp10
 
Why would you want to do this? What is your goal for a setup of this nature?
 
load balancing & dynamic nat'ing, also mainly to ensure that the user base browsing habbits are not tracked by the sites they visit so the same search results don't keep coming up when a user searches for a topic on a site.
 
Load balancing if for multiple paths(different ISP connections)to the internet. How may users are there?
 
Ive only really done this on load-balancing inbound connections but try adding the command 'rotary' to your pool, ie

ip nat pool poolsp10 60.22.50.128 60.22.50.135 netmask 255.255.255.248 rotary

This load-balances TCP connections typically so may work for web traffic as this is TCP
 
KiscoKid,
Close, but no cigar, I thought of doing that too but its only for inbound as when I try to add it to the nat pool i get denied ~ rotary is an invalid input
 
ok, i added type rotary to the pool and it took it, but the behavior is still the same, plus i got a warning that it may not behave correctly

p nat pool poolsp10 60.22.50.128 60.22.50.135 netmask 255.255.255.248 type rotary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top