cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
670
Views
10
Helpful
5
Replies

Need Help In Cisco 1921 router configuration

sajed
Level 1
Level 1

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 

 

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks a lot for reply, Will check this configuration ...

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.

 

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

sajed
Level 1
Level 1

thanks again

 

Review Cisco Networking for a $25 gift card