新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> 计算机英语求助,计算机英语翻译互助
    [返回] 计算机科学论坛休息区『 计算机英语 』 → [推荐]How TCP/IP Works 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 2929 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: [推荐]How TCP/IP Works 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     hjx_221 帅哥哟,离线,有人找我吗?
      
      
      威望:7
      等级:博士一年级
      文章:4607
      积分:24021
      门派:XML.ORG.CN
      注册:2004/8/30

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给hjx_221发送一个短消息 把hjx_221加入好友 查看hjx_221的个人资料 搜索hjx_221在『 计算机英语 』的所有贴子 引用回复这个贴子 回复这个贴子 查看hjx_221的博客楼主
    发贴心情 [推荐]How TCP/IP Works


    How TCP/IP Works

      Over the past few years ,one of the most written-about network topics has been IP. But even with all this attention, few, if any ,stories have traced the protocol\'s basic workings, that is ,how routers and Layer 3 switches act upon IP information to move Ethernet packets across the network.

      As a point of referenced, bear in mind that IP is a member of the TCP/IP protocol suite.

      TCP functions at the Open Systems Interconnection(OSI)transport layer, or Layer 4.Its chief responsibility is to ensure reliable end-to-end connectivity. IP, located one layer down, at the OSI network layer, or Layer 3, communicates the addresses of each packet\'s sender and receiver to the routers along the way. Routers and Layer 3 switches can read IP and other Layer 3 protocols .This information ,combined with routing tables and other network intelligence ,is all it takes to get across the room or around the world via TCP/IP.

      The routing process begins with an IP address that is unique to the sending end station .End stations may be assigned permanent IP addresses or they may borrow them as needed from a Dynamic Host Configuration Protocol (DHCP) server or other service.

      Each packet carries a source address, which under current (IPv4) specifications is 32 bits long .In its header, each packet also carries the IP address of the final destination.

      If the sending end station determines that the destination address is not local ,the packet goes to a first-hop router ,typically one that is close and has been preassigned to the sender.

      The router inspects the packet\'s IP address and performs a route table lookup to see if the destination end station resides on the local (physically connected) network, typically called an IP subnet .An IP subnet usually is assigned to each of the router\'s network interfaces.

      If the destination IP address is local ,the router searches an internal store of IP addresses and local-device Media Access Control(MAC) addresses. This store is known as the Address Resolution Protocol (ARP) cache. ARP is the universal tool for matching IP addresses to MAC addresses. If the destination\'s MAC address appears, the router installs that MAC address in the packet header (removing its own MAC address because that\'s no longer needed) and sends the packet to the destination end station.

      In the event that the destination MAC address does not appear in the ARP cache ―it might have timed out ,for instance― the router must broadcast an ARP request to the subnet referenced by the packet\'s destination IP address .The end station with that IP address responds, sending back its MAC address .The router updates its cache, installs the new MAC address into the packet header and launches the packet. If the route table lookup shows that the packet is destined for a non-local subnet, the router forwards the packet to the next-hop router using the next-hop router\'s MAC address. Routing tables are continuously built and rebuilt by intelligent discovery protocols, such as Routing Information Protocol or Open Shortest Path First (OSPF). Each router\'s routing table shows the best route to the destination address ;for addresses that may be several hops away, it shows the best next-hop router.


       收藏   分享  
    顶(0)
      




    ----------------------------------------------
    初从文,三年不中;后习武,校场发一矢,中鼓吏,逐之出;遂学医,有所成。自撰一良方,服之,卒~ 
    http://hjx221.blogger.org.cn/

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/9/25 9:28:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 计算机英语 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/11/22 1:18:59

    本主题贴数1,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    45.898ms