Top Banner
Setting up a Peer-to-Peer PC Network Copyright 2003 Prentice-Hall Panko’s Business Data Networks and Telecommunications, 4 th edition
34

ch13a_PC_LAN.PPT

Jan 29, 2018

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ch13a_PC_LAN.PPT

Setting up a Peer-to-Peer PC Network

Copyright 2003 Prentice-HallPanko’s Business Data Networks and Telecommunications, 4th edition

Page 2: ch13a_PC_LAN.PPT

2

Peer-to-Peer PC Networks

No Dedicated Servers

Clients Provide Services to One Another

A B

A can print to B’s printer

B’s printer appears to be a local printer once it is set up on A

Page 3: ch13a_PC_LAN.PPT

3

Peer-to-Peer PC Networks

No Dedicated Servers

Clients Provide Services to One Another

A B

B can store files to parts of A’s hard disk, retrieve files from parts of A’s hard disk

Page 4: ch13a_PC_LAN.PPT

4

Advantages and Disadvantages

Advantage Avoid cost of purchasing a dedicated server No need to learn a server NOS

Disadvantages: Operational Difficulties If someone shuts off or crashes their PC, others

using its server will have service shut off or can even lose data.

Maximum size because of these operational difficulties is about 10, but 2-4 PCs is a more realistic size

Page 5: ch13a_PC_LAN.PPT

5

Advantages and Disadvantages

Disadvantages: Unreliability NOSs for servers are highly reliable

PC operating systems are not as reliable

More frequent crashes even if users are not at fault

Page 6: ch13a_PC_LAN.PPT

6

Advantages and Disadvantages

Disadvantages: Security On a dedicated

server, each user has an account and password

Access to resources can be limited by individual user

User LeePassword XYZ

User ChenPassword ABC

Chen may useLee may not

User-Level Security

Page 7: ch13a_PC_LAN.PPT

7

Advantages and Disadvantages

Disadvantages: Security On a client,

each shared resource is called a share

For instance, a printer

For instance, a hard disk directory

Share (Printer)

Page 8: ch13a_PC_LAN.PPT

8

Advantages and Disadvantages

Disadvantages: Security Passwords for

shares, not for users

All users share the same password

Passwords tend to be shared freely

Share (Printer A)Password: RTU

Print to Printer APassword RTU

Print to Printer APassword RTU

Share-Level Security

Page 9: ch13a_PC_LAN.PPT

9

Advantages and Disadvantages

Disadvantages: Security

Users are not experts in setting up shares

May accidentally share parts of their hard disk they should not be sharing

May give out share passwords appropriately

Page 10: ch13a_PC_LAN.PPT

10

Your LAN Card

Page 11: ch13a_PC_LAN.PPT

11

Your Computer Software

Page 12: ch13a_PC_LAN.PPT

12

Your Wiring: 4-Pair Unshielded TwistedPair Cable with RJ-45 Connector

RJ-45Connector

UTP Cord

Page 13: ch13a_PC_LAN.PPT

Setting Up a PC to Provide Services to Others

Page 14: ch13a_PC_LAN.PPT

14

Setting Up a PC to Provide Service

Install NIC and Network software

Turn on File Service in General Go to Start, Settings, Control Panel (Windows 98)

Double click on Networking Icon

On the Configuration tab, choose File and Print Sharing

Page 15: ch13a_PC_LAN.PPT

15

Setting Up a PC to Provide Service

Click onFile and PrintSharingTo enableSharingIn General

Page 16: ch13a_PC_LAN.PPT

16

Setting Up a PC to Provide Service

Clicking on File and Print Sharing will take you to this dialog box

Page 17: ch13a_PC_LAN.PPT

17

Setting Up a PC to Provide Services

The Situation You have turned on print and file sharing

However, by default, all resources are not shared

So nothing is available to other users yet!

Page 18: ch13a_PC_LAN.PPT

18

Setting Up a PC to Provide Services

Sharing Individual Resources Right click on directory or printer to be shared in

Explorer or My Computer Select Sharing Give the share a name Choose read-only or full access Choose a password for the resource You can choose two passwords—one for read-only

access, another for full access Give out passwords to approved people

Page 19: ch13a_PC_LAN.PPT

19

Setting Up a PC to Provide Services

Share Name

Type of Access

Password(s)(Case-sensitive)

Sharing Tab

Get Read-Only or FullBased on What Password Typed

Page 20: ch13a_PC_LAN.PPT

20

Setting Up a PC to Provide Services

Must go to Network dialog box’s Identification tab

Give the computer a name

Give the computer a workgroupname

Page 21: ch13a_PC_LAN.PPT

21

Setting Up a PC to Provide Services

Recap

Turn on file and print sharing

Select resources to be shared and share them, giving password restrictions

Set up Identification tab to give the computer a name and specify its workgroup

Page 22: ch13a_PC_LAN.PPT

Setting Up a PC to Use Services Provided by Others

Page 23: ch13a_PC_LAN.PPT

23

Setting Up a PC to Use Services

General Steps Install NIC and network software (Ch. 4a)

On the Network dialog box’s Identification tab Give the user’s computer a name Type in the workgroup name shared by all users

Page 24: ch13a_PC_LAN.PPT

24

Setting Up a PC to Use Services

Using Shared Files: Explorer or My Computer

In Explorer or My Computer, go to Network Neighborhood

The name of the computer sharing files should appear. Click on it

The names of shared directory resources should appeared. Click on the one you want

Type the password if one has been specified

You can read files. With full access can delete, etc.

Page 25: ch13a_PC_LAN.PPT

25

Setting Up a PC to Use Services

Using Shared Files: Explorer or My Computer

SharedDirectories

Page 26: ch13a_PC_LAN.PPT

26

Setting Up a PC to Use Services

Using Shared Files: In an Application Go to File Open (or Save)

Go to Network Neighborhood

The name of the computer sharing the directory should appear. Click on it

The names of shared directory resources should appeared. Click on the one you want

Type the password if one has been specified

You can now open files in the directory (or save a file in the directory)

Page 27: ch13a_PC_LAN.PPT

27

Setting Up a PC to Use Services

Using a Shared Printer You first must set up the printer on your PC

Go to Start, Settings, Printers (in Windows 98)

Choose Add Printer

In the Wizard, select Network Printer when asked how the printer is attached to the computer

Select the shared printer you wish to use

In applications, select this printer when you print and want the output to go to the printer

Page 28: ch13a_PC_LAN.PPT

Shared Internet Access for a Peer-to-Peer PC Network

Using an Access Router

Page 29: ch13a_PC_LAN.PPT

29

Must have a broadband

connection and an access router

Shared Internet Access

Switch (needed forPeer-to-Peer networkinganyway

Cable Modem or DSL Modem to ISP

AccessRouter

UTP

UTP

Page 30: ch13a_PC_LAN.PPT

30

Shared Internet Access

Access Router Front and Back

To Switch

To DSL orCable Modem

Front

Back

Router is about 10 cm (4”) Wide

Page 31: ch13a_PC_LAN.PPT

31

Many AccessRouters Now Have

A Built-In Switch

Shared Internet Access

Access Router withBuilt-In Switch

Cable Modem or DSL Modem to ISP

UTP

Page 32: ch13a_PC_LAN.PPT

32

Shared Internet Access

DHCP Access router has a built-in DHCP server

Gives private IP addresses to individual PCs

E.g., 192.168.1.5, 192.168.1.47, etc.

Gives other configuration information as well

Individual PCs must have “Obtain an IP address automatically selected on the Network Configuration tab

Page 33: ch13a_PC_LAN.PPT

33

Shared Internet Access

Network Address Translation Translates between single IP address given by ISP

and DHCP-given IP addresses

Access Router withBuilt-In SwitchISP IP Address

10.0.0.23

192.168.1.5

192.168.1.23

Page 34: ch13a_PC_LAN.PPT

34

Shared Internet Access

Firewall Router may or may not have a weak firewall PCs should have personal firewalls too

Perhaps a Weak Firewall Personal

Firewall

PersonalFirewall