OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: pindaroli on August 28, 2024, 12:09:27 AM

Title: Help! No vlan setup
Post by: pindaroli on August 28, 2024, 12:09:27 AM
Hi all,
I bought a chinese applaince n100 with six 2.5g intel nics.

I want use it for my simple home network, i don't have managed switch by only a dumb 2.5 hub.
I want simply use just i lan connecting my nas, my acces point, printer and iot connected by wireless.
How i have to configure the 5 ports (1 is wan) to permit a single la lan? (Maybe iot could be in untrusted lan ).

Thanks
Title: Re: Help! No vlan setup
Post by: doktornotor on August 28, 2024, 01:09:58 AM
If you do not want VLANs then using the "dumb" 2.5Gbps switch will still be performing a whole lot better than trying to use your OPNsense as switch. But if you really insist: https://docs.opnsense.org/manual/how-tos/lan_bridge.html


Title: Re: Help! No vlan setup
Post by: pindaroli on August 29, 2024, 05:35:05 PM
So my beautiful n100 appliace with 6 nics is useless? It was enough a minipc with 2 nic? This make me feel stupid
Title: Re: Help! No vlan setup
Post by: chemlud on August 29, 2024, 05:41:41 PM
Use the NICs for separating your LAN/IoT/Guests/Windows-trash/Apple-trash/what-ever-trash. Always good to have some segmentation.
Title: Re: Help! No vlan setup
Post by: pindaroli on August 29, 2024, 05:57:04 PM
Quote from: doktornotor on August 28, 2024, 01:09:58 AM
If you do not want VLANs then using the "dumb" 2.5Gbps switch will still be performing a whole lot better than trying to use your OPNsense as switch. But if you really insist: https://docs.opnsense.org/manual/how-tos/lan_bridge.html

But my switch isn't enterprise grade, it's a cheap 35Eur 4x2,5G is it more powerful of my n100?
Title: Re: Help! No vlan setup
Post by: cookiemonster on August 29, 2024, 06:39:10 PM
Couldn't be simpler. If you connect a Lan port on your OPN to a port on an unmanaged switch, then all the other ports on that switch will be on the same LAN.
By default each port of your N100 is a different network and anything you plug into those ports will be isolated from each other.
Title: Re: Help! No vlan setup
Post by: pindaroli on August 29, 2024, 10:09:57 PM
Quote from: cookiemonster on August 29, 2024, 06:39:10 PM
Couldn't be simpler. If you connect a Lan port on your OPN to a port on an unmanaged switch, then all the other ports on that switch will be on the same LAN.
By default each port of your N100 is a different network and anything you plug into those ports will be isolated from each other.

so i can use
a nic for the nas
a nic to connect an asus wifi6/4x1gbit wuired port wireless router for iot and phone/tablet/wfi connected pc

could you provided a tutorial to configure routing and permission beetween  the ASUS subnet and Nas subnet?
Title: Re: Help! No vlan setup
Post by: Patrick M. Hausen on August 29, 2024, 10:14:18 PM
Configure a LAN bridge and a single subnet.

https://docs.opnsense.org/manual/how-tos/lan_bridge.html
Title: Re: Help! No vlan setup
Post by: pindaroli on August 29, 2024, 10:17:28 PM
Thanks to all,

But a great doubt: in my case openwrt fits better than opnsense?
or openwrt and opensense (i run on top of proxmox)