Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




3799 posts

Uber Geek
+1 received by user: 454

Trusted

Topic # 217737 10-Jul-2017 18:02
Send private message

So I'm trying to use a port of my TP Link SG1024DE to be on a lan side of my NVR.  This nvr sticks the cameras on a 192.168.20.x network.  My Regular network is 192.168.10.

 

On the switch, 1 of the options I have are a port based VLAN.  Which I put port 15 into vlan 20.

 

Then I went only my Hyper-V management and on one of my VMs I changed it network settings to use VLAN ID 20. Then in the guest I manually set the network to 192.168.20.100, but no joy.

 

Should this work?  I've done this sort of thing on my USG iwth my guest network which has a vlan.

 

I can also create a  802.1Q VLAN - and I tried that.  As tagged and untagged.  Still nothing.

 

Is there something I might need to do on the lan side of the NVR? to get it to accept the vlan 20?





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Create new topic
20882 posts

Uber Geek
+1 received by user: 4094

Trusted
Subscriber

  Reply # 1819061 10-Jul-2017 19:06
Send private message

The nvr will probably not support anything to do with tagging.

 

I had mine run into a second port of the switch from the camera side (hikvision with an inbuilt 8 port POE switch) and on my tenda POE/smart switches gave that port a default vlan of 10 - that means it would tag anything untagged with 10. It was also only selected with vlan 10, so the default vlan of 1 was not presented to that port.

 

On my desktop PC I used the realtek software to enable vlan, and made one for 10. I also put TCPIP back enabled on the physical adapter. It "helpfully" turned that off for me. Put that port onto both 1 and 10 vlans and it all worked fine. PC on an IP in the NVR range, and was able to directly hit my non hikvision cameras to configure them.





Richard rich.ms



3799 posts

Uber Geek
+1 received by user: 454

Trusted

  Reply # 1819064 10-Jul-2017 19:08
Send private message

So in theory what I'm doing should work if I knew what vlan the NVR would have natively?

Should I use the port based?




Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software
20882 posts

Uber Geek
+1 received by user: 4094

Trusted
Subscriber

  Reply # 1819070 10-Jul-2017 19:12
Send private message

The nvr has no native vlan, it has 2 sets of untagged ports, as seperate interfaces to the network stack inside it. It may internally use vlans to deliver both interfaces to the CPU but you cannot get to those vlans at all. Real shame since it means I wasted 2 ports on my switch for it to get out to some other cameras that I couldnt run straight to the NVR.

 

What you are doing should work fine. plug the cable going to the NVR into a spare router or something else and see if the computer can see it, if it can then your switch config is all good.





Richard rich.ms

217 posts

Master Geek
+1 received by user: 37


  Reply # 1819394 11-Jul-2017 09:55
Send private message

For the NVR and cameras connect them to ports configured as untagged VLAN 20.

 

For the VM define the port as tagged VLAN 20.

 

Also for that switch use the software utility to configure it... the web gui is rubbish/flakey/buggy.

 

 

 

 




3799 posts

Uber Geek
+1 received by user: 454

Trusted

  Reply # 1819408 11-Jul-2017 10:09
Send private message

vulcannz:

 

For the NVR and cameras connect them to ports configured as untagged VLAN 20.

 

For the VM define the port as tagged VLAN 20.

 

Also for that switch use the software utility to configure it... the web gui is rubbish/flakey/buggy.

 

 

 

 

 

 

 

 

Cool I'll try that tonight.  Not sure if I tried that particular combination.  I know I tried port based (to port 15).  And I know I tried tagged.  Not sure about untagged.





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Amazon launches the International Shopping Experience in the Amazon Shopping App
Posted 19-Apr-2018 08:38


Spark New Zealand and TVNZ to bring coverage of Rugby World Cup 2019
Posted 16-Apr-2018 06:55


How Google can seize Microsoft Office crown
Posted 14-Apr-2018 11:08


How back office transformation drives IRD efficiency
Posted 12-Apr-2018 21:15


iPod laws in a smartphone world: will we ever get copyright right?
Posted 12-Apr-2018 21:13


Lightbox service using big data and analytics to learn more about customers
Posted 9-Apr-2018 12:11


111 mobile caller location extended to iOS
Posted 6-Apr-2018 13:50


Huawei announces the HUAWEI P20 series
Posted 29-Mar-2018 11:41


Symantec Internet Security Threat Report shows increased endpoint technology risks
Posted 26-Mar-2018 18:29


Spark switches on long-range IoT network across New Zealand
Posted 26-Mar-2018 18:22


Stuff Pix enters streaming video market
Posted 21-Mar-2018 09:18


Windows no longer Microsoft’s main focus
Posted 13-Mar-2018 07:47


Why phone makers are obsessed with cameras
Posted 11-Mar-2018 12:25


New Zealand Adopts International Open Data Charter
Posted 3-Mar-2018 12:48


Shipments tumble as NZ phone upgrades slow
Posted 2-Mar-2018 11:48



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.