430 likes | 775 Views
Advanced Networking for DVRs. Instructor’s name : Everfocus Sales Rep. MAIN COURSE TOPICS. Configuring the DVR on the LAN Configuring the DDNS Configuring the Router. CONFIGURING THE DVR ON THE LAN. Objectives. Learn to obtain the information from the LAN
E N D
Advanced Networking for DVRs Instructor’s name : Everfocus Sales Rep
MAIN COURSE TOPICS • Configuring the DVR on the LAN • Configuring the DDNS • Configuring the Router
Objectives • Learn to obtain the information from the LAN • The information obtained will be used to configure your Network device ( DVR, video server, router etc ) properly . • Learn simple commands to obtain Network information
Information Required Information required from the network: 1. Network ID 2. Subnet Mask 3. Default Gateway
Information Required 1. Network ID. • Defines the scope or range of IP addresses available on the network. • Obtaining the current IP address from a nearby computer will help to assign the proper information. • Determine the available host addresses on the Network. • Help us to assign an IP address to the Network Device
Example #1 using 192.168.0.100 Class C IP address Network segment is: 192.168.0.0 Host segment : 0.0.0.100 Available host : 2 – 2 2 -2 = 254 * Network ID Examples 8 N Example #2 using 128.63.2.100 Class B IP address Network segment is 128.63.0.0 Host segment : 0.0.2.100 Available host : 2 -2 = 2 - 2 = 65534 * N 16 Example #3 using 10.2.0.5 Class A IP address Network segment is 10.0.0.0 Host segment : 0.2.0.5 Available host :2 -2 = 2 - 2 = 16,777,214 * **First and last bits are reserved. N 24
Information Required 2. Subnet Mask The subnet mask will determine if the IP address belongs to a single network or it is part of a multiple network
Information Required 3. DEFAULT GATEWAY ROUTER WAN IP 24.65.1.130 192.168.1.101 80 The default gateway IP address will provide a route or map the connection to the Internet through the Router e.g 192.168.1.1 192.168.1.102 110 192.168.1.103 LAN 192.168.1.1
The DOS commands are simple and powerful tools that help us obtain information and test your network devices on the LAN DOS Commands 2 commonly used commands are: • ipconfig • ping
Windows 2000/XP Option #1 Click Start Select Programs /Accessories Select the DOS Command prompt option Option #2 Click Start Click on Start Click on Run Type CMD and press OK DOS Command Window The DOS Command Prompt DOS Command Window
The ping command helps up to do a simple diagnostic of the network connectivity The ping command sends a packet to the destination host and waits for a reply packet from that host. Results from this echo can help to determine if the host is reachable and present on the network. Ping Command
Example Ping Command Type ping 192.168.1.16 press Enter 192.168.1.12 192.168.1.15 192.168.1.10 • RESULTS: • Reply from • Request time out • Host unreachable • ICMP. Internet Control • Message Protocol 192.168.1.16
Helps us to obtain information from the network ipconfig Command • IP address ( PC) • Subnet Mask • Default Gateway • Type ipconfigpress Enter • Extended version: • Type ipconfig /all press Enter
Learning to use and apply the Information obtained from the Network
3 Ways to Assign an IP Address: Assigning the Proper IP Address 1. IT Administrator 2. The Guessing Method 3. The DHCP Method
1. From the IT Administrator Assigning the Proper IP Address On medium to large networks it is recommended to get the IP address from the Network Administrator This is recommended because using the wrong information may cause serious problems on the customer network and unnecessary headaches
2. The Guessing Method Assigning the Proper IP Address • Get the IP address from your local PC. • Use ipconfig command.. Note : Make sure both units (DVR and PC ) are connected to the same LAN
Example: Assigning the proper IP address 3. ADDING A NUMERIC VALUE We have to test and see if someone is using the existing IP address. For example, if the computer IP address is 192.168.45.166, lets add 5 numbers to the last octet : 166 + 5 = 171 • Open the DOS prompt and type ipconfig • and press enter The resulting IP address will be 192.168.45.171 4. TEST THE IP ADDRESS Use the ping command to 192.168.45.171 2. Write on a paper: ( Example) IP address 192.168.45.166 Subnet mask 255.255.255.0 Default gateway 192.168.45.45 If you receive a “reply from” that means somebody is already using this IP address on the network
Assigning the proper IP address 5.APPLYING THE SETTINGS Let’s try to use another IP address adding another number to the last octet (lets add 4 numbers, 171 + 4 = 175 ) and try again. Example: 192.168.45.175 Once we had selected the IP address 192.168.45.175, we will need to use the same subnet mask and the same default gateway from the computer Perform a ping command to 192.168.45.175 to test if someone else is using the IP address The final values (example) for the DVR will be: If you get a “request timed out” message, it means that nobody is using the IP address and therefore, you may use it on the DVR.
Testing the Network Device 1. Configure the Network Settings on the DVR according with the information from the table. 3. Test if the unit communicates properly on the LAN using the ping command 4 . If you have a “reply from” message your connection is OK. Note : If you have a “request timed out” message, check your settings or physical connections. 2. Connect your Network Device (DVR, video server )to the Network.
3. The DHCP Method . Optional Assigning the Proper IP Address The DHCP server (Router) assigns an IP Address to the Network device ( DVR, Video server etc) automatically. The Network device must support the DCHP feature. General Procedure • Access the Setup/network menu on your device (DVR) and select the option to DHCP. • Make sure to have your device (DVR) connected to the LAN. • Wait a few seconds and check if the IP address refresh on the screen. • Once the new IP address was assigned from the DHCP server (Router), write down the IP address on a piece of paper. • Go back to the Set/up /Network Menu of the device connected on the LAN and turn off the DHCP mode to Static IP mode and assign the new IP address, subnet mask and Gateway.( if needed). DHCP = Dynamic Host Communication Protocol
LAN Configuration Summary ROUTER with 4 PORT embedded switch PC 192.168.45.166 GATE WAY 192.168.45.45 DVR WAN (Internet) LAN 192.168.45.175
Why DDNS? • DDNS-Dynamic DNS • Remember a name rather than a IP address • EverFocus Name Service: • Dvrname.everfocusddns.com • It’s free • It’s easy • Router port forwarding need to be set still
EverFocus DDNS • Register from EverFocus Devices Directly • For EDR/EDVR: Set the DVR name and then press SELECT button to submit
Check Name Availability • Before register on DVR, check name availability online:
View Registered DVR • Type the DVR name from browser to go to real machine • For example:aaa.everfocusddns.com
The Router Configuration The final step to accomplish Remote Viewing access • Why the Router is so Important? • Allows or deny access to your LAN from the WAN ( Internet). • Perform Network communication between your LAN and WAN. • The router control remote access using “ports”
Common Ports • Every IP address is divided into ports. • One IP address can be used by multiple programs to send and receive data at the same time. • Examples : • - Email (Port 110 ) • Browse the web ( Port 80 ) • Port numbers are from 0 to 65536. Ports 0 to 1024 are reserved for use by certain privileged services. Application FTP UDP http 80 Telnet 23 23 ftp 21 VCD300 2000 VCD300 8000 VCE300 5410 DHT300 5000 VCD300 11000 VCE400 5400
Allow users to open single to multiple ports to give access the Network Devices (DVR, Video server) from the Internet (WAN) . The router maps the internal IP address from the LAN to the external IP address using the ports .This process is called Port forwarding PORT FORWARD / DMZ PORT FORWARD DMZ (demilitarized zone ) • Allows to open all the ports at once in the Router for the Network device IP address . • Is a nice feature if you are having problems forwarding ports for some application or device. • The Network Device with the DMZ enabled is now wide open to internet traffic.
THE PORT FORWARDING RULES WAN IP 24.65.1.130 Ports open? 192.168.1.100 yes 192.168.1.101 80 192.168.1.102 Ports to open on the Router for DVR : Ports 2000, 8000, 9000 for IP address 192.168.1.103 110 192.168.1.103 ROUTER Local area Network
THE PORT FORWARDING RULES WAN IP 24.65.1.130 Ports open? Example with multiple DVR’s on the same LAN yes 192.168.1.101 80 192.168.1.102 • Ports to open on the Router for DVR 1 and DVR 2. • Port 5410 for IP address 192.168.1.102 • Port 5400 for IP address 192.168.1.102 Port 5410 192.168.1.103 Port 5400 ROUTER LAN
How Port Forwarding Works WAN IP : 24.65.1.130 DVR1 : 192.168.1.102 Port :5400 ROUTER #1 If the user has installed the CLIENT application to view the cameras .The application will try to access the IP address from router #2. ( 24.65.1.130 ) The CLIENT application must have configured the IP address from router #2 address ( 24.65.1.130) and the required port “5400” to view the cameras on DVR1 or Port 5410 on DVR2 INTERNET ROUTER #2 DVR 2 : 192.168.1.103 Port :5410 Broadband Modem WAN Broadband Modem Computer IP address 192.168.1.126 Note : If the Client application is web based you have to enter http:// 24.65.1.130:5410 Local Area Network
How to Access the Router Menu Procedure 1. Obtain the Default Gateway IP address using the ipconfig command from the DOS prompt. 2. Open the Internet Explorer and type in the address bar the Default Gateway IP address -> http://192.168.1.1 , press ENTER 3. A LOGIN screen will appear . Enter the user name and password to access the Router menus (if needed). Login Screen
Example using a Linksys Router 3. To open the ports press on the Applications and Gamming Tabon the top. Click on the Port Range Forward Option LINKSYS model befsr41 1. Log in to the Router's Web-based Utility. By default the username is blank, so just leave the Username box empty. The password is admin by default. Click the Ok button at the bottom of this screen. 2. Press the STATUS Tab and write the WAN IP address for future reference for the remote connection. To finish press Save Settings
Example Using a Linksys Router LINKSYS model befsr41 3. Click on the DMZ option. 1. Log in to the Router's Web-based Utility. By default the username is blank, so just leave the Username box empty. The password is admin by default. Click the Ok button at the bottom of this screen. 2. To use the DMZ option press on the Applications and Gamming Tabon the top. 4.Enable the DMZ option and enter the local network device IP address and press Save Settings. DMZ option
Final Recommendations • Networking is a serious business • Take your time to find information • Don’t rush the installation. • Be patient. • Keep educating yourself.