July 13, 201114 yr Sorry if this has already been addressed, as I searched and couldn't find a straight answer. I'm pretty sold on migrating to an unRAID server but have one question: Is is possible for unRAID to use one NIC to serve media locally and another dedicated to downloading through SABnzbd? I've seen the you can use "ifconfig eth1 192.168.x.x netmask 255.255.255.0 up" to serve two local networks but not sure if this will work in my case. Thanks in advance.
July 13, 201114 yr If both network interfaces are connected to the same network segment, it probably won't work without stuff like teaming (which for optimal results requires modifications at switch level as well). If it's two different segments, with routing properly setup, it should be possible. A more important question though, would be why would you do it like this? Do you have such a fat internet connection (100mbit or greater) that media streaming is likely to suffer while downloading? If you have a gigabit NIC, that's more than enough capacity to stream several HD movies while downloading over the same connection. You're much more likely to hit a bottleneck in diskaccess speed. Adding a cache disk and using that for sabnzbd caching and unpacking is far more likely to give desired results, but without the complexity
July 13, 201114 yr Yeah, this doesn't make sense. Pessimistic throughput of typical Gigabit NIC: 60MB/sec = 480 megabits/sec Max bitrate of HD movie stream: 50megabits/sec Remaining throughput available for NNTP: 430 megabits/sec. Do you really have a gigabit internet connection?
July 13, 201114 yr Author Thanks guys, I guess I should have been clearer: I'd like to be able to set up one NIC, say eth0 (192.168.1.100), to download from a newsgroup server through SABnzb, through my router/modem (192.168.1.1), through ISP-A. I'd like the other NIC, eth1 (192.168.0.197), to connect to a second router 192.168.0.1 (connected to ISP-B), serving to other PCs connected to that second router. Hope that makes sense. Thanks again
July 13, 201114 yr Ah ok, that is a different story I guess your ifconfig line would do that part of the trick, just figure out the exact options and drop it in /boot/config/go. Next, you'll need to set up routing on the box so that traffic to the news server is routed out that interface. I guess there's two options at this point: Set the default route for your unraid box to 192.168.1.1 (command: "route add default gw 192.168.1.1") If all your internal hosts are on the 192.168.0.x subnet, they should still be able to communicate with the unraid server. If there's another subnet behind the 192.168.0.1 router, you will need to add a static route to that subnet (command: "route add -net 192.168.10.0/24 gw 192.168.0.1") This solution will make all traffic from the unraid box to internet go through this internet connection Set specific routes on the unraid box for the news server. If this is just a single IP address, it would be as simple as "route add -host 1.2.3.4/32 gw 192.168.1.1". Multiple servers in the same subnet would become "route add -net 1.2.3.0/24 gw 192.168.1.1", multiple servers in different subnets might require multiple lines like that Add these route lines to /boot/config/go and you should be off. When you start messing with routing, just make sure you have a keyboard and monitor hooked up to your unraid box, it *IS* possible to break stuff in a way that will require it
Archived
This topic is now archived and is closed to further replies.