12-18-2004 02:04 AM - edited 03-02-2019 08:39 PM
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.
12-18-2004 05:34 AM
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.
12-18-2004 09:45 PM
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
12-19-2004 09:51 AM
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!!
12-20-2004 03:18 AM
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
12-20-2004 04:08 AM
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.
12-20-2004 05:43 AM
Can you try ip nat outside source static 192.168.104.1 192.168.2.10 add-route
and tell if it works?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide