Computer Networks - PowerPoint PPT Presentation

About This Presentation
Title:

Computer Networks

Description:

Title: PowerPoint Last modified by: peng y Created Date: 1/1/1601 12:00:00 AM Document presentation format: Other titles: Times New Roman ... – PowerPoint PPT presentation

Number of Views:66
Avg rating:3.0/5.0
Slides: 118
Provided by: webXidia1
Category:

less

Transcript and Presenter's Notes

Title: Computer Networks


1
????? Computer
Networks
????? ? ????????
???????????? ??III? 112
Tel 13891853894
Emailpengy_at_xidian.edu.cn
2
  • References
  • ?????(???),??,2004, Andrew S. Tanenbaum
  • ?????(???)
  • ???
  • Computer Networks , A System Approach(3rd)
  • Larry L. Peterson
  • Computer Networks and Internets,
  • D. Comer

3
  • ????????
  • ???????,??????????????????????
  • ????????????
  • ????????,?????
  • ???,???,????

4
Roadmap
??
???
?????
??????(MAC)
???
???
???
5
1 ?? 1.1 ???????? 1.2 ???? 1.3 ???? 1.4
???? 1.5 ???? 1.6 ????? 1.7 ??
6
1       ??
  • ??????????????????????????????
  • Internet,WWW?????????
  • ??????????????
  • ??
  • ???????????????????
  • ????????????,????????????
  • ???????????????

7
1.1 ????????
  • 1.1.1 ????
  • ???? ??, ?????
  • ??1 ?????????
  • CS??(The client-server model)

8
  • CS????????????
  • ??2????????????????,??Email,E-meeting
  • ??3???? (B2B, B2C)

9
  • 1.1.2 ????
  • ?????? ??(??), ?????, ????
  • ????(P2P)BT.

?? ???????????
10
  • ??????, VOD.
  • ???????.
  • ?????

11
  • 1.1.3 ????
  • ????????
  • ?????
  • ????
  • ?????????
  • ????.

12
  • 1.1.3 ????
  • ??????
  • ????
  • ??

13
  • 1.2 ????
  • ????
  • ???????
  • ?????????

14
??( Multicast )???(Unicast)
Sending Device
A
15
?????
Receiving Devices
Sending Device
A
16
?????
Receiving Devices
Sending Device
A
Broadcast
17
?????
Receiving Devices
Sending Device
A
Broadcast Everyone
18
?????
Receiving Devices
Sending Device
A
Multicast
19
?????
Receiving Devices
Sending Device
A
Multicast Some of the Group
20
?????
Receiving Devices
Sending Device
A
Unicast
21
?????
Receiving Devices
Sending Device
A
Unicast Just One
22
  • ??

Storage area network
  • lt 1m

23
  • 1.2.1 ??? (Local area networks)
  • ?? ?????,???, ???????
  • ???? 10 to 100 Mbps, 1Gbps, 10Gbps
  • ?? ???????

