Basic Home Networking
Basic Home Networking
Basic Home Networking
Seminar
Tom Burt
August 27, 2009
This 2 1/2 hour seminar will cover basic networking concepts, discuss equipment
and software needed to set up a simple wireless home local area network, connect to
the Internet and share files and printers between two or more PCs. We'll also keep
some time open to answer your networking questions.
This seminar's target audience is users who are pretty comfortable with their PC and
Windows and want to move up to taking better advantage of having multiple PCs.
1
Where to Find the Seminar Materials
http://www.scscc.com/smnr
– Acrobat file of these slides and Notes
Go to the “smnr” page on the Club web site using the link above.
Find the link to this “Basic Home Networking” presentation, which is saved as an
Adobe Acrobat PDF file.
From there, you can print the document by clicking on the printer icon or you can
save it to your hard disk by clicking the diskette icon.
2
Seminar Agenda
Our goal in this presentation is to cover many of the basic concepts of home
networking. After that, we’ll get session attendees up and running on a simple,
secure home network that mixes wired and wireless connections.
3
Basic Concepts
4
Classic Small Mixed Network
TV or Phone Cable
Cable or DSL Modem
PC Workstation
Laptop w
Wireless Network
Adapter
Wireless Access Point / Router PC Workstation
Above is the archetypical simple mixed wired and wireless network configuration
diagram.
We have one or more PC workstations, connected by Ethernet cables to an
integrated Wireless Access Point / Router. The router provides high speed
connections between each of the other Ethernet “wired” devices connected to it. The
“wired” links run at 100 million bits per second.
We also have a laptop computer connected by a wireless link to the same WAP /
router. The wireless link may run at (up to) either 11 million bits per second, 54
million bits per second, (up to) 108 million bits per second or even (up to) 300
million bits per second . However, due to distance, obstacles and interference, it
may run much slower.
In addition to its routing firmware, the router may also contain Internet firewall
firmware.
The router is connected by Ethernet cable to a cable, satellite or DSL modem.
The cable , satellite or DSL modem is connected to the TV coaxial cable or to the
DSL telephone jack, which provides the connection to the external Internet.
We will look at each of these components in more detail in following slides.
5
Networking Hardware (1)
• Switch
– Usually 4 Ethernet ports + a WAN port or Uplink port.
– Also comes in 8 or 16 ports.
– Newer switches are auto-sensing – any port can be uplink.
– One switch can connect to another switch.
– Often a switch is built into a Router or Wireless Access Point
(WAP).
Basic Home Networking
Wired and Wireless
Ethernet cables come in two speed ratings: Category 5 for 10/100/1000 Megabit,
Category 6 for 10+ Gigabit. They are shielded, with 4 twisted pairs inside, and have
8-pin RJ 45 snap-in jacks at each end. Ethernet cables can be up to 330 feet long.
6
Networking Hardware (2)
• Router
– Provides basic switch functionality.
– Provides dynamic IP address (DHCP) services.
– Provides Network Address Translation
(Isolates internal LAN net from Internet).
Routers are switches with a much higher level of intelligence. Routers have built in
functions to dynamically assign “private” IP addresses from a specified range
(DHCP). The router also performs transparent mapping of these private IP addresses
into a single “public” IP address assigned by the cable or DSL Internet Service
Provider. This makes your entire in-house network look like a single PC to the
outside world. Routers may also include firewall functionality. Firewalls effectively
block incoming TCP/IP connections from all but a handful of standard, “safe” ports.
This keeps out hackers.
With either Cox cable, satellite broadband or Embarq DSL, whether running a
wired, wireless or mixed network, you must have a router in place to allow more
than one PC to simultaneously access the Internet. These ISPs only allow one
physical connection, i.e. a single IP address, to their network from a given
connection point.
A cable or DSL modem converts Ethernet messaging signals to signals compatible
with either your cable TV wiring or your special DSL telephone wiring. Cox cable
uses two reserved digital channels for the incoming and outgoing message signals.
DSL uses specially tuned phone wiring to allow the high speed signals.
Both cable and DSL are asymmetric. On Cox, incoming messages travel at about 6
Megabits per second; outgoing messages travel at 512 Kilobits per second.
A new form of Fiber DSL (FIOS) currently can deliver 15 Million bits/sec, but isn’t
offered in Las Vegas.
7
Wireless Networking Hardware
A Wireless Access Point / Router combines the features of the router and the central
802.11b, 802.11g, 802.11g+ (MIMO) or 802.11n wireless transmitter receiver. It
provides the central hub of a wireless network.
Wireless network adapters are attached to a PC or laptop and provide the remote
ends of a wireless network. Adapters come in several configurations: PCI cards (for
desktops), PC cards (for laptops), USB (very flexible). On most new laptops, the
Wireless network Adapter is built in and controlled by an on/off switch.
8
Networking Web Links
– http://www.linksys.com
– http://www.netgear.com/
– http://www.dlink.com/
– http://www.belkin.com/
– http://airlink101.com
– http://windowshelp.microsoft.com/Windows/en-US/networking.mspx
– http://www.microsoft.com/windowsxp/using/networking/default.mspx
– http://www.pcmag.com/article2/0,4149,1277020,00.asp
The above hyperlinks go to the major home networking equipment vendors’ web
sites. All these vendors provide a wealth of technical information.
There is also a link to the Microsoft home networking site, which again has much
useful information.
9
Demo – Two PC Wired / Wireless Network
TV or Phone Cable
Cable or DSL Modem
PC Workstation
Laptop w
Wireless Network
Adapter
Wireless Access Point / Router
10
Bio-Break
10 Minutes
11
Demo – Setting Up a Two-PC LAN (1)
It’s important to power cycle both the Cable/Satellite/DSL modem and the
WAP/Router so they will discover each other correctly. Power on the modem first,
then the WAP/Router.
12
Demo – Setting Up a Two-PC LAN (2)
All vendors provide a setup software tool to allow you to configure the WAP /
Router from a wired connection. This setup tool does basic configuration. Outside
hackers know all the vendors’ defaults. To be secure it’s important to change the
SSID from the vendor’s default (e.g. “Linksys”) to some custom value that only you
know. For example: “I_BURT_T”. Also change the vendor’s default administrator
access password (e.g. “admin”) to something else. For example: “I7I0B9T5T”.
Once the WAP / router is set up, you should reboot your PC to get a DHCP IP
address from the new router. It usually will be in the 192.168.x.y range (x and y
vary by vendor). For Mac Airports, the addresses are in the 10.0.x.y range.
Next use Internet Explorer to connect to the WAP / router at the vendor’s
designated IP address (192.168.1.1 for Linksys). The WAP / router has a built in
mini web server with configuration screens to allow you to fine tune and adjust
advanced settings. Login using your new administrator password.
You may want to turn off SSID broadcasting to make your wireless LAN invisible
to outsiders unless they already know your SSID.
Finally, to secure your wireless network from outside hackers, configure encryption
to use WPA or WPA2 (recommended) or 128 bit WEP (if your wireless devices
don’t support WPA) security. Once security has been enabled, any PC that wants to
connect to this access point must be configured with the WPA shared key or one of
the generated WEP security keys. So write down the WPA shared key and/or a few
of the four WEP keys generated.
When joining the wireless LAN on the remote laptop, you will need to set the mode
(WPA or WEP) and enter a valid WPA or WEP key to communicate successfully.
13
Demo – Setting Up a Two-PC LAN (3)
• Set up the LAN Connection on each PC (use Wizard)
– Specify Workgroup name and PC name.
– Don’t use default: “MSHOME” or “WORKGROUP”!
– On XP, may need to force NetBIOS over TCP/IP
Windows networking is based on the Net BIOS protocol, which is not routable, so
you need to ensure the network is using NetBIOS over TCP/IP option. This option
is set in the TCP/IP properties dialog or by the Network Setup Wizard.
Optional on XP: To install IPX / SPX Netware protocol, you must go to the Control
Panel’s Network Connections applet. Right click on the PC’s LAN Connection and
the click Properties. If the IPX / SPX protocol is not installed, click Add and then
choose Protocol. Finally select IPX / SPX. Windows will then complete the install.
This can help when the PCs can’t “see” each other via TCP/IP.
14
Demo – Setting Up a Two-PC LAN (4)
• Reboot both PCs to ensure all software & settings are clean.
If not, recheck the various steps and read the vendor’s setup guide again.
15
TCP / IP Key Protocols
TCP/IP is the core messaging protocol used by computers to communicate over the
Internet. Message streams are broken up into small “packets” (size varies) by the
sender. Each outbound packet has a set of beginning and ending bytes that make up
an envelope, plus the actual data to be sent. The envelope includes the address of
the sender, the address of the receiver, a sequence number, an error detection and
correction check-sum and other useful bits of information to help the Internet get
the packet to its destination. The receiver collects the incoming packets, checks
them for errors and reassembles them into the correct sequence. If a packet is lost or
has an unrecoverable error, the receiver will send a small message to the sender
asking for a re-transmit.
HTTP (Hyper Text Transfer Protocol) uses TCP/IP to send and receive information
specifically structured as web pages. A web browser such as Internet Explorer sends
requests for web-page content to a web server at some specified address. The web
server responds by sending back the requested web page content.
FTP (File Transfer Protocol) uses TCP/IP to support uploading and downloading
files between your PC and a remote FTP server.
SMTP and POP3 use TCP/IP to send and receive e-mail address between your PC
and a remote e-mail server.
16
TCP/IP Name / Address Services
Domain Name Services (DNS) servers are special computers on the public Internet
that convert readable domain names to IP addresses. ISPs like Cox.net,
Earthlink.net, AT&T.net all have their own DNS servers. These DNS servers
themselves form a network along with the main domain name registration services,
such as Network Solutions. These DNS servers regularly synchronize with each
other so that most requests to resolve a domain name can be processed by a nearby
DNS server. Normally on Windows, you can just let Windows TCP/IP
automatically find the nearest DNS server.
17
Key Local Networking Services
The Client for Microsoft Networks service is the core service that allows a
Windows PC to access shared files and printers on other PCs on the same
Workgroup on a LAN. Originally known as MS-Net or NetBIOS, this service
allows a PC to “map” a logical drive to a shared folder on another PC. It also allows
a PC to “add” a logical printer that physically resides on another PC.
File and Printer Sharing for Microsoft Networks is the core service that allows a
Windows PC to share its printers and file folders with other PCs on the same
Workgroup on a LAN. Printer shares are defined in the Control panel / Printer
applet. File folder shares are defined using the Windows Explorer’s “Share As”
function. Each shared folder is given a “Share Name” and other properties of the
share are set. Important Note … the underlying file folder’s access control
properties must be consistent with those of the share. Otherwise remote users will
not be able to access the folder, even though they can connect to the share.
A particular PC may be set up as just a client, just a file and print server or as both.
For a small network, it’s generally most effective to have each PC operate as both a
client and a server. Each PC can then function as a backup server for the other.
18
Shared Files and Printers
In Windows Explorer, to share a folder, right click on it and then click “Share”.
Specify the share’s name and who will be granted access to it (normally everyone).
To share a printer, go to the “Printers and Faxes” applet, right click on the printer
and click “Share”. Give the printer share a name.
To detach from a network printer, go to the ‘Printers and Faxes” applet, right click
on the printer and then click Delete.
19
Open Workshop / Q and A
Your Networking
Problems and Questions
20