12-17-2022 04:07 AM
HI All !
I am new in Cisco pl help me to configure IP CAM Network
WAN IP - 103.77.XX.XXX 255.255.255.248 (PUBLIC IP)
LAN IP - 172.16.35.1
DHCP SERVER .172.16.35.1 255.255.255.224
NAT script
its a new router/me, so please share scripts in details !
Thanks for your help
12-17-2022 04:53 AM - edited 12-17-2022 04:53 AM
General Config should work - if you connecting to switch on lan side (change accordingly router port config)
config t
!
ip routing
!
ip dhcp excluded-address 172.16.35.1
!
ip dhcp pool LAN-DHCP
import all
network 172.16.35.0 255.255.255.224
default-router 172.16.35.1
dns-server 8.8.8.8 8.8.4.4
lease 7
!
!
!
interface GigabitEthernet0
103.77.XX.XX 255.255.255.248
no shutdown
ip nat outside
!
interface GigabitEthernet1 or VLAN X
172.16.35.1 255.255.255.224
no shutdown
ip nat inside
!
ip route 0.0.0.0 0.0.0.0 103.77.XX.YY (change YY to ISP side IP address)
!
!
access-list 100 permit ip 172.16.35.0 0.0.0.31 any
!
ip nat inside source list 100 interface GigabitEthernet0 overload
!
!
wr
IP CAM Network - not sure what IP CAM network you building here - need more information.
12-17-2022 05:19 AM
Thanks a lot for reply, Will check this configuration ...
12-19-2022 03:50 AM
Thanks a lot.....It Works !!
just one help need how can I access Cisco Router Via Putty from outside ? Its a public IP On WAN Side so for creating Tunnel, I need access from outside.
12-19-2022 03:59 AM
setup SSH on the device and VTY lines
SSH config :https://www.cisco.com/c/en/us/support/docs/security-vpn/secure-shell-ssh/4145-ssh.html
line vty 0 4
privilege level 15
password 7 xxxxxxxxxxxxxxxxxxxxxxxxxx
login
transport input ssh
if you do not have ACL on outside, you able to use public IP and SSH to device.,
still issue post show run complete.
12-19-2022 04:26 AM
thanks again
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