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.




3325 posts

Uber Geek
+1 received by user: 310

Trusted

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

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

Uber Geek
+1 received by user: 3647

Trusted
Subscriber

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

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



3325 posts

Uber Geek
+1 received by user: 310

Trusted

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

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


 
 
 
 


19924 posts

Uber Geek
+1 received by user: 3647

Trusted
Subscriber

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

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

142 posts

Master Geek
+1 received by user: 15


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

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.

 

 

 

 




3325 posts

Uber Geek
+1 received by user: 310

Trusted

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

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 »

Nothing nebulous about Microsoft’s cloud-transition
Posted 21-Jul-2017 15:34


We’re spending more on tech, but not as much as Australians
Posted 21-Jul-2017 11:43


Endace announces EndaceFabric for network-wide packet recording
Posted 20-Jul-2017 20:49


Acorn 6: MacOS image editing for the rest of us
Posted 20-Jul-2017 17:04


HTC faces backlash over keyboard pop-up ads
Posted 19-Jul-2017 15:53


BNZ adds Visa credit cards to Android Pay wallet
Posted 18-Jul-2017 19:44


Still living in a Notification hell – Om Malik
Posted 18-Jul-2017 13:00


Duet Display uses iPad to extend Mac, PC
Posted 18-Jul-2017 10:58


PC sales could be worse
Posted 17-Jul-2017 07:34


Crypto-currencies, tulips, market bubbles
Posted 17-Jul-2017 06:38


NZ Tech Podcast: Big batteries, solar cars, cold war, IoT
Posted 16-Jul-2017 16:53


Vodafone Australia mulls Wisp alliance, NZ implications
Posted 13-Jul-2017 16:49


Rural health professionals see fibre pay-off
Posted 13-Jul-2017 11:52


Vodafone announces expansion of $5 Daily Roaming
Posted 13-Jul-2017 10:20


Intel unveils powerful Intel Xeon Scalable processors
Posted 12-Jul-2017 20:41



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.