use 2nd nic for network share?

2L82TRY

Reputable
Mar 27, 2015
3
0
4,510
Hello, I recently built a server for recoding my ip cams. I'm using the onboard nic for the network connection. The cams and server are on a seperate vlan from the rest of my network. Next I would like to use the server to store all my music (seperate harddrive). I have multiple raspberry pis that will be running volumio for my whole house audio. I want to install a second nic and be able to map it to the hard drive that stores all the music. What's the best way to approach this? Thx for any replies.
 
Solution
You don't "map" NIC (network interface) to a hard drive. It is up to your server to listen to requests from NICs and route them to appropriate application.

You can put both NICs in same network, but this does not make sense. If you want to separate your cameras from your RPi's, you need separate switches for them.

Again - it is up to the server (and services it provides) to listen to several network interfaces, and route them.
You don't "map" NIC (network interface) to a hard drive. It is up to your server to listen to requests from NICs and route them to appropriate application.

You can put both NICs in same network, but this does not make sense. If you want to separate your cameras from your RPi's, you need separate switches for them.

Again - it is up to the server (and services it provides) to listen to several network interfaces, and route them.
 
Solution

2L82TRY

Reputable
Mar 27, 2015
3
0
4,510
I plan on using another vlan for the pis. I don't want to use the onboard network interface for both the cams and pis. Once the second nic is installed how can I tell the server to use it for a particular network share?
 
You do that with separate switch, connecting that additional NICs to all the media clients. Since it will be not on your Internet connection (where you have probably DHCP server enabled in the router), you have to set all IP settings manually.
On windows side (apart from setting up the NIC), you don' have to do much more. Of course, your media-serving application must be configured to "listen" to this NIC.