Page 1 of 1
Dual NICs at the same time?

Posted:
Sat Apr 23, 2016 4:37 pm
by sham
I'm upgrading my home network and want to move my dlna server from the NAS to a Windows Server 2012r2. One of the main reasons is to make media available on two subnets at once.
I've been testing and I can't work out how to get the serviio server to work this way.. the reason I want to do this is that I have a separate network for domain devices and would prefer to keep it this way.
I know I can choose the NIC in the web console from my phone as a workaround, but is there a way to select two at once?
It would make my life a lot easier if it can be done - thanks in advance.
Re: Dual NICs at the same time?

Posted:
Sun Apr 24, 2016 10:15 pm
by atc98092
I don't believe at this time it is possible. Serviio can only bind to one network device.
One possibility is having two distinct installations of Serviio running. I think I remember reading in a post here that it can be done with some tweaking of file settings. Then each install could serve one of the two NICs.
Re: Dual NICs at the same time?

Posted:
Mon Apr 25, 2016 5:17 am
by sham
Thanks for the reply. I'll have a hunt around the forum to see if I can find out how. Dual installs would solve the issue, if it works.
Re: Dual NICs at the same time?

Posted:
Mon Apr 25, 2016 12:20 pm
by atc98092
sham wrote:Thanks for the reply. I'll have a hunt around the forum to see if I can find out how. Dual installs would solve the issue, if it works.
I did find this post. It requires knowledge of opening and editing Java files.
viewtopic.php?f=3&t=18859
Re: Dual NICs at the same time?

Posted:
Mon Apr 25, 2016 12:31 pm
by sham
Thanks for that - I've not done a great deal of java (that is to say none

) but I know how to open a .jar and my test server is a VM, so I'll play around with it and see if I can blow it up.
Thanks again for the pointers.
Re: Dual NICs at the same time?

Posted:
Tue Apr 26, 2016 1:58 pm
by sham
A thought occurs - since my production server will be server2012r2 running on a server2012r2 Core Hyper-V server - I could run a copy of Serviio on the host and one on the VM, circumventing the need for two copies.
Unless of course, there is a problem with running it on the GUI-less version of Windows Server 2012r2 Standard?
Re: Dual NICs at the same time?

Posted:
Tue Apr 26, 2016 3:33 pm
by atc98092
sham wrote:A thought occurs - since my production server will be server2012r2 running on a server2012r2 Core Hyper-V server - I could run a copy of Serviio on the host and one on the VM, circumventing the need for two copies.
Unless of course, there is a problem with running it on the GUI-less version of Windows Server 2012r2 Standard?
Nah, running in a VM shouldn't be an issue. Since Serviio has switched the console to being web-based, there's no issue running headless during normal use. Just put the VM on the other subnet and away you go. Of course, you either have to remote desktop into the VM server to administer it, or connect to the Serviio console from a computer on the other subnet. Only one Serviio installation will be visible from each subnet. I have two Serviio computers on the same network with no issues, so being separated by the network will be not be a problem.
I'm not sure what you mean by GUI-less install, though. Headless, yes. You can still RDP into it and use the normal Windows GUI. I've heard of Linux boxes running without a GUI but not Windows.
Re: Dual NICs at the same time?

Posted:
Tue Apr 26, 2016 6:10 pm
by sham
You can do a minimal install of 2012R2 which installs a version with no explorer shell - you administer it via command prompt. The only issue would be if Serviio somehow relies on Explorer.
Re: Dual NICs at the same time?

Posted:
Wed Apr 27, 2016 12:40 pm
by atc98092
sham wrote:You can do a minimal install of 2012R2 which installs a version with no explorer shell - you administer it via command prompt. The only issue would be if Serviio somehow relies on Explorer.
I don't think Serviio relies on any GUI, as it works on NAS devices and Linux, which also can be installed without a GUI. You should be fine.
I'm just finishing up installing a new Server 2012 R2 server for a friend, and I don't recall that option. Of course, I wasn't looking for it, as he needs the GUI.

Re: Dual NICs at the same time?

Posted:
Sat Jun 04, 2016 10:43 am
by sham
Just to let you know that I got this working, but not the way I originally planned.
I installed Windows Server 2012r2 on a physical server, which does all the work a home server does and also runs a Hyper-v windows 7 machine.
The server has 2 NICs in seperate VLANs but can't see the second - I configured the hyper-v switch so that the host can't share it, and installed serviio on both machines so that it runs entirely seperately on both VLANs without messing with the servers DNS config, and at the same time preventing access to server shares from VLAN 2 as VLAN2 can't access the servers first NIC. Meanwhile, a second hyper-v virtual switch (internal only) allows the windows 7 vm access to the media share on the server but preventing it accessing VLAN1.
Achieves what I wanted, DLNA on the guest network without exposing any other services. Nice.
Re: Dual NICs at the same time?

Posted:
Sat Jun 04, 2016 7:36 pm
by atc98092
Virtual PC on the same computer: excellent solution. Nice work!

Re: Dual NICs at the same time?

Posted:
Sun Jun 05, 2016 8:59 am
by pepa.sajdler
Isn't there a way to NAT requests from one network to the other? Something like this?
http://m.windowsnetworking.com/articles ... outer.htmlOdesláno z mého A0001 pomocí Tapatalk
Re: Dual NICs at the same time?

Posted:
Sun Jun 05, 2016 9:18 am
by sham
Yes, that's pretty straightforward - but the whole point is to have it separate.
Domain network and guest, no access from guest to domain but DLNA on both from one box.
Also, network discovery for things like DLNA doesn't work across subnets - even with routing enabled.
Re: Dual NICs at the same time?

Posted:
Sun Jun 05, 2016 5:19 pm
by pepa.sajdler
Let me rephrase - couldn't you NAT specific services/ports only? This would make more sense than virtual host... (though I'm using one on my desktop, but that's more Windows share/access from Android issue)
Odesláno z mého A0001 pomocí Tapatalk
Re: Dual NICs at the same time?

Posted:
Sun Jun 05, 2016 5:40 pm
by sham
I could, yes - however, DLNA won't work across subnets as the protocol relies on the devices being on the same subnet.
In the same way as when you open the 'network' section on your windows PC with discovery enabled - no matter what ports you open, it only discovers devices on the same subnet. Try it with a modern networked printer, or even another PC... You just won't see anything on a different subnet, even if all ports are open.
Serviio, and most (all?) similar kinds of discovery methods won't work across subnets - sadly.