24
LAN ????(??)
CSMA/CD
Bus Topology - Ethernet
25
LAN ????(??)
Carrier Sense / Multiple Access / Collision
Detection
CSMA/CD
Bus Topology - Ethernet
26
LAN ????(??)
CSMA/CD
Bus Topology - Ethernet
How It Works!
27
LAN ????(??)
One Broadcast Domain
Bus Topology - Ethernet
28
LAN ????(??)
One Broadcast Domain
Bus Topology - Ethernet
29
LAN ????(??)
So, What Happens When Two Data Transmissions Are
Sent At The Same Time?
30
LAN ????(??)
So, What Happens When Two Data Transmissions Are
Sent At The Same Time?
31
LAN ????(??)
Collision
Bus Topology - Ethernet
32
LAN ????(??)
Back Off Jamb Signal
Bus Topology - Ethernet
What Happens After the Collision?
33
LAN ????(??)
Back-off and Re-send
Re-send 5 µs.
Bus Topology - Ethernet
34
LAN ????(??)
One Broadcast Domain One Collision Domain
Re-send 9 µs.
Bus Topology - Ethernet
35
LAN ????(???)
Ring Topology Token Ring
36
LAN ????(???)
An electrical signal (Token) is circling the LAN
Ring Topology Token Ring
37
LAN ????(???)
Message to Send to PC E
One Broadcast Domain
Ring Topology Token Ring
38
LAN ????(???)
One Broadcast Domain
Ring Topology Token Ring
39
LAN ????(???)
Not for me
One Broadcast Domain
Ring Topology Token Ring
40
LAN ????(???)
Not for me
One Broadcast Domain
Ring Topology Token Ring
41
LAN ????(???)
Or me
One Broadcast Domain
Ring Topology Token Ring
42
LAN ????(???)
Not for me either!
One Broadcast Domain
Ring Topology Token Ring
43
LAN ????(???)
One Broadcast Domain
Its for me!
Ring Topology Token Ring
44
LAN ????(???)
One Broadcast Domain
Ring Topology Token Ring
45
LAN ????(???)
One Broadcast Domain
Ring Topology Token Ring
46
LAN ????(???)
One Broadcast Domain
Ring Topology Token Ring
47
LAN ????(???)
One Broadcast Domain
Ring Topology Token Ring
48
LAN ????(???)
Message was delivered!
One Broadcast Domain
Ring Topology Token Ring
49
LAN ????(???)
No Collisions! Only One Transmission at a Time
Ring Topology Token Ring
50
LAN ????(???)
Ring Speed 4 or 16 mbps
Ring Topology Token Ring
51
LAN ????(??)
Central Device
Star Topology
52
LAN ????(??)
Message to Send to PC E
Central Device
Star Topology
53
LAN ????(??)
Central Device
Star Topology
54
LAN ????(??)
Central Device
Star Topology
55
  • 1.2.2 ???(Metropolitan area networks)
  • ???/????, ???LAN?????????
  • ???MAN??RPR (2.540Gbps)

56
  • 1.2.3 ???(Wide area networks)
  • ?????????????????
  • ???????
  • ???? ????????(fig 1-5),???????????????

57
  • ??-??/?????
  • ????

58
  • 1.2.4 ????(Wireless networks)
  • ??????
  • ????(personal area network)
  • ??LANs
  • ??MANs
  • ??WANs (?????????)
  • ?? ??????

59
  • Wireless LAN ???????????IEEE 802.11(tens of
    meters)
  • LMDS( local multipoint distribution service )
    ????(kilometers) ?IEEE 802.16
  • ??????3??????????????????
  • 1.2.5 ???(Internetworks)
  • ????????????
  • ????????WAN????LAN?????
  • ?????????????????????????????

60
1.3 ????
  • ????
  • ???????
  • ???????????
  • ????
  • ????????

61
  • 1.3.1 ????
  • ??
  • ??????????, ??????????????????,???????????????
    ,???????????,????????????????????
  • ??
  • ??????????????????

62
?????
  • Human
    Network

TCP connection request
Hello
TCP connection reply
Hello
SNTP request
Got the time?
SNTP response
Its 1030
63

64

?? ??????
Receiver
Sender
Peer to Peer Communications
Layer 7
Layer 7
Layer 6
Layer 6
Layer 5
Layer 5
Inter-Layer Communications
Inter-Layer Communications
Layer 4
Layer 4
Layer 3
Layer 3
Layer 2
Layer 2
Layer 1
Layer 1
65
  • ??? ??????????????,???????
  • ?????????????????????
  • ?????????????
  • ?????????????????
  • ????????????

66
  • ??

67
NO. NAME ENCAPS / PDU DEVICES PROTOCOLS NOTES 1 NOTES 2
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
Crayons, Pictures, Writing, Sound .doc .xls
.midi .ppt .jpg .bmp .gif .mp3 .ascii
.ebcdic NFS SQL NetBios RPC TCP UDP
IP IPX OSPF, RIP, BGP, EIGRP, RIP v2,
IGP FR, TR, ATM, FDDI, Ethernet, SDLC,
SNA Cables, Connectors, NIC Cards, ISDN
Checks availability with comm. Partner Syntax,
Compression, Formatting Establish, manage and
terminate sessions Windowing, Buffering,
Reassembly Logical Addressing, Best path BIA
address, Flow Control Like Morse Code
Ideas, Thoughts Standardized format 1
Connection establishment, 2 Data transfer,
3 Connection release Reliable or
Unreliable, 3-way Handshake Routed or routing
protocols, IP Address ARP, MAC Address
Raw Data Segment Packet Frame Bits
Routers, PCs Bridges,
Switches Hubs, Repeaters
68
  • 1.3.2 ???????
  • ????
  • ????????????????
  • ???????????,ack,??????
  • ?? ??(ARQ)
  • ???????
  • ????????
  • ?????????

