• dan@upvote.au
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 hours ago

    you need at least two NICs to properly setup a firewall.

    I’m not sure I’d recommend it, but two (or more) VLANs on a single NIC would work fine too. This setup is usually referred to as “router on a stick”

    I’m not sure about other OSes or Linux distros, but it’s easy to add multiple VLANs on Debian. You load the 8021q kernel module, then add interfaces suffixed with the VLAN ID (e.g. if your NIC is ens3, you’d add ens3.10 to /etc/network/interfaces for VLAN 10). You’d also need to make sure the switch port is configured to allow VLAN10.

    Older NICs lead to regular crashes and/or slow network speeds.

    but the ones you’re suggesting (I350-T2 and -T4) are 12 years old.