How to configure configure static nat with secondary IP?

By petersan.jeanpierre ·
I am deploying a cisco 2621 as perimeter router. I would like to configure fast ether 0/0 with ip as primary and as secondary ip. In addition, I want to use Dynamic nat on 121 for my network (fast ether 0/1) and allow only inbound traffic over port 443, 4621 going to server

is it possible to accomplish if so can someone give me an example?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

How to configure configure static nat with secondary IP?

by petersan.jeanpierre In reply to Read more here..

The reply is very helpfull and I wish I had that a few days ago. What I am realy trying to achieve is this.

interface FastEthernet0/0
ip address
ip address secondary
ip nat outside
ip access-group Filter_WAN_In in

interface FastEthernet 0/1
ip address
ip nat inside
ip access-group Filter_LAN_In in
ip access-group Filter_LAN_Out out

ip nat inside source list 1 interface FastEthernet0/0 overload
ip nat inside static tcp 1**.168.1.113 25 interface FastEthernet0/1 25


access-list 1 permit any

ip access-list extended Filter_WAN_In
permit ip any any
deny ip any any
ip access-list extended Filter_LAN_In
permit tcp any host 25 any 25
permit ip any host
ip access-list extended Filter_LAN_Out
permit ip any any

With the above configuration, as you can see I am trying to use two ip addresses on the same interface FastEther0/0

What I would like to do is allow the inside network to use the first ip for nat translation dynamic translation and use the second ip address for specific static connection with internal servers like a mail server etc.

before I configure nat on outside interface, I am able to ping both IP's. Once nat is configured, I can only ping the primary ip not the secondary.

my question is can I physically configured the router to make use of the above implimentation? Since I am new to CISCO, I don't a whole lot about router configuration to determine if what I am trying to do is even possible.

If what I am trying to accomplish is not possible can I get an alternate solution?

Collapse -

I can see the figures but i need to know what in terms of use..

You are trying to implement, IE. server to workstations. Sorry but i need the "machine 1 to connect to machine 2. You can set the router(s) for "Auto" in the router settings. If you have two routers and you need to have one "inhouse" then you can set one to "adhoc".
Just need more hardware info.

Please post back if you have any more problems or questions.

Related Discussions

Related Forums