69
  • 1.3.4 ??????????
  • ?????????????????,???????????????????????????.
  • ?????????????????????,??????????????????????????
    ??????
  • ????(Quality of service)???

70

71
  • 1.3.5 ????(Service Primitives)
  • ????(??)??????????????
  • ????????????,????????????????????
  • ?????????,?????????????

72
????(CS??)
5?????,????????????????
73
????
  • ?????-?????????????

74
  • 1.3.5 ????????
  • ???? layer k1
  • ????? layer k
  • ?k ??????

75
  • 1.4 ????
  • OSI,TCP/IP????
  • 1.4.1 OSI ????
  • ISO???????
  • OSI??????
  • 1.???2.?????3.???4.???
  • 5.???6.???7.???

76
  • ????????????????,????? ??????????,??????????????
    ???
  • ???????????????????????????????????????????MAC?
  • ????????????????????????????????,????????????
  • ??? ??????????,?????????,??????????,?????????????
    ????????

77
  • ???????????????????,??????????????????
  • ??? ????????????,????????????
  • ??? ?????????,??????????????????HTTP ,FTP?

78

79
  • 1.4.2 TCP/IP ????
  • ARPANET ? Internet
  • ??????????, ???????????????,??????????????(??????
    ?????)? ???????,??IP??.

80
  • ???
  • ??????(Transmission Control Protocol,TCP)
  • ???????(User Datagram Protocol,UDP)
  • ???
  • ?????? TELNET
  • ?????? FTP
  • ?????? SMTP
  • ???? DNS
  • ???????? HTTP
  • ??????
  • ??,?????????????????????

81
  • ???????????

82
  • 1.4.3 OSI?????TCP/IP???????
  • OSI??????????? ?TCP/IP ?????????????
  • OSI ?????,?????TCP/IP?????
  • OSI ?????????????????(??????????????),?TCP/IP?????
    ??????,???????????????????

83
1.4.4 OSI????????
  • ???OSI???????????
  • ?????
  • ?????
  • ?????
  • ?????

84
?????
  • ???????

85
?????
  • OSI??????????????
  • ????????????,??????????????
  • OSI?????????????????,??????
  • ????????,???

86
?????
  • ??????,???????????
  • ?????
  • TCP/IP???!

87
?????
  • OSI????????????????
  • ??????
  • TCP/IP??UNIX??????????

88
1.4.5 TCP/IP???????
  • ??
  • ??????????????????
  • ????????
  • ???????????????
  • ?????????????
  • ??????????????

89
  • ????(????)

90
OSI Model vs TCP/IP (DoD) Model
TCP/IP (in detail)
OSI (7 Layers)
TCP/IP (4 Layers)
Application
Application
User Process
User Process
User Process
User Process
User Process
Presentation
Host-To-Host Transport (TCP)
Session
UDP
TCP
ICMP
Transport
IP
Internetwork (IP)
Network
ARP RARP
Datalink
Network
Ethernet, FR, TR, FDDI PPP, SLIP, etc
Physical
Media
91
  • 1.5 ????
  • 1.5.1 ARPANET
  • ????50????, ????,??????????????????,?????????????
    (???)?
  • ARPA ??????????????????
  • ?????TCP/IP ????????????
  • (ARPA, the Advanced Research Projects Agency
    )

92
The ARPANET
  • (a) ??????.
  • (b) Baran??????????.

93
The ARPANET (2)
IMPs (Interface Message Processors) link
rate56k
  • ???ARPANET??.

