We still have to move the datagram from the router to the destination. The routernowhas to determine the correctinterfaceonwhichthedatagramistobeforwarded.As discussed in Chapter 4, this is done by consulting a forwarding table in the router. The forwarding table tells the router that the datagram is to be forwarded via routerinterface222.222.222.220. Thisinterfacethenpassesthedatagramtoits adapter, which encapsulates the datagram in a new frame and sends the frame intoSubnet2. Thistime,thedestinationMACaddressoftheframeisindeedthe MACaddressoftheultimatedestination. Andhowdoestherouterobtainthis destinationMACaddress?FromARP,ofcourse!
ARPforEthernetisdefinedinRFC826.AniceintroductiontoARPisgivenin the TCP/IPtutorial,RFC1180. We’llexploreARPinmoredetailinthehomework problems.
5.4.2 Ethernet
Ethernet has pretty much taken over the wired LAN market. In the 1980s and the early 1990s, Ethernet faced many challenges from other LAN technologies, includ- ingtokenring,FDDI,and ATM.Someoftheseothertechnologiessucceededin capturingapartoftheLANmarketforafewyears.Butsinceitsinventioninthe
VideoNote
Sendingadatagram between subnets: link-layerand network-layer addressing
mid-1970s, Ethernethascontinuedtoevolveandgrowandhasheldontoits dominant position. Today, Ethernet is by far the most prevalent wired LAN tech- nology, and it is likely to remain so for the foreseeable future. One might say that Ethernet has been to local area networking what the Internet has been to global networking.
There are many reasons for Ethernet’s success. First, Ethernet was the first widely deployed high-speed LAN. Because it was deployed early, network admin- istrators became intimately familiar with Ethernet—its wonders and its quirks— and were reluctant to switch over to other LAN technologies when they came on thescene.Second,tokenring,FDDI,andATMweremorecomplexandexpensive than Ethernet, which further discouraged network administrators from switching over. Third,themostcompellingreasontoswitchtoanotherLANtechnology (suchasFDDIorATM)wasusuallythehigherdatarateofthenewtechnology; however, Ethernet always fought back, producing versions that operated at equal data rates or higher. Switched Ethernet was also introduced in the early 1990s, which further increased its effective data rates. Finally, because Ethernet hasbeen so popular, Ethernet hardware (in particular, adapters and switches) has become a commodityandisremarkablycheap.
TheoriginalEthernetLANwasinventedinthemid-1970sbyBobMetcalfeand David Boggs. The original Ethernet LAN used a coaxial busto interconnect the nodes. Bus topologies for Ethernet actually persisted throughout the 1980s and into the mid-1990s. Ethernet with a bus topology is a broadcast LAN—all transmitted frames travel to and are processed by all adapters connected to the bus.Recall that we covered Ethernet's CSMA/CD multiple access protocol with binary exponential backoff in Section 5.3.2.
By the late 1990s, most companies and universities had replaced their LANs with Ethernet installations using a hub-based star topology. Insuch an installation the hosts (and routers) are directly connected to a hub with twisted-pair copper wire. A hubisaphysical-layerdevicethatactsonindividualbitsratherthan frames. Whenabit,representingazerooraone,arrivesfromoneinterface,the hub simply re-creates the bit, boosts its energy strength, and transmits the bit onto alltheotherinterfaces. Thus,Ethernetwithahub-basedstartopologyisalsoa broadcastLAN—wheneverahubreceivesabitfromoneofitsinterfaces,itsends a copy out on all of its other interfaces. In particular, if a hub receives frames from two different interfaces at the same time, a collision occurs and the nodes that cre- atedtheframesmustretransmit.
Intheearly2000sEthernetexperiencedyetanothermajorevolutionarychange. Ethernet installations continued to use a star topology, but the hub at the center was replacedwithaswitch. We’llbeexaminingswitchedEthernetindepthlaterinthis chapter.Fornow,weonlymentionthataswitchisnotonly“collision-less”but isalsoabona-fidestore-and-forwardpacketswitch;butunlikerouters,whichoperate up through layer 3, a switch operates only up through layer 2.
Preamble
Dest. address
Source address
Data
CRC
Type
Figure5.20Ethernetframestructure
EthernetFrameStructure
WecanlearnalotaboutEthernetbyexaminingtheEthernetframe,whichisshownin Figure5.20.TogivethisdiscussionaboutEthernetframesatangiblecontext,let’scon- sidersendinganIPdatagramfromonehosttoanotherhost,withbothhostsonthesame EthernetLAN(forexample,theEthernetLANinFigure5.17.)(Althoughthepayload ofourEthernetframeisanIP datagram,wenotethatanEthernetframecancarry othernetwork-layerpacketsaswell.)Letthesendingadapter,adapter A,havethe MACaddressAA-AA-AA-AA-AA-AAandthereceivingadapter,adapterB,havethe MACaddressBB-BB-BB-BB-BB-BB.ThesendingadapterencapsulatestheIPdata- gramwithinanEthernetframeandpassestheframetothephysicallayer.Thereceiv- ing adapter receives the frame from the physical laye
Chúng tôi vẫn có thể di chuyển datagram từ router đến đích. Routernowhas để xác định correctinterfaceonwhichthedatagramistobeforwarded. Như được thảo luận trong chương 4, điều này được thực hiện bởi tư vấn một bảng chuyển tiếp trong các bộ định tuyến. Bảng chuyển tiếp cho các bộ định tuyến datagram là được chuyển tiếp qua routerinterface222.222.222.220. Thisinterfacethenpassesthedatagramtoits adapter, mà gói gọn datagram trong một khung mới và gửi intoSubnet2 khung. Thistime, thedestinationMACaddressoftheframeisindeedthe MACaddressoftheultimatedestination. Andhowdoestherouterobtainthis destinationMACaddress? FromARP, ofcourse!ARPforEthernetisdefinedinRFC826.AniceintroductiontoARPisgivenin TCP/IPtutorial, RFC1180. We'llexploreARPinmoredetailinthehomework vấn đề.5.4.2 EthernetEthernet có khá nhiều đưa lên thị trường mạng LAN có dây. Trong thập niên 1980 và đầu thập niên 1990, Ethernet phải đối mặt với nhiều thách thức từ các mạng LAN công nghệ, bao gồm ingtokenring, FDDI và ATM. Someoftheseothertechnologiessucceededin capturingapartoftheLANmarketforafewyears.Butsinceitsinventioninthe VideoNoteSendingadatagram giữa các mạng con: liên kết-layerand tầng mạng giải quyết giữa thập niên 1970, Ethernethascontinuedtoevolveandgrowandhasheldontoits vị trí thống trị. Hôm nay, Ethernet là của xa công nghệ cao-nology của phổ biến nhất dây LAN và nó có khả năng vẫn như vậy cho tương lai. Một trong những có thể nói rằng Ethernet đã đến khu vực địa phương mạng Internet đã đến toàn cầu mạng.There are many reasons for Ethernet’s success. First, Ethernet was the first widely deployed high-speed LAN. Because it was deployed early, network admin- istrators became intimately familiar with Ethernet—its wonders and its quirks— and were reluctant to switch over to other LAN technologies when they came on thescene.Second,tokenring,FDDI,andATMweremorecomplexandexpensive than Ethernet, which further discouraged network administrators from switching over. Third,themostcompellingreasontoswitchtoanotherLANtechnology (suchasFDDIorATM)wasusuallythehigherdatarateofthenewtechnology; however, Ethernet always fought back, producing versions that operated at equal data rates or higher. Switched Ethernet was also introduced in the early 1990s, which further increased its effective data rates. Finally, because Ethernet hasbeen so popular, Ethernet hardware (in particular, adapters and switches) has become a commodityandisremarkablycheap.TheoriginalEthernetLANwasinventedinthemid-1970sbyBobMetcalfeand David Boggs. The original Ethernet LAN used a coaxial busto interconnect the nodes. Bus topologies for Ethernet actually persisted throughout the 1980s and into the mid-1990s. Ethernet with a bus topology is a broadcast LAN—all transmitted frames travel to and are processed by all adapters connected to the bus.Recall that we covered Ethernet's CSMA/CD multiple access protocol with binary exponential backoff in Section 5.3.2.By the late 1990s, most companies and universities had replaced their LANs with Ethernet installations using a hub-based star topology. Insuch an installation the hosts (and routers) are directly connected to a hub with twisted-pair copper wire. A hubisaphysical-layerdevicethatactsonindividualbitsratherthan frames. Whenabit,representingazerooraone,arrivesfromoneinterface,the hub simply re-creates the bit, boosts its energy strength, and transmits the bit onto alltheotherinterfaces. Thus,Ethernetwithahub-basedstartopologyisalsoa broadcastLAN—wheneverahubreceivesabitfromoneofitsinterfaces,itsends a copy out on all of its other interfaces. In particular, if a hub receives frames from two different interfaces at the same time, a collision occurs and the nodes that cre- atedtheframesmustretransmit.
Intheearly2000sEthernetexperiencedyetanothermajorevolutionarychange. Ethernet installations continued to use a star topology, but the hub at the center was replacedwithaswitch. We’llbeexaminingswitchedEthernetindepthlaterinthis chapter.Fornow,weonlymentionthataswitchisnotonly“collision-less”but isalsoabona-fidestore-and-forwardpacketswitch;butunlikerouters,whichoperate up through layer 3, a switch operates only up through layer 2.
Preamble
Dest. address
Source address
Data
CRC
Type
Figure5.20Ethernetframestructure
EthernetFrameStructure
WecanlearnalotaboutEthernetbyexaminingtheEthernetframe,whichisshownin Figure5.20.TogivethisdiscussionaboutEthernetframesatangiblecontext,let’scon- sidersendinganIPdatagramfromonehosttoanotherhost,withbothhostsonthesame EthernetLAN(forexample,theEthernetLANinFigure5.17.)(Althoughthepayload ofourEthernetframeisanIP datagram,wenotethatanEthernetframecancarry othernetwork-layerpacketsaswell.)Letthesendingadapter,adapter A,havethe MACaddressAA-AA-AA-AA-AA-AAandthereceivingadapter,adapterB,havethe MACaddressBB-BB-BB-BB-BB-BB.ThesendingadapterencapsulatestheIPdata- gramwithinanEthernetframeandpassestheframetothephysicallayer.Thereceiv- ing adapter receives the frame from the physical laye
đang được dịch, vui lòng đợi..

