Forum Discussion
marcinq_57637
Jun 11, 2012Nimbostratus
SNAT with adress range?
Hello.
Is it possible to assign address range in SNAT instead of one address?
I tested that I can put two addresses in SNAT but what about range.
And second question.
When I put two addresses every time client sends request the source IP changes like round robin. Is it normal behaviour that can not be avoided?
M.
- hooleylistCirrostratusHi,
- marcinq_57637NimbostratusHello hoolio.
- El_JefeNimbostratusmarcinq - I have done exactly what you are doing. By far the easiest way to do it is by modifying the bigip.conf file directly. That is a lot easier than adding them in one by one. Add one, look how it is in the config file, then repeat 253 times, using a spreadsheet or something to count up through the IP addresses. (I used Excel and exported it to .txt) Edit the bigip.conf file as necessary, and then reload the bigip.conf file back to the LTM, and run a "b load" command for 10.x at the CLI or "tmsh load sys config partitions all" command for 11.x... Hope this helps.
- nitassEmployeein case bigpipe is available.
[root@ve1024:Active] config b snatpool test members 1.1.1.{1..5} [root@ve1024:Active] config b snatpool test list snatpool test { members { 1.1.1.1 1.1.1.2 1.1.1.3 1.1.1.4 1.1.1.5 } }
- El_JefeNimbostratusNitass - is there a TMSH equivalent for that? Would make my life easier occasionally. :P
- nitassEmployeeis there a TMSH equivalent for that? Would make my life easier occasionally. :Pi think there is no equivalent command in tmsh but we may be able to make it using scripting.
- El_JefeNimbostratusFound it. :)
- nitassEmployeetmsh create /ltm snatpool client1_snatpool members add { 1.1.1.50 2.2.2.50 }i thought you meant series of member IP address.
- El_JefeNimbostratusOops. I thought this would work -
- nitassEmployeeis there a TMSH equivalent for that? Would make my life easier occasionally. :Pit would look like this.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects