01-10-2011 11:59 AM - edited 03-06-2019 02:54 PM
[Jack] --> [Fast0/0] Switch [Fast0/1] <-- Camera
Camera gets an IP address
Private IP Address: 10.15.10.80
Public IP Address: x8.105.120.70
Now, if I connect a Cisco 2811 router
[Jack] --> [Fast0/0] Switch [Fast0/1] --> Camera
I get an ip address for Fast0/0, but I don't get an ip address for the Camera. Can someone let me know what I am missing in the config.
-NG
Solved! Go to Solution.
01-11-2011 10:00 AM
the latest configuration you have posted 100% correct, please provide us with output of the following
debug dhcp detail
sh ip dhcp binding
Im not clear about the Gateway of the camera? is it the router(192.168.1.102) or another router(192.168.1.1)
please provide us with topology
01-10-2011 12:08 PM
Hi,
As per the topology can you let me know where do you plug in the camera and the 2811 router?
Also what is the switch in the topology and what is the configuration on it?
HTH
Rahul
01-10-2011 12:49 PM
Cisco 3550 Switch: no configuration on the switchports
++++++++++++++
[Jack] <--> [FastEthernet0/0] and [FastEthernet0/1] <--> Camera
Camera gets an IP address
Private IP Address: 10.15.10.80
Public IP Address: x8.105.120.70
Cisco 2811 Router:
++++++++++++++
[Jack] <--> [FastEthernet0/0] and [FastEthernet0/1] <--> Camera
FastEthernet0/0 gets an ip address of 10.15.10.106, but Camera does *NOT* get an IP address.
The 2811 router configuration look like:
!
ip dhcp excluded-address 10.15.10.1
!
ip dhcp pool CAMERA
import all
network 10.15.10.0 255.255.255.0
default-router 10.15.10.1
dns-server 10.15.10.51
!
ip domain name ash.com
ip name-server 10.49.1.51
ip name-server 10.49.1.52
!
interface FastEthernet0/0
ip address dhcp client-id FastEthernet0/1
ip nat outside
!
interface FastEthernet0/1
no ip address
ip nat inside
!
ip nat inside source list 100 interface FastEthernet0/0 overload
!
access-list 100 permit ip 10.15.10.0 0.0.0.255 any
!
-NG
01-10-2011 01:24 PM
If I just configure "ip address dhcp" command under FastEthernet0/0, I get an IP address from our OpenVPN server.
!
interface FastEthernet0/0
ip address dhcp
!
interface FastEthernet0/1
no ip address
!
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.15.10.147 YES DHCP up up
FastEthernet0/1 unassigned YES manual up up
- We need to monitor bandwidth for these cameras and a Cisco representative has confirmed that we can do this with netflow.
- We need to get netflow working on Cisco 2811 so that we can buy some 50+ routers. But, first the basic stuff is not working .
-NG
01-10-2011 03:28 PM
Hi NG,
I am still not clear on the whole topology.
Where is the VPN Server is connected and where is the camera/2811 configured?
Form the 2811 i also found ip dhcp pool configured named as camera why is that so?
HTH
Rahul
01-10-2011 04:08 PM
OpenVPN Server (somewhere in the Data Center Rack, which assign IP addresses to a Camera when connected to the network via wired or wireless Router/Switch).
Topology:
+++++++
[OpenVPN Server] <--> [Wall Jack] <--> [FastEthernet0/0 (To)] Cisco 2811 Router [FastEthernet0/1 (To)] <--> Camera
FastEthernet0/0 gets an ip address of 10.15.10.106 from OpenVPN Server, but Camera does *NOT* get an IP address.
HTH,
NG
01-10-2011 04:13 PM
Hi NG,
As per the topolgy:
Topology:
+++++++
[OpenVPN Server] <--> [Wall Jack] <--> [FastEthernet0/0 (To)] Cisco 2811 Router [FastEthernet0/1 (To)] <--> Camera
Can you send me the configuration of the interface fa0/0?
HTH
Rahul
01-10-2011 05:12 PM
!
interface FastEthernet0/0
ip address dhcp client-id FastEthernet0/1
ip nat outside
!
The full configuration is also in the thread above.
-NG
01-10-2011 06:53 PM
Hi Naveen,
Still you are not getting my point:
[OpenVPN Server] <--> [Wall Jack] <--> [FastEthernet0/0 (To)] Cisco 2811 Router [FastEthernet0/1 (To)] <--> Camera
I am seeking the configuration for the fa0/0 which is coming from the wall jack to the cisco 2811 and not the 2811 router config.
interface FastEthernet0/0
ip address dhcp client-id FastEthernet0/1
ip nat outside
!
interface FastEthernet0/1
no ip address
ip nat inside
If i compre this then can you tell me why do not have the ip address dhcp client-id FastEthernet0/0 configured on the fa 0/1 as it specifies that the interface acquires an IP address through DHCP.
http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html
HTH
Rahul
01-10-2011 11:02 PM
Hi Naveen, this is because Interface is not configured with IP address, configure ip 10.15.10.1/24 under the interface.
interface FastEthernet0/1
ip address 10.15.10.1 255.255.255.0
ip nat inside
no shut
let me know how it goes.
01-11-2011 09:19 AM
Cisco Folks come-on . Here is the full config ..
Error: Problem details: Camera is not accessible.
!
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool CAMERA
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
lease 0 2
!
ip domain name ash.com
ip name-server 10.49.1.51
ip name-server 10.49.1.52
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
!
interface FastEthernet0/1
ip address 192.168.1.102 255.255.255.0
ip nat inside
!
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
ip nat inside source list 100 interface FastEthernet0/0 overload
!
access-list 100 permit ip 192.168.1.0 0.0.0.255 any
!
-NG
01-11-2011 09:21 AM
If I connect the camera to a Linksys router the Camera gets an IP and it works just fine.
With Cisco 871 and Cisco 2811 the Camera does not get an IP.
-NG
01-11-2011 10:00 AM
the latest configuration you have posted 100% correct, please provide us with output of the following
debug dhcp detail
sh ip dhcp binding
Im not clear about the Gateway of the camera? is it the router(192.168.1.102) or another router(192.168.1.1)
please provide us with topology
01-14-2011 07:46 AM
I had another 192.168.1.1 router, removed that from the network and it seems to be working now.
!
ip dhcp excluded-address 192.168.1.102
!
ip dhcp pool CAMERA
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.102
lease 0 2
!
Thanks Again!
-NG
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