• No results found

Setting up a Peer-to-Peer PC Network

N/A
N/A
Protected

Academic year: 2021

Share "Setting up a Peer-to-Peer PC Network"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Setting up a Peer-to-Peer PC

Network

Chapter 11a

Copyright 2003 Prentice-Hall

Panko’s Business Data Networks and Telecommunications, 4thedition

2

Peer-to-Peer PC Networks

z No Dedicated Servers

z 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

3

Peer-to-Peer PC Networks

z No Dedicated Servers

z 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

4

Advantages and Disadvantages

z

Advantage

zAvoid cost of purchasing a dedicated server

zNo need to learn a server NOS

z

Disadvantages: Operational Difficulties

zIf someone shuts off or crashes their PC, others using its server will have service shut off or can even lose data.

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

5

Advantages and Disadvantages

z

Disadvantages: Unreliability

zNOSs for servers are highly reliable

zPC operating systems are not as reliable

zMore frequent crashes even if users are not at fault

6

Advantages and Disadvantages

z

Disadvantages:

Security

zOn a dedicated server, each user has an account and password

zAccess to resources can be limited by individual user

User Lee Password XYZ

User Chen Password ABC

Chen may use Lee may not

User-Level Security

(2)

7

Advantages and Disadvantages

z

Disadvantages:

Security

zOn a client, each shared resource is called a share

zFor instance, a printer

zFor instance, a hard disk directory

Share (Printer)

8

Advantages and Disadvantages

z

Disadvantages:

Security

zPasswords for shares, not for users

zAll users share the same password

zPasswords tend to be shared

freely Share (Printer A)

Password: RTU Print to Printer A Password RTU

Print to Printer A Password RTU

Share-Level Security

9

Advantages and Disadvantages

z

Disadvantages: Security

zUsers are not experts in setting up shares

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

zMay give out share passwords appropriately

Setting Up a PC to Provide Services to

Others

11

Setting Up a PC to Provide Service

z

Install NIC and Network software (see Ch. 4a)

z

Turn on File Service in General

zGo to Start, Settings, Control Panel (Windows 98)

zDouble click on Networking Icon

zOn the Configuration tab, choose File and Print Sharing

12

Setting Up a PC to Provide Service

Click on File and Print Sharing To enable Sharing In General

(3)

13

Setting Up a PC to Provide Service

z

Clicking on File and Print Sharing will take you

to this dialog box

14

Setting Up a PC to Provide Services

z

The Situation

zYou have turned on print and file sharing

zHowever, by default, all resources are not shared

zSo nothing is available to other users yet!

15

Setting Up a PC to Provide Services

z

Sharing Individual Resources

zRight click on directory or printer to be shared in Explorer or My Computer

zSelect Sharing

zGive the share a name

zChoose read-only or full access

zChoose a password for the resource

zYou can choose two passwords—one for read-only access, another for full access

zGive out passwords to approved people

16

Setting Up a PC to Provide Services

Share Name

Type of Access

Password(s) (Case-sensitive) Sharing Tab

Get Read-Only or Full Based on What Password Typed

17

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 workgroup name

18

Setting Up a PC to Provide Services

z

Recap

zTurn on file and print sharing

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

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

(4)

Setting Up a PC to Use Services

Provided by Others

20

Setting Up a PC to Use Services

z

General Steps

zInstall NIC and network software (Ch. 4a)

zOn the Network dialog box’s Identification tab

zGive the user’s computer a name

zType in the workgroup name shared by all users

21

Setting Up a PC to Use Services

z

Using Shared Files: Explorer or My Computer

zIn Explorer or My Computer, go to Network Neighborhood

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

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

zType the password if one has been specified

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

22

Setting Up a PC to Use Services

z

Using Shared Files: Explorer or My Computer

Shared Directories

23

Setting Up a PC to Use Services

z

Using Shared Files: In an Application

zGo to File Open (or Save)

zGo to Network Neighborhood

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

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

zType the password if one has been specified

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

24

Setting Up a PC to Use Services

z

Using a Shared Printer

zYou first must set up the printer on your PC

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

zChoose Add Printer

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

zSelect the shared printer you wish to use

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

(5)

Shared Internet Access in a Peer-

to-Peer PC Network

Using an Access Router

26 Must have

a broadband connection and an access router

Shared Internet Access

Switch (needed for Peer-to-Peer networking anyway

Cable Modem or DSL Modem to ISP

Access Router

UTP UTP

27

Shared Internet Access

z

Access Router Front and Back

To Switch To DSL or

Cable Modem Front

Back Router is

about 10 cm (4”) Wide

28 Many Access

Routers Now Have A Built-In Switch

Shared Internet Access

Access Router with Built-In Switch Cable Modem or DSL Modem to ISP

UTP

29

Shared Internet Access

z

DHCP

zAccess router has a built-in DHCP server

zGives private IP addresses to individual PCs

zE.g., 192.168.1.5, 192.168.1.47, etc.

zGives other configuration information as well

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

30

Shared Internet Access

z

Network Address Translation

zTranslates between single IP address given by ISP and DHCP-given IP addresses

Access Router with Built-In Switch ISP IP Address

10.0.0.23

192.168.1.5

192.168.1.23

(6)

31

Shared Internet Access

z

Firewall

zRouter may or may not have a weak firewall

zPCs should have personal firewalls too

Perhaps a

Weak Firewall Personal

Firewall

Personal Firewall

References

Related documents

The green death movement challenges modern funeral practices, and what Davies (2005) identifies as the “cosmetic-casket- concrete-complex.” Green or natural burial, also referred

In this paper, we propose a framework for adaptive Hit or Miss Transform, where the HMT is defined for gray level images using the notion of adaptive structuring elements.. We present

The true extent of rent-seeking is intrinsically di¢cult to measure, though like Besley et al (2010) (and many others) we argue that it is nonetheless worthwhile examining

A. Is property classified as: ... Property for safekeeping... Property for destruction... Property and forms preparation and submission: ... 3) Does the agency provide

Circulating tumor cells with a putative stem cell phenotype in peripheral blood of patients with breast cancer.. Gleghorn JP, Pratt ED, Denning D, Liu H, Bander

EMAIL [email protected] IF YOU NEED THE LINK TO THE ZOOM OR ONLINE MEETING ROOM.. ALL PROGRAMS

Table (2) shows that there is a significant and negative relationship between insecure attachment to spouse and the cognitive, affective, and behavioral domains of

There are lots of things you can put on cards, for example: • Write an English sentence on one side and draw a picture to. illustrate it on