录像机如何添加两个不同网段的摄像头?

<div id="scontent" style="margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 14px; line-height: inherit; font-family: helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", simsun; vertical-align: baseline; word-break: break-word; color: rgb(89, 89, 89); white-space: normal; visibility: visible;”>
<div class="wrap1 sclearfix" id="preview-pgc" style="margin: 5px auto; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word; width: 1000px;”>
<div class="center" id="preview-content" style="margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>
<div class="container-main" style="margin: 0px auto 0px 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word; float: left; position: relative; width: 700px;”>
<div class="article-detail" style="margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word; overflow: hidden;”>
<div class="article-content" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 18px; line-height: 1.5; font-family: helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", simsun; vertical-align: baseline; word-break: break-word; color: rgb(93, 93, 93); overflow-wrap: break-word;”>
<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>录像主机怎样添加不同网段ip的摄像头?这个在实际项目有可能会遇到,也有不少的朋友在问起,之前发布的内容中我们有一个大概的介绍,本期我们来详细总结下具体如何实现录像机添加不同网段ip的摄像头?常用的有两种方法。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>方法一、使用双网口录像机添加不同网段的摄像头

<h2 class="pgc-h-arrow-right" style="margin: 16px 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>我们可以使用双网口的录像主机,就能实现添加不同网段的摄像头,通常双网口录像机的有两种工作模式, 网络容错、多址设定。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>而添加不同网段的摄像头,一般选用的就是多址设定模式,假设录像主机是192.168.1.x网段,而摄像头是192.168.0.x网段,这样添加摄像头。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>步骤一、在录像机主菜单-【系统配置】-【网络配置】-【基本配置】将工作模式改成多址设定,网卡选择LAN1,设置录像主机IP为192.168.1.100,因为LAN1是连接路由器,外网访问的,因此默认选择LAN1。

<div class="pgc-img" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 1.5; font-family: helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", simsun; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word;”>
<img src="http://p3.pstatp.com/large/pgc-image/ca7db4a51dbc43ac82b39bcad8bb0862" style="margin: auto; padding: 0px; border-width: 0px; border-style: initial; font: inherit; vertical-align: baseline; word-break: break-word; display: block; max-width: 100%; border-radius: 4px;” class=”aligncenter”>
<p class="pgc-img-caption" style="margin-top: 16px; margin-bottom: 16px; padding: 0px 0px 0px 16px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 12px; line-height: 16px; font-family: inherit; vertical-align: baseline; word-break: break-word; position: relative; color: rgb(153, 153, 153); overflow: hidden;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>步骤二、连接摄像头
像头的交换机接到录像主机的LAN2口,网卡选择LAN2,设置录像主机LAN2的IP地址为192.168.0.100。

<div class="pgc-img" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 1.5; font-family: helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", simsun; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word;”>
<img src="http://p1.pstatp.com/large/pgc-image/9fe774b4a2ff492cb000568ca7490d7c" style="margin: auto; padding: 0px; border-width: 0px; border-style: initial; font: inherit; vertical-align: baseline; word-break: break-word; display: block; max-width: 100%; border-radius: 4px;” class=”aligncenter”>
<p class="pgc-img-caption" style="margin-top: 16px; margin-bottom: 16px; padding: 0px 0px 0px 16px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 12px; line-height: 16px; font-family: inherit; vertical-align: baseline; word-break: break-word; position: relative; color: rgb(153, 153, 153); overflow: hidden;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>录像主机有两个IP,LAN1是用来连接外网,远程访问;LAN2是用来添加同网段的摄像头,然后再通道管理-IP通道管理里面添加摄像头,这样就能实现添加不同网段的摄像头。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>方法二、修改子网掩码

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>你可能会问弱电行业网,有没有更简单的方法,其实是有的,对于一般两个不同的ip地址,更简单的方法是可以通过修改子网掩码来完成的,然后直接添加,不用过多设置。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”><span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>举例:

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>例如两个网段的ip地址:

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>ip地址一、192.168.1.x

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>ip地址二:192.168.0.x

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>如果不想设置,一般我们可以把子网掩码从255.255.255.0改成255.255.252.0,当然也有的朋友会直接改成255.255.0.0,不过还是建议子网掩码越精准越好。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>原理其实就是把不同的网段,变成相同的网段,这里也说明了一点,子网掩码的作用是<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>获取网络IP地址和<span style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word;”>分割网络。

<p style="margin-top: 16px; margin-bottom: 16px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; word-break: break-word;”>

<div class="sfoot_p" style="margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 14px; line-height: inherit; font-family: helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", simsun; vertical-align: baseline; word-break: break-word; height: 140px; color: rgb(89, 89, 89); white-space: normal;”>
<div class="sfoot" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 32px; font-family: inherit; vertical-align: baseline; word-break: break-word; position: absolute; width: 1903px; bottom: 10px; text-align: center;”>