Cong Nghe Mang May Tinh

  • Published on
    07-Aug-2015

  • View
    23

  • Download
    5

Embed Size (px)

Transcript

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

BI GINGCNG NGH MNG MY TNH

Bien soan: Nguyen ao Trng Email: truongnguyendao@gmail.com

Ban quyen 2010- Khoa Cong nghe thong tin

Trang 1

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

GII THIU MN HCMc tiu

Hiu bit c ch hot ng ca mng my tnh. Nhn bit cc thnh phn c bn ca mng my tnh. Hiu bit cc dch v mng c bn. Trin khai mng ngang hng. Network+ Study Guide, 3rd Edition Computer Networks, 4th Edition Bai giangBan quyen 2010 Khoa Cong nghe Thong tin Trang 2

Ti liu tham kho

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

GII THIU MN HCChng trnh hc chi tit

Thong tin lien lac- E-mail - Telephone - Mobile

Tng quan v mng my tnh. M hnh OSI, TCP/IP v cc tin ch mng. Cc phng tin truyn dn. Cc k thut mng hin nay. Ci t v cu hnh mng ngang hng. Cc dch v mng c bn. :truongnguyendao@gmail.com : 04 2186872 : 0946 562 168

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 3

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

TNG QUAN V MNG MY TNH

CHNG I

Ban quyen 2010- Khoa Cong nghe thong tin

Trang 4

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

KHAI NIEMNetwork la mot he thong phc tap ket noi gia cac oi tng hay con ngi. Cac nhom: Truyen thong Van chuyen Xa hoi Sinh hoc Cac cong cu

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 5

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

KHAI NIEMThuat ng computer network e cap en viec ket noi nhng may tnh hoat ong oc lap lai vi nhau thong qua moi trng truyen thong.

S phat trien cua he thong may tnhBan quyen 2010 Khoa Cong nghe Thong tin Trang 6

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNH

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 7

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHLANs (Local Area Networks)

Co gii han ve a ly. Toc o truyen d lieu cao. Mot to chc quan ly. Nhng ky thuat mang thng dungEthernet : 10/100/1000 Mbps, Token Ring : 16 Mbps FDDI : 100 Mbps

Cac thiet b mang s dungBan quyen 2010 Khoa Cong nghe Thong tin Trang 8

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHLocal-Area Network

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 9

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNH

MANs(Metropolitan Area Networks)Co kch thc vung a ly ln hn LAN tuy nhien nho hn WAN. Mot to chc quan ly. Thng dung cap ong truc, cap quang hay song ngan.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 10

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHWANs (Wide Area Networks)

Chung thng la s ket noi nhieu LANs. Khong co gii han ve a ly. Toc o truyen d lieu kha thap. Nhieu to chc quan ly. Truc chnh thng dung kenh truyen iem iem. Nhng ky thuat mang thng dung

Cac thiet b mang s dung

Public Switched Telephone Network (PSTN) Integrated Services Digital Network (ISDN) Digital Subscriber Line (xDSL) Frame relay Asynchronous Transfer Mode (ATM) T (US) va E (Europe) Carrier Series: T1, E1, T3, E3.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 11

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHWide-Area Network

Tp.HCM

ng Nai

H NiBan quyen 2010 Khoa Cong nghe Thong tin Trang 12

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHInternet

Mot he thong mang cua cac mang may tnh c ket noi vi nhau qua he thong vien thong tren pham vi toan the gii nham trao oi thong tin.

InternetDSL Cable

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 13

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHCac ch th tham gia hot ng Internet

Bc c sNgi s dng dch v Internet

Bc trung chuynNh cung cp dch v Internet (Internet Service Provider ISP)

Bc tren cungNha cung cp kt ni mng Internet (Internet Access Provider IAP / IXP)

Vit Nam th sao ?Ban quyen 2010 Khoa Cong nghe Thong tin Trang 14

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHCac loai ket noi vat ly en Internet

Ket noi chuyen dungKt ni trc tuyn (online), 24/24 Dung ng thue bao (leased line) S dng trng hc, vin nghien cu ang tin cay. Chi ph cao.

Main OfficeCableBan quyen 2010 Khoa Cong nghe Thong tin

ISP/IXP

Trang 15

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI MANG MAY TNHCac loi kt ni vt ly n Internet

Kt ni tm thiNhng kt ni thng qua line in thoi. R tin, xu hng la chn hin nay (ADSL).

Router/Modem

PSTN ISDN

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 16

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN LOAI THEO KIN TRUC

Nh the nao la Workstation, Client, ServerBan quyen 2010 Khoa Cong nghe Thong tin Trang 17

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

MNG NGANG HNGCac thong tin

Khong co cap quyen tap trung. So lng may tnh co gii han. Ngi dung t quan ly may tnh cua mnh. c xay dng tren nhieu he ieu hanh. Ngi dung co the chia xe tai nguyen nh tap tin, may in. Re tien. Ngi dung can c ao tao Cau hnh yeu cau cua cac may tnh

