Mapping Public ip to private ip

Hi,

I have Cisco 1751 Router.I have 8 public ip address.I want to map all public ips for specific purpose like ftp,webserver and others.How i can do this.How can i forward ips to local network.


Geniuc Indian
LVL 1
mtc_comAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
peteysaConnect With a Mentor Commented:
Good Day,

For the requested configuration you will want to use NAT.

you first define you interfaces with the strings
router(config)# int s0
router(config-if)# ip nat outside

router(config)# int e0
router(config-if)# ip nat inside

Define static nats
router(config)# ip nat inside source static internalip externalip

You can also still allow dynamic nat using

router(config)#ip nat pool pooldesctiptor firstip lastip netmask netmaskOFyourLAN

router(config)#ip nat inside source list 1 pool pooldescriptor

router(config)# access-list 1 permit lannetwork netmaskinversed

Confirm by  
router# shop ip nat translations

You should then setup your access lists inbound on the serial interface to restrict access.

Cheers!
dan

0
All Courses

From novice to tech pro — start learning today.