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.




3576 posts

Uber Geek
+1 received by user: 389

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
20373 posts

Uber Geek
+1 received by user: 3880

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



3576 posts

Uber Geek
+1 received by user: 389

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


 
 
 
 


20373 posts

Uber Geek
+1 received by user: 3880

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

179 posts

Master Geek
+1 received by user: 23


  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.

 

 

 

 




3576 posts

Uber Geek
+1 received by user: 389

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 »

Phone prices rising as users move upmarket
Posted 24-Nov-2017 17:16


Talking net neutrality on RNZ Nine-to-Noon
Posted 24-Nov-2017 12:11


Air New Zealand experiments with blockchain technology
Posted 23-Nov-2017 15:39


Symantec selects Amazon Web Services to deliver cloud security
Posted 23-Nov-2017 10:40


New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26



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.