登陆注册
3765300000041

第41章 Computer Networks and Internet(4)

To help you understand the next technological advancement, the development of local-area networks (LANs), consider the following problem. Somewhere in the world, multiple computers wanted to communicate with each other. To do so, they need some kind of device that could talk to the computers and to the media (the NIC), and some way for the messages to travel (the medium). Suppose also, that computers wanted to communicate with other computers that were a great distance away. The answer to this problem came in the form of repeaters and hubs. The repeater was introduced to enable computer data signals to travel further. The multi-port repeater, or hub, was introduced to enable a group of users to share files, servers, and peripherals. You might call this a workgroup network.

Soon, workgroups wanted to communicate with other workgroups. Because of the functions of hubs (they broadcast all messages to all ports, regardless of destination), as the number of hosts and the number of workgroups grew, there were large and large traffic jams. The bridge was invented to segment the network into multiple collision domains to introduce some traffic control.

The best feature of the hub—concentration/connectivity—and the best feature of tile bridges—segmentation—were combined to produce a switch. It has many ports, but allows each port to pretend it has a connection to the other side of the switch, thus allowing more users and lots of communications.

In the mid-1980s, special-purpose computers, originally called gateways (and then routers), were developed. These devices allowed the interconnection of separate LANs. Internet works were created. The DoD already had an extensive internet work, but the commercial availability of routers, which carded out best path selections and switching for data from many protocols, allowed the explosive growth of networks that we are experiencing today. The cloud represents that growth.

With the arrival of the new century, the next step is the convergence of computer and communications technology (specially, the convergence of voice, video, and data, which traditionally have traveled via different systems) into one information stream. Now that you have an understanding of the evolution of the networking devices, the next section explains how networking devices operate within the OSI model.

Evolution of Networking Devices and the OSI Layers

Hosts and servers operate at Layers 1 through 7; they perform the encapsulation process. Transceivers, repeaters, and hubs sue all considered active Layer 1 devices because they act only on bits and require energy. Patch cables, patch panels, and other interconnection components are considered passive Layer 1 components because they simply provide some sort of conducting path.

NICs are considered Layer 2 devices because they are the location of the MAC address; but because they often handle signaling and encoding, they are also Layer 1 devices. Bridges and switches are considered layer 2 devices because they use Layer 2 (MAC address) information to make decisions about whether to forward packets. They also operate on layer 1 to allow bits to interact with the media.

Routers are considered Layer 3 devices because they use Layer 3 (network) addresses to choose best paths and to switch packets to the proper route. Router interfaces operate at Layers 2 and 1, as well as Layer 3. Clouds, which might include routers, switches, servers, and many devices not yet introduced, involved Layers 1 through 7.

Basics of Data Flow through LANs

For reliable communications to take place over a network, data to be sent must be put in manageable traceable packages. This is done through the process of encapsulation. A brief review of the process states that the top three layers—application, presentation, and session—prepare the data for transmission by creating a common format for transmission.

The transport layer breaks up the data into manageable size units called segments. It also assigns sequence numbers to the segments to make sure the receiving host puts the data back together in file proper order. The network layer then encapsulates the segment creating a packet. It adds a destination and a source network address, usually IP, to the packet.

The data link layer further encapsulates the packet and creates a frame. It adds the source and destination local (MAC) addresses to the frame. The data link layer then transmits the binary bits of the frame over the physical layer media.

When the data is transmitted on just a LAN, we talk about the data units as frames because the MAC address is all that is necessary to get from source to destination host. But if we need to send the data to another host over an intranet or die Internet, packets or data grams become the data unit that is referred to. This is because the network address in the packet contains the final destination address of the host to which the data (packet) is being sent, whereas the data link layer information is local. That is, it changes as it passes through each network. The bottom three layers (network, data link, physical) of the OSI model are primary movers of data across an intranet or Internet.

Packet Flow through Layer 1~7 Devices

Some devices (such as your PC) are Layer 1 — 7 devices. In other words, they perform processes that can be associated with every layer of the OSI model. Encapsulation and de-encapsulation are two examples of this. A device called a gateway (essentially a computer, which converts information from one protocol to another) can operate on a single layer or multiple layers. An example of a gateway would be a computer on a LAN that allows the network to connect to an IBM mainframe computer or to a network-wide facsimile (fax) system. In both of these examples, the data would have to go all the way up the OSI model stack to be converted into a data format the receiving device, either the mainframe or the fax unit, could use.

