Network Setup

From LinuxMCE
Revision as of 05:42, 25 February 2009 by Colinjones (Talk | contribs)

Jump to: navigation, search


Overview

There is regularly some confusion over how much of your existing home network LinuxMCE requires you to change. Many people incorrectly believe that significant changes are required. In the most common case of home networks, almost no change at all is required. The Core server requires 2 NICs (Network Interface Cards). One is known as the "External" NIC and the other as the "Internal" NIC.

Existing Home Network

Before.PNG

Above we see a very simple home network setup. All devices are connected to a switch, which in turn is connected to the LAN port of a broadband router. In this topology, most people have their broadband router provide dynamic IP addresses to all other devices via DHCP.


Network After LinuxMCE is Installed

After.PNG

Above we see the same network, now LinuxMCE enabled. NOTE: The only change is the Core LinuxMCE server has been inserted between the switch and the broadband router. In practice, this means disconnecting the Cat5e/6 patch cable, shown in the first diagram, from the broadband router and connecting it into the "Internal" NIC of the of the Core server (shown here on the right of the red box). Next, get a new Cat5e/6 patch cable and connect one end to the "External" NIC of the Core server (shown here on the left of the red box), and the other end back into the LAN port of the broadband router. Your setup is now complete!

In this network, your broadband router can continue providing dynamic IP addresses to the "External" NIC of the core - however, there is nothing stopping you fixing this IP address if you prefer. In which case your broadband router's DHCP server is no longer needed. For the Internal or LinuxMCE network, the Core now provides DHCP services to all devices. IMPORTANT: LinuxMCE needs to be the (only) DHCP server for the Internal network because it provides much more than just IP addresses to these devices. So it is important that you allow it to do this, and leave all your internal devices set to acquire their IP address via DHCP so that LinuxMCE works correctly. This is the only supported configuration - however, as you can see, the impact is either negligible or non-existent.


Fully Configured Smart Home Solution

Complete.PNG

In the above diagram you can see the same LinuxMCE enabled network after it has matured - the owner has gone nuts, adding stuff! You may only wish to use LinuxMCE for media playback, in which case you will be more interested in the "MD"s in the diagram. However, you can continue expanding it at will into its designed functionality by added telephones, security systems, home automation networks (lights, environmental controls, irrigation systems, etc)