I have a TWC Arris device in my garage with an uplink to my master bedroom closet where the EdgeRouter POE 5 is connected to eth0. I'm getting solar this week (SolarEdge inverter) which will be in the same space in the garage, and I'd prefer to hardwire versus using the wireless zigbee gateway. With that said, I ordered a cheapo TrendNet 5-port VLAN switch to put in the garage with hopes of separating the SolarEdge traffic to a separate LAN VLAN, while keeping my WAN connection working as well on the same physical circuit. I haven't yet received the switch or the solar inverter, so this is all theory for now.
eth0 -> WAN to Time Warner (untagged)
eth0.101 -> SolarEdge LAN VLAN 101 - 192.168.194.1/24 (this will be tagged by the switch)
(excuse cheesy MS word graphic)
If I tag the port with the SolarEdge device on the VLAN switch in the garage with VLAN 101, will this configuration work? Do I need to do anything with the WAN connection, and can I leave it untagged/as-is?
Here's my proposed configuration.
interfaces { ethernet eth0 { address dhcp description "Garage TWC Uplink" dhcpv6-pd { pd 0 { interface switch0 { } prefix-length 64 } rapid-commit enable } duplex auto firewall { in { ipv6-name WANv6_IN name WAN_IN } local { ipv6-name WANv6_LOCAL name WAN_LOCAL } } poe { output off } speed auto traffic-policy { out UpStream } vif 101 { address 192.168.194.1/24 description "Garage VLAN LAN" mtu 1500 } }
I also set DHCP up for this subnet and have the DNS forwarder listening on the vif 101 interface as well, but will spare you the config detail.
BTW - my switch0 (eth2/3/4) LAN is 192.168.192.1/24 so you know.
Any ideas or suggestions would be appreciated.