FAQ  •  Register  •  Login

Dual NICs at the same time?

<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Sat Apr 23, 2016 4:37 pm

Dual NICs at the same time?

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.
<<

atc98092

User avatar

DLNA master

Posts: 5496

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Apr 24, 2016 10:15 pm

Re: Dual NICs at the same time?

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Mon Apr 25, 2016 5:17 am

Re: Dual NICs at the same time?

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.
<<

atc98092

User avatar

DLNA master

Posts: 5496

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Apr 25, 2016 12:20 pm

Re: Dual NICs at the same time?

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
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Mon Apr 25, 2016 12:31 pm

Re: Dual NICs at the same time?

Thanks for that - I've not done a great deal of java (that is to say none :D ) 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.
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Tue Apr 26, 2016 1:58 pm

Re: Dual NICs at the same time?

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?
<<

atc98092

User avatar

DLNA master

Posts: 5496

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Apr 26, 2016 3:33 pm

Re: Dual NICs at the same time?

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Tue Apr 26, 2016 6:10 pm

Re: Dual NICs at the same time?

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.
<<

atc98092

User avatar

DLNA master

Posts: 5496

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Apr 27, 2016 12:40 pm

Re: Dual NICs at the same time?

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. :D
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Sat Jun 04, 2016 10:43 am

Re: Dual NICs at the same time?

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.
<<

atc98092

User avatar

DLNA master

Posts: 5496

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sat Jun 04, 2016 7:36 pm

Re: Dual NICs at the same time?

Virtual PC on the same computer: excellent solution. Nice work! 8-)
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

pepa.sajdler

Serviio newbie

Posts: 14

Joined: Tue Nov 15, 2011 7:24 pm

Post Sun Jun 05, 2016 8:59 am

Re: Dual NICs at the same time?

Isn't there a way to NAT requests from one network to the other? Something like this? http://m.windowsnetworking.com/articles ... outer.html

Odesláno z mého A0001 pomocí Tapatalk
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Sun Jun 05, 2016 9:18 am

Re: Dual NICs at the same time?

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.
<<

pepa.sajdler

Serviio newbie

Posts: 14

Joined: Tue Nov 15, 2011 7:24 pm

Post Sun Jun 05, 2016 5:19 pm

Re: Dual NICs at the same time?

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
<<

sham

Serviio newbie

Posts: 8

Joined: Sat Apr 23, 2016 3:52 pm

Post Sun Jun 05, 2016 5:40 pm

Re: Dual NICs at the same time?

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.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 82 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.