cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
5
Helpful
3
Replies

NAT

londint
Level 1
Level 1

Please How do I go about doing a network translation from ip address 192.168.3.1 to 194.168.2.1?

This is so that when request is made for 194.168.2.1 it will be sent to 192.168.3.1.

Thanks for your help.

3 Replies 3

steve.barlow
Level 7
Level 7

ip nat inside source static 192.168.3.1 192.168.2.1

!

interface e 0

ip address 192.168.3.2 255.255.255.0

ip nat inside

!

interface s 0

ip address 192.168.2.2 255.255.255.0

ip nat outside

Hope it helps.

Steve

Thanks Steve

Not really

I need to nat this addresses on an MSFC interface. Please can you tell me why you used 192.168.2.2.

Sorry I did not say this earlier but there is no Serial link. The situation is such that the users will come on to the network with address a.a.a.a and I need them to get to b.b.b.b so what I was thinking was mapping a.a.a.a to b.b.b.b so that they can reach b.b.b.b. As I said this is all going on MSFC.

Thank for your help.

ip nat inside source static a.a.a.a b.b.b.b

!

interface vlan aaa

ip address a.a.a.a m.m.m.m

ip nat inside

!

interface vlan CCC (Where the packets are originating = c.c.c.c ==> a.a.a.a=>O<==b.b.b.b)

ip address c.c.c.c m.m.m.m

ip nat outside

That better?

-bo

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: