neidu4
@neidu4@piefed.social
- Comment on Simplest VLAN setup? 1 week ago:
“this diagram”
I would use the VLAN capable switch as your first switch after the router. That way, you can assign a VLAN to everything. And your “any dumb” switch can be downstream of one of them, serving whichever VLAN it is connected to.
How this works:
VLAN ports have two modes. Terminology might change between vendors, but they all do the same:- Untagged (often called Access port). This is a port where you connect anything that doesn’t speak VLAN itself. A PC¹, a Camera, or even a dumb switch. Any traffic coming into an Access port will be assigned any VLAN ID (often called PVID) configured for that port. It is called Untagged, because it doesn’t require any incoming traffic to already have a VLAN tag, and it will strip off the vlan tag from any outgoing traffic.
- Tagged ports REQUIRE a vlan tag on any traffic passing through it. Ports of this type also often have a list of VLAN IDs that they will allow through. The only thing to keep in mind is that whatever is connected in the other end must also be a tagged port with the same list of VLANs. This is typically used between two switches so that a single cable can carry traffic from multiple VLANs. This kind of connection is often called a Trunk
¹: Yes, PCs can also connect to a tagged port, but then you have to set up your network config to also use VLAN tagging. In most cases, it’s easier to just connect the PC to an Untagged port. One benefit of connecting a PC to a tagged port is that you can configure this PC to talk on multiple VLANs with a separate IP for each, so that you can in effect be connected to multiple networks with only one cable.
- Comment on Simplest VLAN setup? 1 week ago:
VLANs have been a major part of my career for the past 20 years, and it seems that the most common thing I need to teach people joining me at work is this: Switches don’t provide access between VLANs. Routers do.
Sure, it’s reasonably obvious to many, and there are exceptions, but a very common question I get is how one can set up VLANs so that some hosts can talk to each other across VLANs.
There are many ways to set up VLANs, but I find it easiest to number a VLAN based on an octet in the IP scope of its clients. For example:
172.20.32.0/24 gets VLAN 32
172.20.40.0/24 gets VLAN 40
…etcAnd then you plug a router into each of those VLANs and set up firewall rules according to your preferences. The router can be connected via a single trunk cable, or if you’re lazy, tou use a dedicated interface and cable for each VLAN.
So back to your question: Pit your cameras on an isolated VLAN, provide that VLAN with a gateway, and then you config the gateway to block internet traffic, but allow access between your camera vlan and some (or all) hosts on your other subnets/vlans.
- Comment on What's your opinion on local domains like cloud.lan? 2 weeks ago:
Nah. Proper domain or no domain. It doesn’t take much to have your home network be, for example, home.hdhdhdgsg.cum
- Comment on I’m looking for the best remote access solution that works for me 1 month ago:
Optional extra, which I do: Change the SSH port to something non-standard. It’s not more secure, but it does cut down on the logspam.
- Comment on 1 month ago:
Highly niche requirements not serviced by available hardware without costing waaaay too much. For example, we’re currently using Cisco Meraki MX85, and even they’re not quite there.
- Comment on 1 month ago:
Right now I’m using a Fortigate 101E, but eons back I used a simple PC built as cheaply as possible, installed Linux, ip_forward = 1, and iptables.
- Comment on What is your self hosted power draw? 1 month ago:
Around 700W on low load, almost idle. Haven’t had the chance to test it at full load yet.
It sits in my basement, so the waste heat is actually useful this time of year. Even more so when my basement would actually be freezing.
I plan on implementing scheduling where the two most power hungry servers are powered down and up as needed. The other two take almost nothing.
Also, the UPS supports a green mode that is a lot more efficient but with a downside of output side dropping out a few ms. This removes any conversion loss. I haven’t tested whether my hardware can tolerate it yet, so for now I’m living with the conversion loss.
My house is powered by cheap hydroelectric supply, generated in a mountain roughly 5km from my house, so I’m not worried.
- Comment on Personal radio station 2 months ago:
Sounds like something shotcast can do.
Remember the time before apple acted as if they invented audio streaming and built a walled garden of podcasts? We had shotcasts long before podcasts.
- Comment on Steam Frame Release 2 months ago:
Hence the strike through markup
- Comment on Steam Frame Release 2 months ago:
There are dozen
sof us!