R E L A T E D   C O N T E N T
ADVERTISEMENT

Getting more from broadband 1: Networking

The first part in our look at six of the most useful applications for getting the best from broadband internet.

Craig Paterson, PC Magazine 18 Sep 2002
ADVERTISEMENT

You'll want to make sure that the maximum number of people benefit from your broadband connection, so what's the best way to share it?

Many PC networking technologies are available but, for smaller and peer-to-peer (P2P) PC networking requirements, there's an obvious choice: Ethernet.

The convenience of simple plug-in connections and a relatively high speed have made Ethernet popular, while market competition has brought costs down to the point where a small P2P home network can now be built for under £100.

USB networking is also possible with some digital subscriber lines (DSL) services, but at present it's too complicated to be worthwhile.

Choosing your network equipment
Ethernet 10/100Mbps client adaptors are typically Peripheral Component Interconnect (PCI) cards, although PC Card and USB adaptors are available. Brand name cards, such as those from Intel and 3Com, command a significant premium over generic alternatives, offering the reassurance of support and perceived quality.

In a home network, advanced features - and the associated price hike - offered by big-name adaptors are unnecessary.

Upper-limit throughput capacity is also not an issue. Even at the £10 to £15 level, you can buy a competent PCI Fast Ethernet adaptor. In fact, the only serious concern when buying adaptors for PCs is support for your chosen operating system. All offer Windows support, but not all are so well supported by Linux.

It's rare to find a card that can't be used at all in a Linux machine, although you might have to compile drivers or even a new kernel if you stray too far away from mainstream products.

Cable choice is limited to Category 5 or the recently announced Category 6. Only if you're building network cabling into walls, conduits and the like should you consider using Category 6 to provide future proofing. Otherwise, use cheaper Category 5.

The last physical component of the network is the switching equipment, which links the clients together. For Ethernet, this will be either a hub or a switch. On a hub, all ports of the hub see all traffic passing through the hub.

More expensive switches, on the other hand, automatically learn which machines are connected to each port and each port only sees traffic destined for machines connected to it. As a rule of thumb, use switches in preference to hubs. In larger networks, you'll have to introduce switches to avoid too much unnecessary data being transmitted across the entire network.

Switches appropriate for home network use are small, unmanaged devices, which are plug-and-play. Larger switches offer advanced functionality such as virtual local area networks (Lans), traffic filtering and web and console management.

All of that is overkill for home and many small office networks, but small, silent switches from companies like Netgear and Linksys are ideal. Only in more complicated and larger network topologies are more advanced switches likely to be required.

Designing the physical network
The golden rule of designing a network is not to overcomplicate. For a home or small office network, a simple 'flat' network design is sufficient. If this includes an internet connection, one PC will have two network connections: one to the internet and one to the home network. Each of the other PCs will be connected to the same switch.

If you need to support multiple PCs in multiple rooms, you can either run cables back from each PC to a central switch or install additional switches in each room and connect the switches instead.

Configuring the network
Once everything is wired up, each PC needs to be configured. This means assigning an Internet Protocol (IP) address, subnet mask, gateway and Domain Name System server addresses. Doing this for each PC can be laborious, especially if any of the information changes.

A neat way around this is to use the Dynamic Host Control Protocol (DHCP). Using this, a central server assigns IP addresses (and associated network configuration) as required. Server versions of Windows and all common Linux distributions include DHCP servers.

IP addresses on the public internet are assigned specifically, so you shouldn't invent IP addresses for machines connected to it. For internal networks, internet-valid IP addresses aren't required for each host.

Instead, the gateway machine connecting the local network to the internet is assigned a valid public IP address and handles internet-bound traffic on behalf of machines behind it on the Lan.

This is known as Native Address Translation (sometimes called Network, rather than Native) or Nat. Network traffic bound for the internet from the local network has its IP address translated to that of the gateway on the way out, while reply traffic returning to the gateway is tracked and passed on to the correct machine behind it.

With the Windows operating system, this mechanism is called Internet Connection Sharing. With Linux, the technique is called IP Masquerading.

A rather useful side effect is that machines behind the gateway are effectively invisible to the public internet. Private IP address ranges for use on internal networks are defined here.

A combination of DHCP, Nat and firewalls run on a dedicated gateway host on ADSL or cable modem line would make an excellent gateway for a small office or home network. A P100 with 32MB of Ram, for example, is more than up to this task in a Linux system; 64MB of Ram should be fitted for Windows.


All Home Networks

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
| JAM Recruitment
Software Test Engineer 6 Weeks Contract £ 35 per hour Wiltshire We have an urgent need for a Software Test Engineer. Main Duties: ·Sound understanding of full software lifecycle ·Solid experience in requirements analysis ·Requirements ... more >
| JAM Recruitment
Software Test Engineer 3 Months Contract £35 per hour Wiltshire We have an urgent need for a Software Test Engineer. Main Duties: ·Sound understanding of full software lifecycle ·Solid experience in requirements analysis ·Requirements based ... more >
| Aston Carter
Major Investment Bank requires a Business Analyst to work within reference data IT. The reference data IT function is responsible for the three internal systems. One of the systems is a strategic repository for Client ... more >
| JAM Recruitment
Job Ref: CY - 27021979 Package: £25 – 42,000 +Bens Location: YORKSHIRE Job type: Occupational Health Position type: Permanent Hours: Full time Contact name: Mr Colin Youle Contact Company: JAM HUMAN RESOURCES Are you a ... more >
More job opportunities