cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
6
Replies

NATting Problem

gauravm
Level 1
Level 1

hi all,

i want to nat an IP address thats coming from outside to my network , but somehow something seems to be not working . im attching the configuration please let me know the error.

interface FastEthernet0/0

ip address 192.168.2.9 255.255.255.240

ip nat inside

no keepalive

duplex auto

speed auto

!

interface BRI0/0

ip address 10.10.10.1 255.255.255.252

ip nat outside

encapsulation frame-relay

dialer idle-timeout 300

dialer-group 1

isdn switch-type basic-net3

frame-relay map ip 10.10.10.2 98 broadcast

frame-relay interface-dlci 98

!

interface Serial0/1

no ip address

ip nat outside source static 192.168.104.1 192.168.2.9

ip classless

ip route 10.9.105.0 255.255.255.0 10.10.10.2

ip pim bidir-enable

!

kindly help.

6 Replies 6

rais
Level 7
Level 7

Do you have a route that states 192.168.2.9 is outside?

ip route ip route ip route 192.168.2.9 255.255.255.255 10.10.10.2

Thanks.

dbellaze
Level 4
Level 4

The problem is probably that you are using the interface of your router's ethernet for NAT. This works ok if its overloaded, but not if its a static one to one NAT.

I would pick a different address in the 192.168.2.x subnet to use for NAT. If not then overload your fastethernet.

ip nat outside source list 1 int fa 0 over

access-list 1 permit host 192.168.104.1

Daniel

thanks for reply .

hi ,

i have tried for using other address also eg 192.168.2.10.but its not working.

to be clear , i want an IP address 192.168.104.x to be natted to 192.168.2.x into my network.

need help!!

ip nat inside source static network 192.168.104.0 192.168.2.0 255.255.255.240

but you should know that using 192.168.2.9 as your router's IP address may cause you problems with your NAT.

You should try this first

ip nat inside source static network 192.168.104.1 192.168.2.1

ip nat inside source static network 192.168.104.2 192.168.2.2

ip nat inside source static network 192.168.104.3 192.168.2.3

...

until

ip nat inside source static network 192.168.104.8 192.168.2.8

Check if these work. If yes, continue but you should make SURE that no other device is using 192.168.2.1, 192.168.2.2, 192.168.2.3 ... IP addresses.

You shouldn't use router's IP address 192.168.2.9 nor any other IP address being used by other devices.

Use a range of available IPs.

Regards

Marinos

hi,

i am trying ip nat outside source static 192.168.104.1 192.168.2.10 .its bcoz 192.168.104.1 is coming from the outside network .

but, when i try to ping the same from other network its not pinging.

kindly check.

Can you try ip nat outside source static 192.168.104.1 192.168.2.10 add-route

and tell if it works?

Review Cisco Networking for a $25 gift card