cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
0
Helpful
2
Replies

dynamic & static nat

anselmwu
Level 1
Level 1

Help, plz.

I have a 1720 running dynamic nat and it works ok.

Now i have a pc with 192.168.1.100 and I want to map it to 210.17.25.122, so that I can access the pc outside. What should I do?

My running config is as following.

ip dhcp pool 0

network 192.168.1.0 255.255.255.0

default-router 10.10.10.100

dns-server 168.95.1.1 168.95.192.1

!

no ip dhcp-client network-discovery

!

!

!

interface FastEthernet0

description testip

ip address 192.168.1.254 255.255.255.0

ip nat inside

no keepalive

speed auto

!

interface Serial0

ip address 210.17.25.126 255.255.255.248

ip nat outside

!

ip nat pool 1stnat 210.17.25.121 210.17.25.121 netmask 255.255.255.248

ip nat inside source list 1 pool 1stnat overload

ip classless

ip route 0.0.0.0 0.0.0.0 210.17.25.126

no ip http server

!

access-list 1 permit 192.168.1.0 0.0.0.255

2 Replies 2

csaldanha
Level 1
Level 1

I would like to know this also...

I think it is common if you host your email server, you have a situation where you want Static NAT for the email server and PAT for Browsing.

Can someone please reply?

Thanks

- Carla Saldanha -

mike
Level 1
Level 1

see:

http://www.cisco.com/univercd/home/home.htm

the command is:

ip nat inside source static 192.168.1.100 210.17.25.122