10-16-2006 02:44 PM - edited 03-03-2019 02:22 PM
we have a new email mail box that has 172.16.1.44 natted to 67.x.x.6 for incoming traffic - what i need to happen is have all outbound smtp traffic from 172.16.1.32 to also use 67.x.x.6 - doable?
thanks in advance.
10-16-2006 03:39 PM
It's "sorta" doable.
The easiest way is to use an internal DNS where the mail server is referenced by its inernal address.
People external to your domain would get the public address, people inside your domain would get the internal address.
You'd need to change the host settings (no real problem if ou're using DHCP) to use the internal DNS as Primary" and an external DNS as secondary.
Good Luck
Scott
10-16-2006 09:04 PM
I thnik a simple NAT would do the job wherein you can natt all ip range to single IP address with overlad as a feature . If u you post [ show run ] that would help .
see / rate if this works
tc
10-16-2006 04:23 PM
I didnt know if it was possible, so Ive tested it.
config
int s1/0.23
ip ad 172.16.123.1
ip nat out
int fa0/0
ip nat ins
ip nat inside source list 115 interface Serial1/0.23 overload
ip nat inside source static 172.16.10.5 interface Serial1/0.23
!
access-list 115 permit ip 172.16.35.0 0.0.0.255 any
r1#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 172.16.123.1:4 172.16.35.5:4 172.16.123.2:4 172.16.123.2:4
--- 172.16.123.1 172.16.10.5 --- ---
It works without a problem
Vlad
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