How to do NAT if I need translate PC IP to IP address f.e.

I set ip nat inside and ip nat Outside interface and there is also OSPF between routers and server.

I use ip nat inside source static

I know that I need to add network because of routing, I tried assign this network to LoopBack0 and add this network to OSPF, but it still no working. What I need to do?

Running config border : Config

  • Please provide the configuration of the router that is doing NAT.
    – Indigo
    Jan 11, 2016 at 10:30
  • Here it is: pastebin.com/cTuKtszi
    – DavidM
    Jan 11, 2016 at 10:56
  • Can ping the other router (the one not doing router)? What does "sh ip route" on the non-NAT router display? Can you post the non-NAT router configuration and "show ip route"?
    – Everton
    Jan 11, 2016 at 12:37
  • No i cannot ping upper router from PC. Config upper router: pastebin.com/n5BgUQCq Here is routing table upper router: pastebin.com/ZPs3T7u8
    – DavidM
    Jan 11, 2016 at 12:52
  • 1
    I think that there is problem because of Loopback0 where is network In NAT router in routing table is network directly connected, but in upper NON-NAT router is in routing table why?
    – DavidM
    Jan 11, 2016 at 13:04

1 Answer 1


The non-NAT router is missing a route for the address

Try injecting the required route as static route and then redistribute it into OSPF of NAT router:

router ospf 1
 redistribute static subnets

ip route null0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.