Chúng tôi vẫn phải di chuyển các gói tin từ các bộ định tuyến đến đích. Các routernowhas để xác định correctinterfaceonwhichthedatagramistobeforwarded.As thảo luận trong Chương 4, điều này được thực hiện bằng cách tham khảo bảng chuyển tiếp trong router. Bảng chuyển tiếp cho router rằng gói tin sẽ được chuyển tiếp qua routerinterface222.222.222.220. Thisinterfacethenpassesthedatagramtoits adapter, mà đóng gói các gói tin trong một khung mới và gửi intoSubnet2 khung. Thistime, thedestinationMACaddressoftheframeisindeedthe MACaddressoftheultimatedestination. Andhowdoestherouterobtainthis
TCP / IPtutorial, RFC1180. Vấn đề We'llexploreARPinmoredetailinthehomework. 5.4.2 Ethernet Ethernet có khá nhiều thực hiện trên thị trường mạng LAN có dây. Trong những năm 1980 và đầu những năm 1990, Ethernet phải đối mặt với nhiều thách thức từ các công nghệ mạng LAN khác, ingtokenring includ-, FDDI, và ATM.Someoftheseothertechnologiessucceededin capturingapartoftheLANmarketforafewyears.Butsinceitsinventioninthe VideoNote Sendingadatagram giữa các mạng con: link-layerand lớp mạng giải quyết giữa những năm 1970, Ethernethascontinuedtoevolveandgrowandhasheldontoits vị trí thống lĩnh. Hôm nay, Ethernet là của xa có dây LAN phổ biến nhất dược liệu, nó có khả năng duy trì trong tương lai gần. Người ta có thể nói rằng Ethernet đã đến khu vực địa phương mạng mà Internet đã được nối mạng toàn cầu. Có nhiều lý do cho sự thành công của Ethernet. Đầu tiên, Ethernet là người đầu tiên được triển khai rộng rãi tốc độ cao qua LAN. Bởi vì nó đã được triển khai sớm, mạng nhà quản chính hàng đã trở thành quen thuộc với Ethernet của nó kỳ diệu và quirks- và bất đắc dĩ phải chuyển sang công nghệ mạng LAN khác khi họ đã vào thescene.Second, Token Ring, FDDI, andATMweremorecomplexandexpensive hơn Ethernet, mà hơn nữa quản trị mạng nản từ khi chuyển qua. Thứ ba, themostcompellingreasontoswitchtoanotherLANtechnology (suchasFDDIorATM) wasusuallythehigherdatarateofthenewtechnology; Tuy nhiên, Ethernet luôn chiến đấu trở lại, sản xuất các phiên bản mà hoạt động ở tốc độ dữ liệu tương đương hoặc cao hơn. Switched Ethernet cũng được giới thiệu vào đầu những năm 1990, trong đó tăng thêm tốc độ dữ liệu hiệu quả của nó. Cuối cùng, vì Ethernet hasbeen nên phổ biến, phần cứng Ethernet (đặc biệt, adapter và chuyển mạch) đã trở thành một commodityandisremarkablycheap. TheoriginalEthernetLANwasinventedinthemid-1970sbyBobMetcalfeand David Boggs. Ethernet LAN gốc được sử dụng một busto đồng trục kết nối các nút. Topo bus cho Ethernet thực sự tồn tại trong suốt những năm 1980 và vào giữa những năm 1990. Ethernet với một topo bus là một phát sóng LAN-tất cả các truyền khung đi du lịch đến và được xử lý bởi tất cả các adapter kết nối với bus.Recall rằng chúng tôi bao gồm giao thức đa truy nhập CSMA / CD Ethernet với backoff mũ nhị phân trong mục 5.3.2. Vào cuối năm 1990, hầu hết các công ty và các trường đại học đã thay thế các mạng LAN của họ với các cài đặt Ethernet sử dụng một topo sao trung tâm dựa trên. Insuch một cài đặt các máy chủ (và router) được kết nối trực tiếp đến một trung tâm với dây đồng xoắn đôi. Một hubisaphysical-layerdevicethatactsonindividualbitsratherthan khung. Whenabit, representingazerooraone, arrivesfromoneinterface, trung tâm chỉ đơn giản là việc tạo lại chút, tăng cường sức mạnh năng lượng của nó, và truyền các bit vào alltheotherinterfaces. Như vậy, Ethernetwithahub-basedstartopologyisalsoa broadcastLAN-wheneverahubreceivesabitfromoneofitsinterfaces, itsends một bản sao ra trên tất cả các giao diện khác của nó. Cụ thể, nếu một trung tâm nhận khung hình từ hai giao diện khác nhau cùng một lúc, một vụ va chạm xảy ra và các nút mà cre- atedtheframesmustretransmit. Intheearly2000sEthernetexperiencedyetanothermajorevolutionarychange. Cài đặt Ethernet tiếp tục sử dụng một cấu trúc liên sao, nhưng các trung tâm tại trung tâm là replacedwithaswitch. We'llbeexaminingswitchedEthernetindepthlaterinthis chapter.Fornow, weonlymentionthataswitchisnotonly nhưng "va chạm ít" isalsoabona-fidestore-và-forwardpacketswitch; butunlikerouters, whichoperate lên qua lớp 3, một switch hoạt động chỉ lên qua lớp 2. Lời nói đầu đích. địa chỉ nguồn Figure5.20.TogivethisdiscussionaboutEthernetframesatangiblecontext, let'scon- sidersendinganIPdatagramfromonehosttoanotherhost, withbothhostsonthesame EthernetLAN (forexample, theEthernetLANinFigure5.17.) (Althoughthepayload ofourEthernetframeisanIP datagram, wenotethatanEthernetframecancarry othernetwork-layerpacketsaswell.) Letthesendingadapter, adapter A, havethe MACaddressAA-AA-AA-AA-AA-AAandthereceivingadapter , adapterB, havethe MACaddressBB-BB-BB-BB-BB-BB.ThesendingadapterencapsulatestheIPdata- gramwithinanEthernetframeandpassestheframetothephysicallayer.Thereceiv- ing adaptor nhận được frame từ Laye vật lý
đang được dịch, vui lòng đợi..
