Page 1 of 1

Multi Lan Setup - HELP

PostPosted: Fri Apr 05, 2013 10:35 am
by ziggy73701
Hi, I have gone all through the forum looking for a answer and cant find anything.. sorry if this is a double post or has been answered before. I've been using Serviio for a little while on a single box and LAN. This has worked great but needs to change..

I have 2 lans, with 2 adsl connections to the internet both running DHCP. These sit on separate networks and subnets, 192.168.1.x and 192.168.10.x due to DHCP these are kept totally separate. BOTH of these networks need to be able to see Serviio but also remain separate. The easy way would be to use multiple nics but serviio doesn't seem to support this. Currently I have 2 media servers running on a esxi host accessing the same storage. This is bad.. and causes data corruption.

Any one have ANY ideas how I can get serviio on one machine visable from both networks?!

Re: Multi Lan Setup - HELP

PostPosted: Fri Apr 05, 2013 12:34 pm
by atc98092
Are the two networks within the same building/home? If so, you could use a router between the two and add a static route to your computers to direct that particular subnet across the router instead of going to the Internet. If they are not physically co-located, the only way to make them see each other is setting up a VPN (virtual private network) across the Internet. Much more complicated.

Right now, your routing tables are telling your computers that anything not on their particular subnet (i.e. 192.168.0.x) must go to the Internet. Adding a static route will tell your computers that 192.168.10.x is available without going to the Internet, and directs the traffic to the router you assign to the path.

If you don't understand IP routing, don't feel bad, most non-IT support people don't (and even some of them are confused :lol: ). what you can't do is just plug both subnets into the same network switch.

I have created both types of inter-connections (VPN and router) and once they're set up there's usually not much else required. However, setting it all up if they are not close to each other is a little tedious, going between the sites to configure and test everything can get time consuming depending on how far apart.

Re: Multi Lan Setup - HELP

PostPosted: Fri Apr 05, 2013 1:10 pm
by ziggy73701
Thanks for coming back to me.... ill offer some more info ;o)

2 buildings connected by a single Ethernet cable. Building 1 has own ADSL and internal network. Building 2 has the same. In the middle is 2 versions of serviio one for each network.

Will serviio route ip traffic in the way you suggest? I understand I cant use multiple nics with serviio (this would be the easiest thing for me) but I can use multihomed nics, though this I cant do as that would mean both DHCP servers being connected.

Re: Multi Lan Setup - HELP

PostPosted: Sat Apr 06, 2013 9:22 pm
by atc98092
No, I don't think Serviio will route like that. It's really a networking issue, not software.

Are you purposely attempting to keep the networks separate, and just have a single Serviio PC that services them both? Is there some reason to not allow both networks access to the other? I can certainly see reasons you might want that. So, since dual homing the Serviio machine won't work, you'd still need some way of bridging the two networks. Again, this takes a router. It is possible that through access control you could only allow the Serviio machine through from one side, and the other side would only be allowed to connect to the Serviio box. This is more complex than the general routers you purchase from a local electronics store can handle. This takes something from Cisco or Adtran. Depending on the number of devices that might access the Serviio box through the router, you might need gigabit speed. This would up the cost.

Actually, I just checked Newegg and here's something that really doesn't cost much but should be capable of doing all I mentioned:
http://www.newegg.com/Product/Product.aspx?Item=N82E16833150141

I'd have to look more closely to the documentation to be sure of its abilities, but it sure seems like it would handle the load with gigablt ports for both sides.