94
The ARPANET (3)
NAP (Network Access Point).
  • ARPANET?? (a) December 1969. (b) July 1970.
  • (c) March 1971. (d) April 1972. (e)
    September 1972.

95
  • 1.5.2 NSFNET
  • 1984????????? ????ARPANET?????,??????????
  • ???TCP/IP WAN, ?????56kbps????
  • 1990?,??????1.5Mbps
  • NSF ??IBM??????????????ANS (Advanced Networks and
    Services). In 1990, ANS ?? NSFNET
    ??ANSNET,??????45M.
  • ??????????????ARPANET?NSFNET??(Internet???)

96
  • 1.5.3 Internet
  • 1983?1?,TCP/IP ??ARPANET?????????
  • 20??80????,???????????????,??????????
  • Internet ???????????
  • ???? Email, news, remote login and file
    transfer.
  • ???(World Wide Web)??????????????????Internet
  • Internet?????????ISPs (Internet Service
    Providers)?ISP??????????
  • ???ICP?? ICP?ISP????

97
  • Internet?????. NAP (Network Access Point). POP
    (Point of Presence),

??
??
98
  • 1.5.2 ???????
  • ?????????
  • ???????????????.
  • 1. ?????? 2 ????
  • ??????????X.25,???,ATM

99
X.25 ????
X.25 20??70????,?????????????????
??64kbps,??????3???????128???????? ????? ???
20??80????X.25??,??????????????????????
??1.5Mbps
100
  • ??????(ATM)
  • ATM ??????????????,???????????????????(everything)
    ?????????????,???????????????
  • ?OSI??,??????????(nothing is happen!)
  • ????ATM??????,?????,????????,?????????????,???????
    ???IP???

101
ATM ???
????155.52Mbps ? 622.08Mbps(?SDH??)
  • ??????

102
ATM ??? (2)
  • ATM ??.

103
  • ATM ????

104
  • ?????????.
  • ??????????.
  • ???????????????????????.
  • ATM??????????
  • AAL ???????????

105
(No Transcript)
106
???(Ethernet)
  • ??????????

(Metcalfe and Boggs, Xerox PARC ,1976)
107
LANs
  • Ethernet (IEEE 802.3 standard in 1983 )
  • DEC, Intel, and Xerox (DIX standard )
  • ????(Token bus) (IEEE 802.4)
  • General Motors
  • ???(Token ring) (IEEE 802.5).
  • IBM

108
?? LANs - WiFi (802.11)
  • (a) ?????.
  • (b) ?????.

109
?? LANs (2)
  • ????????????????????

110
?? LANs (3)
  • ???????802.11??

111
?? LANs (4)
  • 802.11?????
  • 802.11 (1997) 1Mbps, 2Mbps
  • 802.11a (1999) 54Mbps (wider frequency)
  • 802.11b 11Mbps(same freq with 802.11, diff
    modulation technique)
  • 802.11g 54Mbps (same modulation with 11a
    and same freq with 802.11b)

112
1.6 ?????
  • ??????????????
  • ??????????????
  • ??Internet ????????????

De facto and De jure From the fact by
law
113
???? ITU(International Telecommunication Union)
  • ??????
  • ITU-R ??????
  • ITU-T ???????
  • ITU-D ????
  • ??
  • ?? (National governments)
  • ????(Sector members)
  • ????(Associate members)
  • ????(Regulatory agencies)

114
??????
  • ISO (International Standards Organization)
  • ANSI (American National Standards Institute)
  • NIST (National Institute of Standards and
    Technology)
  • IEEE (Institute of Electrical and Electronics
    Engineering)

115
IEEE 802 Standards
http//standards.ieee.org/reading/ieee/std/lanman/
The 802 working groups. The important ones are
marked with . The ones marked with ? are
hibernating. The one marked with gave up.
116
???????
  • ??????????(IAB)
  • IETF Internet Engineering Task Force
  • RFC Request for comments
  • http//www.ietf.org/rfc
  • IRTF (Internet Research Task Force)
  • Internet Society
  • http//www.isoc.org

117
1.7 ????
  • ??????
Write a Comment
User Comments (0)
About PowerShow.com