11-25-2009 02:37 PM - edited 03-11-2019 09:42 AM
I currently have these statement in my config:
global (outside) 1 192.168.10.5
global (outside) 61 192.168.10.67
nat (inside) 1 10.156.16.0 255.255.255.0
nat (inside) 61 10.156.28.0 255.255.255.224
This works fine, but I would like to have both nat statements translate to 192.168.10.5. Are the statements below the correct way to accomplish this?:
global (outside) 1 192.168.10.5
global (outside) 61 192.168.10.5
nat (inside) 1 10.156.16.0 255.255.255.0
nat (inside) 61 10.156.28.0 255.255.255.224
Thanks.
Solved! Go to Solution.
11-25-2009 06:34 PM
Both globals cannot be the same. You will get this error message
"global for this range already exists"
All you need is the second "nat" line.That is all.
You have the following:
global (outside) 1 192.168.10.5
global (outside) 61 192.168.10.5 ------------->remove
nat (inside) 1 10.156.16.0 255.255.255.0
nat (inside) 61 10.156.28.0 255.255.255.224 ------->change the ID from 61 to 1
You need the following:
global (outside) 1 192.168.10.5
nat (inside) 1 10.156.16.0 255.255.255.0
nat (inside) 1 10.156.28.0 255.255.255.224
11-25-2009 03:38 PM
That is corrent.
Make sure 192.168.10.5 is not the interface ip address (it is probably not since it is working for the other global) and you will be ok.
I hope it helps.
PK
11-25-2009 06:34 PM
Both globals cannot be the same. You will get this error message
"global for this range already exists"
All you need is the second "nat" line.That is all.
You have the following:
global (outside) 1 192.168.10.5
global (outside) 61 192.168.10.5 ------------->remove
nat (inside) 1 10.156.16.0 255.255.255.0
nat (inside) 61 10.156.28.0 255.255.255.224 ------->change the ID from 61 to 1
You need the following:
global (outside) 1 192.168.10.5
nat (inside) 1 10.156.16.0 255.255.255.0
nat (inside) 1 10.156.28.0 255.255.255.224
11-27-2009 06:20 AM
That worked. Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide