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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Outbound IP Addresses

Status
Not open for further replies.

bosseye

IS-IT--Management
Jan 11, 2005
32
GB
Hi,
We have a fixed IP from our IP, and four static IP addresses (so our subnet mask is 255.255.255.252). Does anyone know how we configure our Cisco 2811 so that outbound traffic from a specific internal private address could be made so as to originate from one of our four IP addresses (instead of the router address). An example would be two mail servers, one at 10.0.0.2 and another at 10.0.0.3, one routing its traffic out of an IP address with one rDNS, the other out of a different IP address with a different rDNS setting? Any help appreciated. br
 
Hello
This should be the command for the router.
ip nat inside source static tcp 10.0.0.2 25 82.xx.xx.52 25
ip nat inside source static tcp 10.0.0.3 25 82.xx.xx.53 25

Regards
 
Thanks Minue - much appreciated. br
 
those commands above from Minue will allow the inbound translation to work correctly but to specify the outbound ip address that it uses youll need to set up a nat pool for each ip and then use a routemap for your nat translation..

so youll use access-lists to decide what traffic will get which ip..

also.. with a /30 mask (255.255.255.252) you have 4 total ips but only 2 of them are usable address space... the first ip is the subnet (or network) address and the 4th ip is the broadcast address.

if you dont use the nat-pool method it will take on whatever ip address you have assigned to the overload statement.. or if your overloading on an interface it will take the ip of that interface...

you can always verify byt getting on a host and browsing to
checkip.dyndns.org or something similar to see what ip youve been assigned.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top