Discussing Linux Bridge topics Question about network bridging in Linux environments
Discussing Linux Bridge topics Question about network bridging in Linux environments
Is it possible to connect two nics to a linux bridge at different speeds. It is for trunas scale. It will be a 2.5Gb and 25Gb. Any any traffic heading in/out of the 2.5Gb is obviously capped at that speed. For traffic to/from the NAS with the 25Gb NIC - will it get the full speed. The plan: Dual boot windows linux machine. A 1Gb connection to a managed switch & direct connect to the NAS. Windows - Gaming only. All traffic through the bridge to the internet/NAS. Games stored on ISCSI and a lancache instance. 1Gb connection disabled. So 25Gb access to games storage & lancache - I hope. Linux. Connection to the 1Gb switch on - intenet access. Still direct access to the NAS, with no gateway specified. They are different lans. Is it practical & technically possible to bridge 2 NICs at different speeds? The alternative is some sort of NAT/port forward setup in truenas That seems messy. Oh and I AM NOT WASTING CASH ON STUPIDLY PRICED SWITCHES. This is a home setup. Useful and informed info is appreciated.
You generally require a hypervisor to divide resources among guest operating systems. This becomes feasible with platforms like Proxmox as the host system. Route the 25 gbps network interface, GPU, mouse, and keyboard to the Windows virtual machine, while directing the 1 or 2.5 gbps interface to the Linux VM. You can connect your monitor directly to the GPU assigned to the Windows VM, and access the Linux VM via Proxmox’s web interface. For a genuine dual-boot setup, install GRUB and select the desired OS at startup. However, running both operating systems concurrently isn’t possible. Proxmox allows simultaneous execution on a single device. Performance may drop slightly—around 5%—but it’s usually imperceptible if your hardware is solid. On an old HP SFF machine with many VMs, remote access to the Windows VM works seamlessly. Your scenario differs slightly, but Proxmox can manage it effectively.
It seems you misunderstood, or I did not explain correctly. Your reply makes no sense to me. Prommox is on a dell optiplex micro, with my router and other Vms. I added a 2.5Gb nic to that - which will be a LAN connected directly to truenas to the 2.5Gb NIC. I have a 1 Gb managed switch = Wan/Lans Also a dual boot PC for gaming/general use. An old machine with truenas scale. It has a 2.5Gb nic, and may add a 25Gb. There is no Windows VM I use to play games. There is a low spec windows VM in the proxmox machine, which is used to update games. The question is about networking. - specifically using a linux bridge with different speed NICs.
You're describing a Linux setup with two network interfaces. The internal interface handles 25 Gb connections, while the external one supports 2.5 Gb for internet access. That configuration is feasible and can work well. Network traffic to the machine could reach up to 25 Gbps directly, whereas any data passing through the system would be limited to 2.5 Gbps.
It's mostly what you mentioned. The NAS and bridge are fine! I have a spare 2.5Gb NIC; I'll use that along with the 25Gb connection, install it on Truena, and set it up. When operational, I'll also add the existing 2.5Gb link to both the bridge and the system. Will Truena Scale generate an error when speeds don't match?
The system restricts data flow based on the slowest connection, meaning speeds are capped accordingly. For example, traffic passing through both cards would use the slower 2.5 Gbps, while traffic using only the 25 Gb card could reach 25 Gbps.
I’m still figuring this out... But if you own a Truenas box, you can fit two NICs inside it. You won’t need to connect them together. Each NIC should have its own private network. Add a 25 GB NIC to both your Windows and the Truenas box. Then configure each one separately on its own subnet—assign IP addresses like 10.10.10.1 for Truenas and 10.10.10.2 for Windows, making sure these subnets are distinct from others in your network. In Truenas, set up SMB, NFS, or iSCSI shares on both the standard 1 GB subnet and the new 10.10.10.1 subnet. When you mount storage on the Windows machine, use the 10.10.10.1 shares, which will direct traffic through that interface at full capacity.
Explain the process clearly so you can connect your PC, NAS, and Proxmox server together on the same LAN. They need fast connections—2.5Gb or higher—and possibly 25Gb/40Gb. You want a solution that avoids buying an expensive switch. The main goal is quick access to the NAS, especially for the local cache, and the cache software should support multiple networks.