Cac van e quan tam

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 18

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

MNG NGANG HNG

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 19

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

MNG KHCH CH (Server based)Cac thong tin

Cac he thong may chu

Cap quyen tap trung. He thong mang c to chc kha ngan nap. Gii han mang chu yeu do c s ha tang mang. at tien. File Server Printer Server Application Server Mail Server Directory Service Server Trnh o va kinh nghiem cua ngi quan tr mang: an toan mang, sao lu, d phong, Cau hnh va kha nang m rong cua cac he thong may chu.

Cac van e quan tam

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 20

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

MNG KHCH CH (Server based)

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 21

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

HNH MNG (Network Topology)o hnh vat ly (physical topology)

S o bo tr cac may tnh, moi trng truyen va cac thanh phan khac cua mang. Cac t khoa lien quan: Physical layout, Design, Diagram, Map. Shared Ethernet, Switched Ethernet, TokenRing, C che hoat ong. Loai thiet b mang can thiet va kha nang cua cac thiet b mang. Kha nang phat trien mang trong tng lai. C cau quan tr mang.Ban quyen 2010 Khoa Cong nghe Thong tin Trang 22

o hnh luan ly (Logical topology)

Tam anh hng

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

HNH MNG ( Network Topology)a truy cap

Mot kenh lien lac co the c dung chung cho nhieu may khac nhau tren mang. Moi may tren kenh chung o co the nhan c moi goi thong tin tren o. Khi lay thong tin vao th cac may se phai kiem tra a ch cua mnh va a ch trong packet Khi muon truyen thong tin th cac may phai tranh chap ng truyen theo mot phng thc nao o.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 23

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

HNH MNG ( Network Topology)iem - iem

Store-and-forward hay packet switched. Hau het nhng mang dien rong dung c che nay. Bus Star Ring Mesh

Cac topology c ban

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 24

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

HNH MNG ( Network Topology)

Star

Ring

Tree

Ring

Bus

Ring

SatelliteTrang 25

Ban quyen 2010 Khoa Cong nghe Thong tin

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

HNH MNG ( Network Topology)Van e quan tam

Da tren cac tieu ch nao e chon topology ? Lap at de dang Kha nang chu loi cao De dang di chuyen, thay oi, phat trien Chi ph va phai

Cac tieu ch can xem xet

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 26

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

CAC THANH PHAN C BAN CUA MANG MAY TNH Thiet b phan cng va moi trng truyen

Cac moi trng truyen thong Cac thiet b phan cngKet noi cac moi trng truyen lai vi nhau. ieu khien qua trnh truyen d lieu Chay cac phan mem (may tnh ca nhan, may chu).

Phan mem mng

Truyn nhn d liu tin cy gia hai tin trnh, hai my tnh Nn tng nh PPP, Frame Relay, TCP/IP, IPX/SPX, NetBEUI. Cc phn mm mng (Web Browser/ Web Server, E-mail Client,..)

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 27

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN MEM MANGGiao thc (Protocol)

Qui tac cac thanh phan lien lac nhau. Can quan tam:nh dang hay th t cua message trao oi. Hanh ong khi nhan message

Hi Hi My gi ri? 2:00 time

TCP connection req TCP connection response GET http://www.yahoo.com

Trang 28

Ban quyen 2010 Khoa Cong nghe Thong tin

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN MEM MANGTang (Layer)Profess ional Workstation 5000

P110

SD

Write a letter Translate letter to another language Put letter into an envelope and address it Put letter in mailbox Sorting at Post Office

Monitoring sorted mail on conveyor Letter goes on truck for delivery

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 29

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

PHAN MEM MANGMo hnh tham khao OSIuserInteroperability

7 6 5 4 3 2

Application Presentation Session TransportRemote connection Logical connection

Interconnectivity

Network Data LinkLocal connection

Physical

1Ban quyen 2010 Khoa Cong nghe Thong tin Trang 30

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANG

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 31

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGCard giao tiep mang (Network interface card NIC)

Chun mng cc b s dngEthernet, Fast Ethernet, Gigabit Ethernet. Toc o truyen d lieu.

Moi trng truyen thongTwisted-pair, coaxial hay fiber-optic. Wireless.

Slot camISA, PCI, PCI-X PCMCIA

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 32

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGMAC Address

Cn gi l Ethernet address Gm 6 byte (v d: 00-0B-CD-33-26-9D)

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 33

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGRepeater

Phuc hoi tn hieu, khuech ai tn hieu Cho phep m rong mang vt xa chieu dai gii han cua mot moi trng truyen. c hien thc bang phan cng.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 34

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGHub

Thc hien chc nang nh Repeater tuy nhien co m rong. Tao ra iem ket noi tap trung. Tn hieu c phan phoi en tat ca cac thiet b ket noi. Mot so chc nang quan ly cung c hien thc.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 35

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGBridge, Switch

