1、UNIT10 Computer Network 10-1 Technical Part10-2 Reading Material 10-1 Technical Part 10-1-1 DefinitionA computer network,or simply a network,is a collection of computers and other hardware components interconnected by communication channels that allow sharing of resources and information.Where at le
2、ast one process in one device is able to send/receive data to/from at least one process residing in a remote device,then the two devices are said to be in a network.Simply,more than one computer interconnected through a communication medium for information interchange is called a computer network.10
3、-1-2 IntroductionsNetworks may be classified according to a wide variety of characteristics,such as the medium used to transport the data,communications protocol used,scale,topology,and organizational scope.Communication MediaComputer networks can be classified according to the hardware and associat
4、ed software technology that is used to interconnect the individual devices in the network,such as electrical cable(HomePNA,power line communication,G.hn),optical fiber,and radio waves(wireless LAN).In the OSI model,these are located at levels 1 and 2.A well-known family of communication media is col
5、lectively known as Ethernet.It is defined by IEEE 802 and utilizes various standards and media that enable communication between devices.Wireless LAN technology is designed to connect devices without wiring.These devices use radio waves or infrared signals as a transmission medium.1.Wired technologi
6、esThe order of the following wired technologies is,roughly,from slowest to fastest transmission speed.Twisted pair wire is the most widely used medium for telecommunication.Twisted-pair cabling consist of copper wires that are twisted into pairs.Ordinary telephone wires consist of two insulated copp
7、er wires twisted into pairs.Computer networking cabling(wired Ethernet as defined by IEEE 802.3)consists of 4 pairs of copper cabling that can be utilized for both voice and data transmission.The use of two wires twisted together helps to reduce crosstalk and electromagnetic induction.The transmissi
8、on speed ranges from 2 million bits per second to 10 billion bits per second.Twisted pair cabling comes in two forms:unshielded twisted pair(UTP)and shielded twisted-pair(STP).Each form comes in several category ratings,designed for use in various scenarios.Coaxial cable is widely used for cable tel
9、evision systems,office buildings,and other work-sites for local area networks.The cables consist of copper or aluminum wire surrounded by an insulating layer(typically a flexible material with a high dielectric constant),which itself is surrounded by a conductive layer.The insulation helps minimize
10、interference and distortion.Transmission speed ranges from 200 million bits per second to more than 500 million bits per second.An optical fiber is a glass fiber.It uses pulses of light to transmit data.Some advantages of optical fibers over metal wires are less transmission loss,immunity from elect
11、romagnetic radiation,and very fast transmission speed,up to trillions of bits per second.One can use different colors of lights to increase the number of messages being sent over a fiber optic cable.2.Wireless technologiesTerrestrial microwave Terrestrial microwave communication uses Earth-based tra
12、nsmitters and receivers resembling satellite dishes.Terrestrial microwaves are in the low-gigahertz range,which limits all communications to line-of-sight.Relay stations are spaced approximately 48 km(30 mi)apart.Communications satellites The satellites communicate via microwave radio waves,which ar
13、e not deflected by the Earths atmosphere.The satellites are stationed in space,typically in geosynchronous orbit 35,400 km(22,000 mi)above the equator.These Earth-orbiting systems are capable of receiving and relaying voice,data,and TV signals.Cellular and PCS systems use several radio communication
14、s technologies.The systems divide the region covered into multiple geographic areas.Each area has a low-power transmitter or radio relay antenna device to relay calls from one area to the next area.Radio and spread spectrum technologies Wireless local area network(See Figure 10-1)use a high-frequenc
15、y radio technology similar to digital cellular and a low-frequency radio technology.Wireless LANs use spread spectrum technology to enable communication between multiple devices in a limited area.IEEE 802.11 defines a common flavor of open-standards wireless radio-wave technology.Infrared communicat
16、ion can transmit signals for small distances,typically no more than 10 meters.In most cases,line-of-sight propagation is used,which limits the physical positioning of communicating devices.A global area network(GAN)is a network used for supporting mobile across an arbitrary number of wireless LANs,s
17、atellite coverage areas,etc(See Figure 10-2).The key challenge in mobile communications is handing off user communications from one local coverage area to the next.In IEEE Project 802,this involves a succession of terrestrial wireless LANs.Figure 10-1 Wireless Network Figure 10-2 Internet of Things
18、Communications Protocols and Network ProgrammingA communication protocol is a set of rules for exchanging information over a network.It is typically a protocol stack,which is a“stack”of protocols,in which each protocol uses the protocol below it.An important example of a protocol stack is HTTP runni
19、ng over TCP over IP over IEEE 802.11(TCP and IP are members of the Internet Protocol Suite,and IEEE 802.11 is a member of the Ethernet protocol suite).This stack is used between the wireless router and the home users personal computer when the user is surfing the web.Communication protocols have var
20、ious properties,such as whether they are connection-oriented or connectionless,whether they use circuit mode or packet switching,or whether they use hierarchical or flat addressing.There are many communication protocols,a few of which are described below 1.EthernetEthernet is a family of connectionl
21、ess protocols used in LANs,described by a set of standards together called IEEE 802 published by the Institute of Electrical and Electronics Engineers.It has a flat addressing scheme and is mostly situated at levels 1 and 2 of the OSI model.For home users today,the most well-known member of this pro
22、tocol family is IEEE 802.11,otherwise known as Wireless LAN(WLAN).However,the complete protocol suite deals with a multitude of networking aspects not only for home use,but especially when the technology is deployed to support a diverse range of business needs.MAC bridging(IEEE 802.1D)deals with the
23、 routing of Ethernet packets using a Spanning Tree Protocol,IEEE 802.1Q describes VLANs,and IEEE 802.1X defines a port-based Network Access Control protocol,which forms the basis for the authentication mechanisms used in VLANs,but it is also found in WLANsit is what the home user sees when the user
24、has to enter a“wireless access key”.2.Internet Protocol SuiteThe Internet Protocol Suite,often also called TCP/IP,is the foundation of all modern internetworking.It offers connection-less as well as connection-oriented services over an inherently unreliable network traversed by datagram transmission
25、 at the Internet protocol(IP)level.At its core,the protocol suite defines the addressing,identification,and routing specification in form of the traditional Internet Protocol Version 4(IPv4)and IPv6,the next generation of the protocol with a much enlarged addressing capability.ScaleNetworks are ofte
26、n classified by their physical or organizational extent or their purpose.Usage,trust level,and access rights differ between these types of networks.1.Personal area networkA personal area network(PAN)is a computer network used for communication among computer and different information technological d
27、evices close to one person.Some examples of devices that are used in a PAN are personal computers,printers,fax machines,telephones,PDAs,scanners,and even video game consoles.A PAN may include wired and wireless devices.The reach of a PAN typically extends to 10 meters.A wired PAN is usually construc
28、ted with USB and Firewire connections while technologies such as Bluetooth and infrared communication typically form a wireless PAN.2.Home area networkA home area network(HAN)is a residential LAN which is used for communication between digital devices typically deployed in the home,usually a small n
29、umber of personal computers and accessories,such as printers and mobile computing devices(See Figure 10-3).An important function is the sharing of Internet access,often a broadband service through a cable TV or Digital Subscriber Line(DSL)provider.Figure 10-3 An Example of a Simple Home Network3.Cam
30、pus area networkA campus area network(CAN)is a computer network made up of an interconnection of LANs within a limited geographical area.The networking equipment(switches,routers)and transmission media(optical fiber,copper plant,Cat5 cabling etc.)are almost entirely owned by the campus tenant/owner(
31、an enterprise,university,government etc).In the case of a university campus-based campus network,the network is likely to link a variety of campus buildings including,for example,academic colleges or departments,the university library,and student residence halls.4.Metropolitan area networkA Metropol
32、itan area network(MAN)is a large computer network that usually spans a city or a large campus.5.Wide area networkA wide area network(WAN)is a computer network that covers a large geographic area such as a city,country,or spans even intercontinental distances,using a communications channel that combi
33、nes many types of media such as telephone lines,cables,and air waves.A WAN often uses transmission facilities provided by common carriers,such as telephone companies.WAN technologies generally function at the lower three layers of the OSI reference model:the physical layer,the data link layer,and th
34、e network layer.Virtual private networkA virtual private network(VPN)is a computer network in which some of the links between nodes are carried by open connections or virtual circuits in some larger network(e.g.,the Internet)instead of by physical wires.The data link layer protocols of the virtual n
35、etwork are said to be tunneled through the larger network when this is the case.One common application is secure communications through the public Internet,but a VPN need not have explicit security features,such as authentication or content encryption.VPNs,for example,can be used to separate the tra
36、ffic of different user communities over an underlying network with strong security features.VPN may have best-effort performance,or may have a defined service level agreement(SLA)between the VPN customer and the VPN service provider.Generally,a VPN has a topology more complex than point-to-point.7.I
37、nternetworkAn internetwork is the connection of multiple computer networks via a common routing technology using routers.The Internet is an aggregation of many connected internetworks spanning the Earth.Organizational ScopeNetworks are typically managed by organizations which own them.According to t
38、he owners point of view,networks are seen as intranets or extranets.A special case of network is the Internet,which has no single owner but a distinct status when seen by an organizational entitythat of permitting virtually unlimited global connectivity for a great multitude of purposes.1.Intranets
39、and extranetsIntranets and extranets are parts or extensions of a computer network,usually a LAN.An intranet is a set of networks,using the Internet Protocol and IP-based tools such as web browsers and file transfer applications,that is under the control of a single administrative entity.That admini
40、strative entity closes the intranet to all but specific,authorized users.Most commonly,an intranet is the internal network of an organization.A large intranet will typically have at least one web server to provide users with organizational information.An extranet is a network that is limited in scop
41、e to a single organization or entity and also has limited connections to the networks of one or more other usually,but not necessarily,trusted organizations or entitiesa companys customers may be given access to some part of its intranetwhile at the same time the customers may not be considered trus
42、ted from a security standpoint.Technically,an extranet may also be categorized as a CAN,MAN,WAN,or other type of network,although an extranet cannot consist of a single LAN;it must have at least one connection with an external network.2.InternetThe Internet is a global system of interconnected gover
43、nmental,academic,corporate,public,and private computer networks.It is based on the networking technologies of the Internet Protocol Suite.It is the successor of the Advanced Research Projects Agency Network(ARPANET)developed by DARPA of the United States Department of Defense.The Internet is also th
44、e communications backbone underlying the World Wide Web(WWW).Participants in the Internet use a diverse array of methods of several hundred documented,and often standardized,protocols compatible with the Internet Protocol Suite and an addressing system(IP addresses)administered by the Internet Assig
45、ned Numbers Authority and address registries.Service providers and large enterprises exchange information about the reachability of their address spaces through the Border Gateway Protocol(BGP),forming a redundant worldwide mesh of transmission paths.Network TopologyA network topology is the layout
46、of the interconnections of the nodes of a computer network.Common layouts are:A bus network:all nodes are connected to a common medium along this medium.This was the layout used in the original Ethernet,called 10BASE5 and 10BASE2.A star network:all nodes are connected to a special central node.This
47、is the typical layout found in a Wireless LAN,where each wireless client connects to the central Wireless access point.A ring network:each node is connected to its left and right neighbour node,such that all nodes are connected and that each node can reach each other node by traversing nodes left-or
48、 rightwards.The Fiber Distributed Data Interface(FDDI)made use of such a topology.A mesh network:each node is connected to an arbitrary number of neighbours in such a way that there is at least one traversal from any node to any other.A fully connected network:each node is connected to every other n
49、ode in the network.10-1-3 Application Case or ExampleLocal Area NetworkA local area network(LAN)is a network that connects computers and devices in a limited geographical area such as home,school,computer laboratory,office building,or closely positioned group of buildings(See Figure 10-4).Each compu
50、ter or device on the network is a node.Current wired LANs are most likely to be based on Ethernet technology,although new standards like ITU-T G.hn also provide a way to create a wired LAN using existing home wires(coaxial cables,phone lines and power lines).Figure 10-4 Typical library network,in a