计算机网络英文版课件:slide 09 The Network Layer – Part 5

上传人:努力****83 文档编号:193017177 上传时间:2023-03-07 格式:PPT 页数:17 大小:1.08MB
收藏 版权申诉 举报 下载
计算机网络英文版课件:slide 09 The Network Layer – Part 5_第1页
第1页 / 共17页
计算机网络英文版课件:slide 09 The Network Layer – Part 5_第2页
第2页 / 共17页
计算机网络英文版课件:slide 09 The Network Layer – Part 5_第3页
第3页 / 共17页
资源描述:

《计算机网络英文版课件:slide 09 The Network Layer – Part 5》由会员分享,可在线阅读,更多相关《计算机网络英文版课件:slide 09 The Network Layer – Part 5(17页珍藏版)》请在装配图网上搜索。

1、The Network Layer Part 5Contents OSPFThe Interior Gateway Routing Protocol(Section 5.6.4)BGPThe Exterior Gateway Routing Protocol(Section 5.6.5)IPv6(Section 5.6.8)3b1d3a1c2aAS3AS1AS21a2c2b1bIntra-ASRouting algorithmInter-ASRouting algorithmForwardingtable3cInterconnected ASes Forwarding table is con

2、figured by both intra-and inter-AS routing algorithm Intra-AS sets entries for internal dests Inter-AS&Intra-As sets entries for external dests From slides of Computer Networking course,by Prof.J.Kurose Routing in the Internet Interior Gateway Protocol RIP(Routing Information Protocol):distance vect

3、or protocol based on the Bellman-Ford algorithm OSPF(Open Shortest Path First):Exterior Gateway Protocol BGPOSPF Open Shortest Path First The Interior Gateway Routing Protocol(a)An autonomous system.(b)A graph representation of (a).OSPF(2)The relation between ASes,backbones,and areas in OSPF.OSPF(3)

4、The five types of OSPF messages.5-66BGP Border Gateway ProtocolThe Exterior Gateway Routing Protocol(a)A set of BGP routers.(b)Information sent to F.BGP basics Pairs of routers(BGP peers)exchange routing info over semi-permanent TCP connections:BGP sessions Note that BGP sessions do not correspond t

5、o physical links.When AS2 advertises a prefix to AS1,AS2 is promising it will forward any datagrams destined to that prefix towards the prefix.AS2 can aggregate prefixes in its advertisement3b1d3a1c2aAS3AS1AS21a2c2b1b3ceBGP sessioniBGP sessionFrom slides of Computer Networking course,by Prof.J.Kuros

6、e 3b1d3a1c2aAS3AS1AS21a2c2b1b3cInter-AS tasks Suppose router in AS1 receives datagram for which dest is outside of AS1 Router should forward packet towards one of the gateway routers,but which one?AS1 needs:1.to learn which dests are reachable through AS2 and which through AS32.to propagate this rea

7、chability info to all routers in AS1Job of inter-AS routing!From slides of Computer Networking course,by Prof.J.Kurose Example:Setting forwarding table in router 1d Suppose AS1 learns from the inter-AS protocol that subnet x is reachable from AS3(gateway 1c)but not from AS2.Inter-AS protocol propaga

8、tes reachability info to all internal routers.Router 1d determines from intra-AS routing info that its interface I is on the least cost path to 1c.Puts in forwarding table entry(x,I).From slides of Computer Networking course,by Prof.J.Kurose Learn from inter-AS protocol that subnet x is reachable vi

9、a multiple gatewaysUse routing infofrom intra-AS protocol to determinecosts of least-cost paths to eachof the gatewaysHot potato routing:Choose the gatewaythat has the smallest least costDetermine fromforwarding table the interface I that leads to least-cost gateway.Enter(x,I)in forwarding tableExam

10、ple:Choosing among multiple ASes Now suppose AS1 learns from the inter-AS protocol that subnet x is reachable from AS3 and from AS2.To configure forwarding table,router 1d must determine towards which gateway it should forward packets for dest x.This is also the job on inter-AS routing protocol!Hot

11、potato routing:send packet towards closest of two routers.From slides of Computer Networking course,by Prof.J.Kurose BGP messages BGP messages exchanged using TCP.BGP messages:OPEN:opens TCP connection to peer and authenticates sender UPDATE:advertises new path(or withdraws old)KEEPALIVE keeps conne

12、ction alive in absence of UPDATES;also ACKs OPEN request NOTIFICATION:reports errors in previous msg;also used to close connectionFrom slides of Computer Networking course,by Prof.J.Kurose BGP route selectionRouter may learn about more than 1 route to some prefix.Router must select route.Elimination

13、 rules:1.Local preference value attribute:policy decision2.Shortest AS-PATH 3.Closest NEXT-HOP router:hot potato routing4.Additional criteria From slides of Computer Networking course,by Prof.J.Kurose IPv6 Major goals of IPv6:Support billions of hosts,even with inefficient address space allocation R

14、educe the size of the routing tables Simplify the protocol,to allow routers to process packets faster Provide better security(authentication and privacy)than current IP Pay more attention to type of service,particularly for real-time data Aid multicasting by allowing scopes to be specified Make it possible for a host to roam without changing its address Allow the protocol to evolve in the future.Permit the old and new protocols to coexist for years The Main IPv6 HeaderThe IPv6 fixed header(required).Summary IGP OSPF EGP BGP IPv6

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!