![]() |
Using the Snakeoil machine as a bridge - Printable Version +- Snakeoil Forums (https://forums.snakeoil-os.net) +-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics) +--- Forum: Feature Requests (https://forums.snakeoil-os.net/Forum-Feature-Requests) +--- Thread: Using the Snakeoil machine as a bridge (/Thread-Using-the-Snakeoil-machine-as-a-bridge) |
Using the Snakeoil machine as a bridge - Leonard - 01-Apr-2017 I have added a second dedicated network card to my Snake-oil computer so that the CPU of this computer doesn't have to bother about handling network traffic. Besides providing a better sound quality this additional network card also gives the option to configure the Snakeoil machine as a bridge between the NAS and a renderer like pictured below. NAS --> Switch/FMC --> Snakeoil machine (LMS) --> Renderer According to posts on forums having a direct connection between the server and the client might have benefits for the sound. However when trying to setup this bridge via bridge-utils and runnning the "brctl addbr br0" command I get the message "add bridge failed: Package not installed”.Does this mean that in the current kernel of Snakeoil this function has been disabled so that bridging is not supported? RE: Using the Snakeoil machine as a bridge - agent_kith - 06-Apr-2017 Sorry for the late reply. Didn't see this pop up in new messages for some reason. (01-Apr-2017, 07:51 AM)Leonard Wrote: According to posts on forums having a direct connection between the server and the client might have benefits for the sound. However when trying to setup this bridge via bridge-utils and runnning the "brctl addbr br0" command I get the message "add bridge failed: Package not installed”.Does this mean that in the current kernel of Snakeoil this function has been disabled so that bridging is not supported?Yes, bridging is disabled in the kernel. Bridging is actually not a good option in terms of latency because the packets have to be "copied" twice. This is an expensive CPU operation, and best done on a switch with very fast forwarding speed. If you add a bridge in a network that's full of traffic, then the whole thing gets bogged down with your bridge PC becoming the bottleneck. Setting up a different IP network to forward packets from one NIC to another is also a waste of computer resources, worse if using low end cards (e.g. Realtek). NIC are not designed to forward traffic. Most PC network cards do not (some even do checksums in software which makes it worse). But good network switches are. If you want good networking performance, these are some suggestions:
Give these a go and tell me how you find it. ![]() |