Hey,
Im trying to build a cctv cameras monitor.
the issue im having is all the cameras are not on the same vlan.
I have installed vlan on the raspberry pi and configured from what information i have been able to find.
I’m not able to ping cameras on different vlan
Setup as below
/etc/network/interfaces.d/lvan
auto eth0.20
iface eth0.20 inet manual
vlan-raw-device eth0
auto eth0.30
iface eth0.30 inet manual
vlan-raw-device eth0
Since VLANs are typically used to isolate a networked device the issue you are running into is part of the VLAN design. Virtual LAN - Wikipedia
What were you looking for your setup to do?
If you put your CCTV and Pi on the same VLAN (usually done through your hardware or router software if you are able to) are you able to ping it?
That sounds as if the VLANs are behaving as they should, each range that you have set up will provide some isolation from the rest of your network. If you put all of the cameras and the Pi on the same VLAN then that will let you ping and communicate with all of them.
This video explains it pretty well: VLAN Explained - YouTube
Let us know how you go! I’m keen to see your setup
Liam.
And you can get our latest projects and tips straight away by following us on: