5.7 C
New York
Sunday, March 9, 2025

configure vlan in LXC OpenWRT?


I’m making an attempt to prepare my home community to make it extra manageable. Since I’ve solely my Vodafone ISP equipment + FTTR Grasp and a pair of slaves I’m quiet restricted into setting vlans. So I thought of the possibility so as to add a OpenWRT LXC to do the job. The problem is that I’m not positive whether it is doable and even easy methods to do it.

Desired Network Topology

So I even have that set of “constraints”:

  • Vodafone ISP equipment IP: 192.168.1.1/24
  • FTTR Grasp IP: 192.168.100.1/24
  • All different hardwares related to community have IPs: 192.168.100.x/24
  • All nodes inside every VLAN should have entry to web however not all reachable by way of web.
  • My DNS and DHCP Server have to be PI-Gap.

My questions are:

  • So, is it doable?
  • How can I obtain that utilizing LXC OpenWRT?
  • Does the OpenWRT LXC container must be inside a VLAN or is required to remain outdoors VLANs?
  • Is it doable to limit VLAN 5 and 6 to contact one another?
  • How can I configure that to ensure that every system will probably be assigned to a particular vlan?

Based mostly on the topology displayed by the image I feel that the configuration that would work can be:

VLAN 1 (Servers – Proxmox):

IP Vary: 192.168.10.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.10.255
Variety of Out there IPs: 254

VLAN 2 (Devices):

IP Vary: 192.168.20.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.20.255
Variety of Out there IPs: 254

VLAN 3 (Dwelling Computer systems):

IP Vary: 192.168.30.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.30.255
Variety of Out there IPs: 254

VLAN 4 (TVs):

IP Vary: 192.168.40.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.40.255
Variety of Out there IPs: 254

VLAN 5:

IP Vary: 192.168.50.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.50.255
Variety of Out there IPs: 254

VLAN 6:

IP Vary: 192.168.60.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.60.255
Variety of Out there IPs: 254

VLAN 7 (Company):

IP Vary: 192.168.70.0/24
Subnet Masks: 255.255.255.0
Broadcast: 192.168.70.255
Variety of Out there IPs: 254

A part of the issue is pretty easy. I want on to outline DNS on my ISP equipment to level to pi-hole (it have static IP deal with) and switch off DHCP (unsure about possibility 125). What’s unclear is about the remaining.

Intended network topology

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles