Having a wired network allows me to have a private, high speed, network at home for Internet access, file sharing, media streaming, online gaming (console or PC), IP security cameras, or any other use of standard ethernet type wiring.
Lets get to it with considerations and planning!
Step 1: Initial Considerations and Planning
1. Which room/s do I want wired?
- I have a 2 bedroom condo so I knew I wanted both bedrooms wired. I also have a TV alcove where my cable TV is so that seemed like a good location to wire as well for things like video game consoles. I have cable TV in each of these locations so it seemed logical to treat the network the same way.
2. How many ports do I want in each location?
- With a multiple game consoles and network enabled Blu-Ray player connected to my TV, I knew I wanted at least 3 connections behind my TV. Since the wall plates come in 1, 2, 4, and 6 jack configurations (for single gang), I just went with 4. Why run one cable when its nearly as easy to run 4, right? Rather than vary the number, I just ran 4 drops to each location to provide maximum flexibility with out the need for local (in-room) switches. 3 locations with 4 ports each, 12 ports total.
3. What is a good location for distribution?
- For me the logical location was my laundry room. My cable TV already comes into this room and gets split to each room. It is important to note that my internet comes into the house (over the cable) here too so if I move my cable modem here, it will be able to supply internet access to the entire network. Another thing to consider is the amount of space needed to mount a shelf to hold the network equipment.
4. What path should the cables take?
- This is probably the most difficult consideration. For me, my condo is on the 2nd (top) floor and have access to my attic. My cable TV is distributed through the attic so it seemed like a good solution to run my home network through there as well. For single floor homes with a basement, the basement may be the best path. For multi-story homes you may have to be creative. Outside may be an option or through an old laundry chute. I will not address the specifics of all the possibilities, just my own circumstances. The other consideration with cable path is cable length. The max cable length for up to gigabit speeds over copper UTP cabling is 100 meters (~300 feet). This should provide plenty of flexibility for most home applications but it is good to be aware of this limit.
5. What network speed do I need?
- This will mainly play a part in what kind of switch to get. 10mbps is still faster than most everyones home internet connection, so if you are just surfing a 10 megabit switch will suffice just fine. You can probably pick up one really cheap at a used computer store or maybe even free. You might consider 100mbps if you are planning on sharing multimedia over your network. 100 megabit switches are reasonably priced and easy to come by. Gigabit is probably overkill in most situations but if you must have the fastest, go with it. You will also likely want to use Cat-6 in this case as well. Beware, gigabit switches more than 8 ports climb in price very quickly.
Next up, tools and materials!
Step 2: Required Tools and Materials (and Costs)
Ethernet crimping tool (only if you're putting plug on the ends) $0 True geeks should have one
Drill (primarily for drilling through wall top plates, but makes screwing faster too) $0 Already had
Paddle bit or hole saw (size will vary by how many cables you're running) $0 Borrowed Dads
Pointed hand saw (this makes it easy to cut holes for the gang boxes/wall plates) $0 Borrowed
Strong string or a fish tape $0 Had it laying around
Label Maker (optional) $0 Had it
Pencil $0 had it
Sharpie type Marker $0 Had it
Ruler $0 Had it (I'm noticing a trend)
Stud finder $0 Had it
Punchdown tool (optional) $0 Cause I used a small screwdriver
Laptop or Cable tester (to test each drop) $0 Had a laptop
1000' spool Cat-5e or Cat-6 (more or less based on your need) $0 Free from a friend
Single Gang Retrofit Boxes (the kind that clamp to the drywall, open back) $0.25 each
RJ-45 Jacks and plates (get what you need, maybe an extra or two) $0.35/plate, $14 for 12 jacks
RJ-45 plugs (optional) $0 I didn't use them
Plastic grommet (optional, makes the cabling look professional) $0.60
Patch panel (optional, another professional touch) $0 Dragged out of the dumpster at work
Ethernet Switch $0 Given by a friend
Router/Firewall (optional, may be required by you ISP) $0 Already had one
Velcro strips for cable management (optional) $3 for a roll
Short patch cables (optional) $5 This will vary depending on length
Now that we've (hopefully) got all the stuff we need, lets mount the wall plates!
Step 3: Mounting the Wall Plates
Now that you've decided where to mount the box, you need to draw the lines on the wall to fit the new box and cut the hold with the pointed hand saw. The pointed saw should be able to push through the dry wall pretty easily without the need to drill starter holes.
Once you have the hole cut in the wall, you can put the single gang box into the hole and screw the clamps with hold it in place by clamping to the back of the dry wall.
Repeat this for each location that you want to run to.
For now we'll leave the wall plates off.
At this time you'll also want to cut a hole in the wall in the distribution room. Here you want to cut a hole that the plastic grommet will fit into.
Now we can run cables!
Step 4: Measuring and Running the Cables
To find the lengths required for each run I ran one cable to each room from the distribution room, pulled it out, and made 3 more like it. After that, you can run all 4 together. You'll also want to label both ends of each cable with a sharpie. This way you can label the ports on both ends.
Before you can do this however you need to drill through the wall top plates so that you can drop the cables into the walls where you have cut your holes. Finding the right place to drill in the top plate (to make sure you get in the right 16" gap between studs) can be tricky. This is another reason I decided to follow the coax cables for cable TV. I traced down the cable TV through that attic and then drilled new holes in the top plate right next to the cable TV holes. You'll want a powerful drill and either a paddle bit or a hole saw for this. The hole saw is easier but the paddle bit is cheaper. I used a 1 1/4" paddle bit and it was hard to control and strained the drill at times. You can also opt to drill multiple small holes and use one for each cable although this makes running them a but harder since you can't tape the bundle together.
Once you have the top holes drilled you can string out some cable to measure how much for each run and then cut 3 more equal lengths per run and then re-run the cables. Be sure to make them long enough that you have some extra from stripping and crimping accidents. Its always easy to tuck extra length into the wall.
Next, making connections.
Step 5: Connecting the Wires to the Jacks and Patch Panel
I noted in the materials that a patch panel was optional. You /can/ take the raw cable directly out of the wall, put a RJ-45 plug on it and plug directly into the switch. I feel that for permanent installation it is much more professional to mount a patch panel.
This is pretty easy. Most patch panels and jacks have diagrams with wire color diagrams for the common T568A and T568B wiring standards. To be honest I don't know if either would work. I have seen "A" used for ISDN before but, in looking at the T568B color guide I recognized it as the same as the tons of patch cables I have made before so I went with it. Make sure you use the same on both ends. You can use the punch down tool or a small screw driver to punch the individual wires.
Once you have all the cables connected you can mount the patch panel to the wall and click the jacks into their respective wall plates on the other ends. You can also screw the wall plates into the gang boxes.
Now we can check that things work!
Step 6: Testing Your Connections
I plugged a short patch cable from my patch panel to each port on my switch and turned it on. Since it is a managed switch I set each port to be "up/up" and "auto negotiate" Unmanaged switches will not need to configure anything.
The next step is to take another patch cable and a laptop and plug it into each port in each room. Check the switch after each port and verify the "link" indicator is on. Being able to establish a link tests the physical layer (i.e. no broken wires, all tight crimps, no crossed wires), as well as the data link layer (i.e. negotiation between network card and switch port). No IP addressing or anything needed for testing.
This is also a good time to make sure your labeling matches on both ends. For example you can make sure that "Master Bedroom Port 2" on your patch panel actually goes to the second port in the master bedroom.
To the internet, and beyond!
Step 7: Connecting to the Internet
First the cable modem setup. Since I moved my cable modem from my second bedroom (office) to the distribution room I needed to change the way my cable was split. Rather than the main cable into the house being split 3 ways I split things a little differently. I split the incoming cable with a 3-way splitter first. 1 to the main TV, 1 to the 2-way splitter for TV in the bedrooms and the other into the cable modem. I connected the splitters using a male-male barrel connector.
Now that the cable modem is in the right place we can continue with our network setup. Depending on your internet provider some of this setup may vary. I'm going to discuss the specifics of my environment only. I'll provide tips for others when possible.
From the cable modem ethernet port I plugged into the "Untrusted" port on my router/firewall. From the "Trusted" port, I connected to the first switch port on my switch. If your switch has one, plug into the port labeled "Uplink" instead. Depending on the switch or cable modem and or router, you may need (or already have) crossover cables for these connections. With my router/firewall set up as a DHCP server I can now provide each port access to the internet. In addition my entire network is protected from outside access by the firewall.
Although it is not integral to this instructable, I also plugged a wireless access point into my switch so that I can have wireless access as well. Since my wireless is both encrypted and has MAC filtering I feel comfortable with it on the "trusted" side of my firewall. If for some reason I wanted to provide open wireless access but still protect my network I would need a different configuration of connections. I won't go into detail about these changes but I wanted to note them depending on what your network goals are and how they might incorporate wireless access.
In summary, my firewall receives my single, static IP from my ISP cable modem. It also acts as a router and provides DHCP IP addresses to all other hosts on my private network via the switch and cabling we just installed.
What the hell do we do with it now?!? NEXT!
Step 8: Cool Options to Make You Geek Friends Drool
1. File Server or NAS
- I added and mounted a 1U file server in the distribution room that holds all of my multimedia. This includes a mirrored RAID with 1TB of storage for music, movies, TV shows, etc. (RAID is NOT a backup, but I feel better about not losing my media if a hard drive takes a dump) With this I can stream media to any computers on my network! A SOHO NAS device such as Netgear's ReadyNAS also works well here but I've found that their network performance (of NAS devices, NOT specifically the ReadyNAS which I've heard is tha' bomb) doesn't approach the gigabit speeds their network interfaces can negotiate.
- I have both of my XBOXes (yes the originals, no 360 YET) soft modded with XBMC loaded on them. They are also configured with the DVD remote receivers for XBOX so I can control them from the Harmony. This allows me to stream all the multimedia on my server to either of my TVs! No more is watching Hulu or other media limited to just my computer screens. Girls like to watch TV and Movies on the TV. They don't care if you have "The Notebook" on your laptop, they only want to watch it on your TV!
3. Gigabit Switch
- I touched on this before, but upgrading to a gigabit switch allows SUPER FAST file sharing between machines on your home network. It's probably overkill but so is a Bugatti and we all want one of those. If you can't afford one with enough ports for your entire network, you can segregate 2 networks. With the patch panel you could plug port 1 and 2 from each 4 port location into the gigabit switch and the other 2 into the slower switch. But come on, you might as well blow the money and get the whole she-bang!
4. DVR Anywhere
- With a file server set up, you can also install a bunch of DVR cards in it. Each card can record different shows from your cable and store them on the file server. You can then watch your recorded shows on any TV in your house with XBMC. Assuming you set up the routing and or VPN access you can access those shows from a laptop with decent bandwidth ANYWHERE!
5. IP Phones
- Some manufacturers are making IP based telephones that can connect to the internet. Who still has a home phone!?! But if you need one, at least you can skip the phone company bill.
6. IP Cameras
- You can put security cameras in any room which you've run network drops to and record them to your file server. No more worrying if the babysitter is shaking your kids or snooping in your bed room. Your wife or girlfriend might not like your sex lives on the internet though!
7. BE CREATIVE!