同类推荐
  • 安徒生童话选(纯爱英文馆)

    安徒生童话选(纯爱英文馆)

    安徒生童话是丹麦作家安徒生的童话作品,也是世界上最有名的童话作品集之一。他最著名的童话故事有《海的女儿》、《小锡兵》、《冰雪女王》、《拇指姑娘》、《卖火柴的小女孩》、《丑小鸭》和《红鞋》等。尽管创作体裁属于童话,但是其中蕴含了丰富的人生哲理。
  • 冬日里的莲花:双语(泰戈尔经典诗选Ⅲ)

    冬日里的莲花:双语(泰戈尔经典诗选Ⅲ)

    《冬日里的莲花:泰戈尔经典诗选3(双语彩绘典藏版)》是双语诗歌系列中的一本,收录了泰戈尔的《采果集》和《流萤集》。诗句有的情感喷薄欲出,有的语言清新意味隽永,有的将抒情和哲思完美结合,给人以无尽美感和启迪。
  • 玩遍欧美就这么Easy!用汉语拼音说畅行无阻的英语

    玩遍欧美就这么Easy!用汉语拼音说畅行无阻的英语

    本书分为11章,共72个话题。分别为:和英美人交流、在英美乘坐交通工具、在英美体验生活、在英美工作、在英美学习、在英美就餐、在英美购物、在英美就医、在英美住宿、在英美旅行、在英美恋爱。内容丰富,涉及日常生活中的方方面面,且对每一章的话题都进行了细分,方便学习者针对具体的场景自由学习。
  • 美国佬都是骗子:英汉双语对照(双语译林)

    美国佬都是骗子:英汉双语对照(双语译林)

    《美国佬都是骗子》是一部现代短篇小说集,共收录短篇小说作品十一篇,分别出自英国和爱尔兰现当代文坛上的九位著名作家之手,时间跨度大致从十九世纪下半叶到二十世纪二十年代。一书在手,即能欣赏到诸多年代、诸多成名作家的传世之作,这可说是本书的一个特色;除译文之外,还附上了英文原文,便于有兴趣的读者直接欣赏英语语言之美,这也是本书的另一特色。
  • The Last Chieftain 妹娃要过河

    The Last Chieftain 妹娃要过河

    故事发生在兵荒马乱年代长江三峡边的一个土家山寨。伍娘是一个哑女,但聪颖过人舞技绝世;无意中撞进山寨的外乡人李安因偷吃土家祭祀的供品受到重罚;土司覃尧看似罚他却是救他,并许诺将伍娘许与李安。伍娘出嫁前夜按照祖先赋予的初夜权,将自己奉献给了神。土司覃尧作为神的化身得到了伍娘但与此同时才发现自己原本深爱着这个女子,从此陷入深深的痛苦。李安不能接受山寨的习俗,将对伍娘的喜爱化成了厌恶和仇恨,不断给纯洁无辜的伍娘以伤害,土司覃尧却因信义而只能默默地忍受煎熬无法相助,火焰一般的爱恨情仇之间,美丽的伍娘以她的生命完成了最后的舞蹈。李安逃离山寨,覃尧在长江边堵住了他,命运将指向何方?
热门推荐
  • 锐读(第12期·悬疑新主张)

    锐读(第12期·悬疑新主张)

    悬疑作品是一个社会的窗子,我们站在窗外,窥视里面的喜怒哀乐。 用有意思的悬疑作品打动人。
  • 林家传奇

    林家传奇

    一者通阴阳吉凶,一者晓寻龙分金,一者身份莫测,三者聚合,开启林家传奇。神秘洞窟,一块铁牌,半卷羊皮卷,引出惊天秘宝!槐树成精,民间避忌,恶鬼附身,邪门外道,这里是你想不到的怪诞世界!
  • 活着就有理由

    活着就有理由

    本书收集的每一个小故事,它们或谈生活的智慧;或论婚姻的得失;或说处世的良策;或译成功的阶梯,每一个小故事都流淌着笔者的热情,滚动着笔者真诚的灵魂,给人以启迪,给人以智慧。
  • 巫神之主

    巫神之主

    数字‘7’是一个非常神奇的数字。也是一个神奇的符号。“艾克,人去哪了?”“艾克,我得药材呢?”“艾克,快点过来帮忙。”“……”
  • 灵之见闻录

    灵之见闻录

    世间从无永恒不灭的事物,从生到死,从开始到结束,从创造到寂灭,此为轮回,当毁灭来临,我们又该如何面对
  • 骨灰级傲娇总裁

    骨灰级傲娇总裁

    雇佣王者,错手杀心爱之人,许下承诺:帮她建世界最大集团,完成读高三梦想。回归都市,却被各种利益纷争连累,感情更是一团糟乱,最后被迫无奈,上演流氓总裁之路。对人时冷时热,让人捉摸不透。
  • 我的星星男友

    我的星星男友

    18岁的林可欣在自己的生日会上被人当场拒婚,随意在蜡烛前许下了一个愿望没想到实现了!迎来了自己的白马王子……
  • 言与心违

    言与心违

    她一回国便与他结婚,原因是她母亲的病。她对他一直都很冷漠,可他一心只想融化她冰冷的心,她几次三番对他动心,可最终她还是离开了他,他却不知道在她离开他时,她已经怀孕了。八年后,她回国了,然而她的俩个孩子却不想要父亲。终于他等到了她。
  • 斑驳的未来

    斑驳的未来

    太阳在无私奉献自己的光和热,人类却理所应当的享受着,可当太阳快要毁灭的时候,人类往后的未来是那样的斑驳……
  • 甜心攻略:教授不好惹

    甜心攻略:教授不好惹

    第一次见他,他的仇家乱枪扫射打烂了她的房。第二次见他,莫名其妙自己就成了他的房客。到了第三次……小希彻底不但定了,张不凡,你给我说清楚!为什么外头都说我上了你的床?!腹黑男黑线三条,只觉得自己也栽在了这嫩草手上。又当保姆又当保镖,还捞不到一句好话,这年头,你是少东又怎样?这年头,少东真心不好当!