Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

static nat & public IP on inside interface.

Hello Guys,

I am facing some issue related to static nat please provide your replies. let me explain the scenario.

  1. At site we have 4 cameras connected on switch and NVR (network video recorder) also connected on the same switch.
  2. Locally at site we are able to access the four cameras via http/web and also through NVR software .
  3. In order to access this cameras from remote location, we did static natting in router with pubic ip address for this cameras private IP address. Find nat table below.
  4. At remote site/from internet when we are adding the cameras in NVR software using public IP address. Later automatically public IP address resolving into private IP address.
  5. We are able to access cameras individually using http://<public ip address for camera> but when we try to add it in INVR software its changing public ip address to private.

Camera Name

Private IP address

Public IP address

Camera 1

xx. x8.23.115

Camera 2


Camera 3


Camera 4



Below is the configuration for the router. I am concerned about the public IP address which is assigned on internal/LAN interface instead of outisde interface by ISP. In other project i experienced Public IP address is at outside interface and private is at inside interface and we do static nat for inside to outside interface.

But here when i access the cameras through public IP individually its working but not when i am adding this public IP in NVR software. May be something is wrong with static.

interface GigabitEthernet0/0.1
 encapsulation dot1Q 868
 ip address
 ip nat outside
 ip virtual-reassembly in
interface GigabitEthernet0/1
 ip address secondary
 ip address 212.x.x.113                       (its a public IP address)
 ip nat inside
 ip virtual-reassembly in
 duplex auto
 speed auto

ip nat inside source list 10 pool SLT overload
ip nat inside source static x.x.23.115
ip nat inside source static x.x.23.116
ip nat inside source static x.x.23.117
ip nat inside source static x.x.23.118

ip route
access-list 10 permit

ip nat translation tcp-timeout 1000
ip nat translation udp-timeout 1000
ip nat pool SLT xx.xx.23.114 xx.xx.23.114 netmask
ip nat inside source list 10 pool SLT overload


Please advise on the above configuration. Your help in the above regard will be highly appreciated.


Many Thanks in Advance.




It is a bit odd to see the

It is a bit odd to see the IPv4 address assigned this way. (Putting it on a Loopback would be a more elegant approach if the ISP is using private addresses for the WAN link.) But, there's nothing in here that would cause the NAT to fail. I suspect that the cameras are doing an HTTP redirect to their private IPv4 addresses at some point and this is causing your software to switch.

With this configuration, there's no reason why you can't just put the cameras directly on the public addresses and forego the NAT entirely. If there is a redirect going on, they will redirect to the correct IPv4 address and things will still work.

CreatePlease to create content