Switch thng minh hn hub v c bandwidth cao hn . Tnh cht chn lc khi gi d liu. Thng c hien thc layer 2.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 36

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGRouter

So snh vi switch, router cn thng minh hn. Dng lin mng, la chn ng i. Thng c hin thc lp 3.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 37

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGGateway

Firewall

IntranetBan quyen 2010 Khoa Cong nghe Thong tin Trang 38

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

THIET B NOI MANGCac thiet b khac

Modem (POTS Modem, xDSL Modem, Cable Modem) ISDN Terminal Adapter CSU/DSU

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 39

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

A CH MACCn gi l Ethernet address a ch lp 2 Data Link, gm 6 byte

V d: 00-0B-CD-33-26-9D Layer 2 tr ln (bridge, switch, NIC). winipcfg (Win9x), ipconfig (Win2K,XP)

Thit b no cn MAC Address ?

Xem MAC Address trn Windows

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 40

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

A CH MACTo Internet Ethernet Switch/Hub Broadband Modem D4-47-55-C4-B6-9F Server

Access Router

A1-44-D5-1F-AA-4C Client

Ban quyen 2010 Khoa Cong nghe Thong tin

B2-CD-13-5B-E4-65 Client

C3-2D-55-3B-A9-4F ServerTrang 41

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

TONG KETKhai niem Phan loai mang may tnh o hnh mang Cac thanh phan c ban Phan mem mang Thiet b noi mang

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 42

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

M HNH OSI, TCP/IP V TIN CH MNG

CHNG II

Ban quyen 2010- Khoa Cong nghe thong tin

Trang 43

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

VN CN XEM XTKhng thng nht v kin trc gia cc h thng mng cc b, mng din rng

Mi mng theo mt chun ring SNA, DECNET, OSI, TCP/IP, ...

Khng thng nht v giao thc gia cc mng. Cn c m hnh chun ha

M hnh OSI (Open System Interconnection) B giao thc TCP/IP (Internet protocol suite)

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 44

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

M HNH OSIL m hnh mng chun ha do ISO (International Standard Organization) ngh. Gm c 7 tng vi cc chc nng khc nhau. nh ra cc tiu chun thng nht cho cc nh sn xut, cung cp sn phm, dch v mng.

Ban quyen 2010 Khoa Cong nghe Thong tin

Trang 45

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

M HNH OSI7 6 5 4 3 2 1

Application Presentation Session Transport Network Data Link Physical

Cc ng dng mng: email, web, chat,... nh dng biu din d liu, encryption, Thit lp session, security, authentication Bo m truyn nhn ng d liu Qun l a ch, tm ng, truyn nhn cc packet. Truyn nhn frame, kim tra v sa li Kt ni vt l, truyn cc bit d liuTrang 46

Ban quyen 2010 Khoa Cong nghe Thong tin

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

GIAO TIP QUA M HNH OSI

Application Presentation Session Transport Network Data Link Physical 10010111001011010010110101011110101Ban quyen 2010 Khoa Cong nghe Thong tin Data Data Data Data

Application Presentation Session segments packets frames Transport Network Data Link PhysicalTrang 47

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

MINH HA QU TRNH TRUYN D LiUI love you 1: I l 2: ove 3: you 2: ove 3: you 1: I l 1: I l 3: you 2: ove 3: you 1: I l 3: you 3: you 1: I I ll 1: 2: ove 2: ove 2: ove 2: ove

3: you 2: ove 1: I l

1: I l

I love youBan quyen 2010 Khoa Cong nghe Thong tin Trang 48

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

MINH HA QU TRNH TRUYN D LiUI love you 2: ove 1: I l 2: ove 3: you 1: I l 2: ove 2: ove 3: you ?2 ?2 2: ove 1: I l 3: you 2: ove 3: you ?2 1: I ll 1: I 3: you 1: I ll 1: I 2: ove 2: ove 3: you 1: I l ?2 2: ove 2: ove

2: ove I l 1:

I love youBan quyen 2010 Khoa Cong nghe Thong tin Trang 49

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

CC GIAO THC MNGTCP/IP

Internet M hnh a ch ton cc Kh nng nh tuyn Kh nng tch hp h thng cao Kh nng phn gii tn ton cc Novell Netware M hnh a ch ton cc Kh nng nh tuyn Kh nng tch hp h thng khng cao Kh nng phn gii tn rt kmBan quyen 2010 Khoa Cong nghe Thong tin Trang 50

IPX/SPX

Hoc vien Ky thuat Mat ma Ban c yeu Chnh phu

CC GIAO THC MNGNetBEUI

NETBIOS Network Khng c kh nng nh tuyn Kh nng tch hp km a ch v tn n gin nhng khng hiu qu Apple C kh nng nh tuyn Kh nng tch h...