CCIE学习笔记——BGP

Size: px
Start display at page:

Download "CCIE学习笔记——BGP"

Transcription

1 CCIE 学习笔记 BGP( 文档 + 实验 ) Editor:Edison shilianwang@sohu.com QQ: 如有疏漏之处请不吝赐教如有转载请注明作者及出处 耗时一个多礼拜, 终于 BGP 整理完毕,BGP 之庞大, 查了很多资料, 才完成这个笔记 实力有限, 包涵 BGP 还有很多更细的内容, 需要大家自己去研究, 还是多看书, 多实验, 多问, 多想 感谢 56CTO, 让我们这些学 cisco 的有了藏身之地, 感谢尾巴, 感谢小孩子 ( 及时指正我的错误 ) 还有,blog 地址更改为 易么我 ^_^ 金融这么危机, 我还跑去银行代款注册域名, 我容 参考资料 : <<IP 路由协议疑难解析 >> << 房智勇 CCIE-BGP 学习笔记 >> <<TCP/IP 路由技术 卷二 >> <<IEWB 实验手册 >> <<BGP 命令与配置手册 >>

2 一. 什么是 BGP 路由协议按照内部和外部, 可以分为内部网关协议 (IGP) 和外部网关协议 (EGP) 内部网关协议 : 用于在 AS 内部交换路由信息, 典型的有 RIP EIGRP OSPF ISIS( 目前 R&S 已不考 ) 外部网关协议 : 用于连接不同 AS 的路由选择协议, 典型的是 BGP-4( 版本 4, 以下简称为 BGP) BGP 是一种路径矢量协议, 用于传输自治系统之间的路由信息,BGP 在启动的时候传播整张路由表, 以后只传播网络变化的部分, 触发更新 采用 TCP 连接传送信息, 端口号为 179 BGP 因为使用 TCP, 所以显然就会具有可靠的传送机制,TCP 可以提供滑动窗口机制, 使得 BGP 可以不断发送分组, 不用像 OSPF 或 EIGRP 那样停止发送等待确认 当 BGP 运行在一个 AS 内的时候, 被称为内部 BGP(IBGP), 当 BGP 运行在 AS 之间的时候, 称为外部 BGP(EBGP) BGP 支持 :VLSM 和 CIDR AS 的经典定义 : 一组被统一管理的路由器, 它们使用相同的内部网关协议和统一的度量值来决定如何在 AS 内部路由分组, 并使用 AS 间路由协议来决定如何分组路由到其他 AS AS 号码的范围 :1~65535 其中 64512~65535 为私有 AS, 后面的联邦配置将会用到这些私有 AS, 私有的概念与私有 IP 地址类似 BGP 是一种 policy-based routing, 它让 AS 能够根据多种 BGP 属性来控制数据流的传输 使用 BGP 一般有如下情况 : 1. 一个 AS 允许包穿越, 到达其它 AS 2. 一个 AS 连接多个 AS 3. 必须对数据流进入和离开 AS 进行控制 不使用 BGP 的情况 : 1. AS 只有一个出口 2. 路由器性能不高, 内存小,CPU 较慢, 带宽不大 3. 对路由过滤和 BGP 路径选择过程的了解有限 (cisco 又说了句废话 ) BGP 看不到 AS 域内的拓扑结构,BGP 只能看到 AS 树, 而 IGP 只能看到 AS 内拓扑结构 二.BGP 的消息类型 BGP 定义了四中消息类型 : 1. Open 路由器之间建立 TCP 连接之后, 双方开始发 open( 这里包含自己的信息以及运行 BGP 的参数 ), 若收到的 open 没问题, 则发送 keepalive, 用来确认 open

3 版本 :8 位, 指明发送者所使用的 BGP 版本号, 缺省为 4, 可通过 nei ver 修改, 若双方版本号不同, 路由器将自动降低版本号并重新发送 open 消息, 直到版本号一致 AS 号 :16 位, 用来确认 EBGP 还是 IBGP 保持时间 :16 位,cisco 默认 180 秒, 表示自己必须收到一个 keepalive 或者更新之前所允许等待的最大时间 BGP ID:32 位, 概念同 OSPF Router-id, 选最大环回口, 若无, 选择最大活动物理接口 ; 可手工配置 可选参数 : 比如会话身份验证, 多协议支持 2. Keepalive 用来确认 OPEN 消息及维持链路状态, 默认 60 秒一次或为保持时间的 1/3 3. Update Update 消息只包含一条路径的信息, 也就是说, 多条路径需要多个 update 撤消路径 (withdrawn routes): 描述已经变成不可达并要撤消的路由 路径属性 (path attributes): 为 BGP 提供了选择最短路径, 检查到路由环路以及决定路由策略的信息 NLRI: 公布可以通过该路径到达的 IP 地址前缀 4. Notification 一旦检测到错误, 就会发送 notification, 通常导致 BGP 连接终止, 列如使用 notification 进行 BGP 版本协商 三.BGP 的邻居关系运行 BGP 的路由器, 被称为 BGP 发言者 (speaker) BGP 对等体 =BGP 邻居 ( 通过 TCP 建立邻接关系, 并开始交换路由信息的两个 speaker) 邻居关系 ( 内部 ) 不要求必须直连, 只要 TCP 可达就行

4 1. 外部 BGP 邻居 运行在不同 AS 之间的 EBGP 邻居关系, 必须要求直连 2. 内部 BGP 邻居 运行在同一 AS 内部的 IBGP 邻居关系, 不要求直连, 只要可建立 TCP 连接 四.BGP 的有限状态机 IE 描述 1 BGP 开始 2 BGP 结束

5 3 BGP 传输连接打开 4 BGP 传输连接终止 5 BGP 传输连接打开失败 6 BGP 传输致命差错 7 重试连接计时器超时 8 持续时间终止 9 Keepalive 计时器终止 10 收到 Open 消息 11 收到 Keepalive 消息 12 收到 Update 消息 13 收到 Notification 消息 Idle State 1. BGP 通常以 Idle State 开始 ( 此时拒绝接收所有入连接 ) 当一个开始事件出现,BGP 过程初始化所有 BGP 资源打开重试连接 (ConnectRetry) 计时器, 初始化到邻居的 TCP 连接, 接听来自邻居的 TCP 初始化消息并将它的状态转到 Connect 状态 2. 开始事件是由一个操作者配置一个 BGP 过程, 或者重置一个已经存在的过程或者路由器软件重置 BGP 过程引起 3. 一个差错的出现会将 BGP 过程的状态转为 Idle. 路由器可能会试图发起另外一个开始事件. 为了防止在持续差错条件下导致的摆动, 在第一次转回到空闲状态后, 路由器会自动开启重试连接计时器, 当计时器终止后, 路由器就会放弃重新开始 BGP. 重试计时器第一次的时间为 60s, 下一次为前一次的 2 倍 120s, 成指数形式增加 Connect State 此状态下 BGP 过程会等到 TCP 连接完成以后再决定后续的动作 1. 如果 TCP 连接建立成功,BGP 连接将 ConnectRetry 清零, 完成初始化并给邻居发送一个 Open 消息, 转移到 Open 状态 2. 如果 TCP 连接建立失败,BGP 继续监听由邻居发起的连接, 重置 ConnectRetry 计时器并转移到 Active 状态 3. 如果在连接状态下,ConnectRetry 超时, 计时器将重新开始, 并再一次试图与邻居建立 TCP 连接,BGP 保持 Connect 状态, 此时如果有任何其他输入事件, 转入 Idle 状态 Active State 在此状态,BGP 过程试图与邻居建立一个 TCP 连接 1. 如果连接成功,BGP 过程将 ConnectRetry 计时器清零, 完成初始化, 给邻居发送一个 Open 消息并转移到发送 Open 消息状态,Hold 计时器设置为 4mins 2. 如果在激活状态,ConnectRelay 计时器超时, 将回到 ConnectState 并且重置 ConnectRelay 计时器. 也发起一个到对等的 TCP 连接并继续监听来自对等体的连接 3. 如果邻居试图与一个未知 IP 建立 TCP 会话, 同时 ConnectRelay 计时器重置, 连接被拒绝并保持在 Active 状态 4. 任何一个事件 ( 除开始事件 ) 都回导致状态转向 idle Open send State 在此状态下, 已经发送了 Open 消息,BGP 等待邻居发来的 Open 消息 1. 当收到一个 Open 消息, 如果发现差错, 将给邻居发一个 Notification 消息并转入 Idle 状态

6 2. 如果收到的 Open 消息没有差错, 将给邻居发送一个 Keepalive 消息并将 Keepalive 计时器清零, 此时协商一个较短的 holdtime, 如果为 0, 则没有启动 Hold 和 keepalive 计时器, 根据 AS 号选择 IBGP 或者 EBGP, 同时将状态转移到 OpenConfirm 状态 3. 如果收到一个 TCP 断开消息, 本地断开 BGP 连接, 重置 ConnectRetry 计时器, 并转入 Active 状态 Open Confirm State 此状态下 BGP 会等待一个 Keepalive 消息或者 Notification 消息 1. 如果收到一个 Keepalive 消息, 转移到 Establish 状态 2. 如果收到一个 Notification 消息, 转入 Idle 状态, 并断开 TCP 连接 3. 如果 Hold 计时器超时, 检测到一个差错或出现 stop 事件,BGP 将给邻居发送一个 Notification 并断开连接转入 Idle 状态 Establish State 此状态下,BGP 对等体间的连接已经完全建立, 可以交换 Update Keepalive 和 Notification 消息, 如果收到 Notification 自动转入 Idle, 并中断连接 五.BGP 的属性 BGP 路径属性分为 4 类 : 1. 公认强制 所有的 BGP 路由器必须识别 2. 公认可遵 所有 BGP 路由器都能识别, 但不一定需要 3. 可选传递 不是所有 BGP 路由器都能识别, 但所有 BGP 路由器都能传递 4. 可选非传递 不是所有 BGP 路由器都能识别, 不能识别的 BGP 路由器则丢弃 常用 BGP 属性 : 1. Local_pref 属性 : 本地优先级属性是 BGP 更新分组中的一个 32 位非负整数值, 表示在一个 AS 内部, 选择哪个路由器出本 AS, 越大越优先, 该属性仅在本地 AS 有用, 在本 AS 之外没有任何意义, 仅影响来自一个 AS 的出站流量, 它只向 IBGP 邻居传播 ( 默认 100) 上图中, 将选择 A 路由器为出口 2. MED 属性 :

7 定义了一个在同一 AS 的多个出口点之间做出选择的方法,MED 是 BGP 的非传递属性, 即如果 MED 是从 EBGP 邻居收到, 那么它将发往 IBGP 邻居, 而不传播给其他的 EBGP 邻居 选择较低的 MED,cisco 默认只比较来自同一 AS 的 MED, 为了在来自不同 AS 的更新之间比较 MED, 可以加上命令 bgp always-compare-med 3. AS_PATH 属性 : BGP 更新必须携带的一个强制属性, 而且只有当 BGP 更新被送到 EBGP 邻居时它才会被改变, 它描述了一个路由传递过程中经过哪些 AS( 不算自己, 从离自己最近的 AS 开始, 以目的网段的 AS 结束 ), 为了避免 AS 环路, 如果从外部收到一条包含自己 AS 的路由, 就说明有了环路, 此时 BGP 将丢弃该路由 一般 AS_PATH 用来做策略路由, 如上图, 可以增长从 AS100 到 AS300 的 AS_PATH, 让路由走 AS200-AS NEXT_HOP 属性 : 该属性描述了到公布目的地址的路径的下一跳路由器的 IP 地址 A. 如果正在进行路由通告的路由器和接收的路由器在不同的 AS 中,Next_Hop 为正在宣告的路由器接口的 ip B. 如果正在宣告的路由器和接收的路由器在同一个 AS 内, 并且更新消息中 NLRI 目的地也在同一个 AS 中, 则 next_hop 为一宣告的路由的邻居的 ip

8 C. 如果正在宣告的路由器和接收的路由器是内部对等体, 并且更新消息的 NLRI 指向不同 AS, 则 Next_hop 为学习到路由的外部对等实体的 ip 5. Origin 属性 : BGP 更新分组的产生者生成 origin 属性, 并定义原始属性是如何被生成的 每个前缀都有一个 origin 属性 接受含有 origin 属性的更新分组的路由器应该向所有 BGP 邻居原样转发 origin 属性 IGP--- 从 AS 内部学到,ORIGIN 为 0 EGP---NLRI 从 EGP 学到,ORIGIN 为 1 Incomplete---NLRI 通过其他手段获得,ORIGIN 为 3 一般来说具有较低 ORIGIN 值的前缀被优先选取, IGP>BGP> 重分布例如通过重分布进入 BGP,ORIGIN 属性为 3, 通过 Network 命令注入其 ORIGIN 为 0 6. Weight 属性 :

9 它是 cisco 的专有属性, 所以自然高于一切其他 BGP 属性 ( 可想而知 ), 只在本地路由器有作用, 不向 邻居传递, 缺省情况下, 从对等体学到的所有路由器的 weight=0, 由本地路由器产生的等于 选路时, 选择 weight 最高的路径 7. Community 属性 : 使可以向一组源路由使用相同的策略, 即一个目的地作为一些目的地团体中的一个成员, 这些目的地共享一个或多个共同特性 它有 4 个字节 前面两个字节的 AS 号, 后面两个字节的管理上定义表示符, 而 Cisco 正好反过来, 用 ip bgpcommuity new-format 改过来当对团体路由进行聚合时, 聚合路由继承了所有路由的全部团体属性 NO_EXPORT 携带该属性的路由允许在邻居 AS 内公布但不允许邻居 AS 把路由公布其他 AS NONE 删除现存的团体属性 NO_ADVERTISE 指不在 IBGP 邻居间传递带有该属性的路由 DELETE 用于只删除匹配特定团体列表的属性 8.ORIGINATOR_ID 属性 : 由路由反射器 (RR) 使用, 它是有路由发起者产生的一个 32 比特的值, 该值是本地 AS 里路由发起者的 RID, 如果路由器发起者从该属性值中看到了自己的 RID, 就说明有环路, 该路由忽略 9.Cluster_LIST 属性 : 由路由反射器使用, 它是路由经过反射器簇 ID 的一个序号 如果路由反射器在该属性值中发现自己的本地簇 ID, 就说明有环路, 忽略掉 如果一个簇里不止一个 RR, 要在进程下用 bgp cluster-id 手工指定簇 ID, 因为默认 RR 将自己的 RID 当成 cluster-id 六.BGP 最优路径抉择顺序 : Consider only (synchronized) routes with no AS loops and a valid next hop, and then: 1. Prefer highest weight (local to router). 2. Prefer highest local preference (global within AS). 3. Prefer route originated by the local router (next hop = ). 4. Prefer shortest AS path. 5. Prefer lowest origin code (IGP < EGP < incomplete). 6. Prefer lowest MED (exchanged between autonomous systems). 7. Prefer EBGP path over IBGP path. 8. Prefer the path through the closest IGP neighbor. 9. Prefer oldest route for EBGP paths. 10. Prefer the path with the lowest neighbor BGP router ID.

10 11. Prefer the path with the lowest neighbor IP address. 七.BGP 同步同步指的是, 我要是想用 IBGP 学来的路由或是将它通告给其他邻居, 必须满足一个条件, 就是我已经通过 IGP 或者本地获得 以前的做法是将 BGP 路由重发布到自主系统内的 IGP, 这样就不用在中转 AS 内的每台路由器上运行 BGP, 但是现在由于 internet 的增大,IGP 已经无法处理 BGP 表中的路由, 所以现在的做法是, 在中转 AS 内的所有路由器上运行 IBGP, 这样的话, 就可以关闭同步 当一个中转 AS 内部的所有路由器都运行 IBGP 的时候, 会产生一个问题, 就是每一个路由器都要与其他所有路由器建立对等关系, 这样会使得网络十分复杂并且十分耗时, 于是变有了联盟和路由反射器, 他们可以减少路由器两两之间的连接数量, 做到不用物理上的全互连 ( 路由反射器, 我觉得就有点类似 OSPF 的 DR 概念 ) 当然, 也会碰到并不是所有路由器都互连且没有使用联盟和路由反射器的情况 ( 后面实验会介绍 ), 这时如果关闭同步, 就会产生路由黑洞的问题 所以当一个 AS 中 如果存在没有运行 BGP 的路由器, 而且它还处在 BGP 邻居的传输路径上, 同步就不能关闭, 此时 BGP 就必须在 IGP 中进行重发布 ( 或者可以起 Tunel, 跨过没有运行 BGP 的路由器 ) 八.BGP 表运行 BGP 的路由器有一个独立的表, 用于存储从其他路由器那里收到的信息, 并将这些信息发送给其他路由器 BGP 还保存了一个邻居表, 其中包含与之建立了 BGP 连接的邻居 要让 BGP 建立邻接关系, 必须显示地配置每个邻居 BGP 同每个指定的邻居连接 TCP 关系, 并通过定期地发送 BGP/TCP 存活消息来跟踪这些关系的状态 ( 默认 60 秒发一次 ) 建立了邻接关系后, 便开始交换 IP 路由选择表中的 BGP 信息, 每个路由器接收之后先放到 BGP 转发数据库中, 而不是直接加表, 然后再通过 BGP 路由选择进程从转发数据库中选出前往目的地的最优路径并提供给 IP 路由表 ( 选择过程见第六点 ) 路由器将提供的 BGP 路由同路由选择表中前往同一个网络的其他路径进行比较, 并根据管理距离确定它是否是最佳路由, 如果是, 则将其加入到 IP 路由选择表中 EBGP 的管理距离为 20,IBGP 为 200 九.BGP 的抖动 BGP 的路由抖动是 BGP 的一个 feature, 它是为了减少不稳定路由的公布, 每条路由都会被分配一个度量数字来反映稳定程度, 一但出现抖动, 就会被惩罚, 当超过惩罚临界值时, 此条路由被抑制, 一段时间不抖动, 惩罚值会自动降低, 当降到一个可以重新使用的临界点时, 才会被重新使用 缺省下 : 惩罚值 每次摆动 1000 抑制界限 2000 重新使用界限 750 半衰期 15 分钟最大抑制时间 60 分钟, 或者半衰期的 4 倍 BGP Route Dampening Terms: Flap A route whose availability alternates repeatedly History state After a route flaps once, it is assigned a penalty and put into history state, meaning the router does not have the best path, based on historical information.

11 Penalty Each time a route flaps, the router configured for route dampening in another autonomous system assigns the route a penalty of Penalties are cumulative. The penalty for the route is stored in the BGP routing table until the penalty exceeds the suppress limit. At that point, the route state changes from history to damp. Damp state In this state, the route has flapped so often that the router will not advertise this route to BGP neighbors Suppress limit A route is suppressed when its penalty exceeds this limit. The default value is 2000 Half-life Once the route has been assigned a penalty, the penalty is decreased by half after the half-life period (which is 15 minutes by default). The process of reducing the penalty happens every 5 seconds. Reuse limit As the penalty for a flapping route decreases and falls below this reuse limit, the route is unsuppressed. That is, the route is added back to the BGP table and once again used for forwarding. The default reuse limit is 750. The process of unsuppressing routes occurs at 10-second increments. Every 10 seconds, the router finds out which routes are now unsuppressed and advertises them to the world Maximum suppress limit This value is the maximum amount of time a route can be suppressed. The default value is four times the half-life. 十. RR 和 Confederations 在大型网络中, 要想 IBGP 全互连必然是一个庞大的任务, 也不可能, 也没必要, 有两种解决方法可以解决 1.Route reflectors 在大型的 AS 中, 全互连带来极大的工作量, 通过路由反射器 (RR) 可以建立一种 C/S 结构, 如一个含有 N 个路由器的 AS 内, 全互连将使用对等会话数目为 (N-2)N/2, 如果选取一个 RR, 则对等会话数目将降为 N-1 对一个 C/S 结构称其为一个 RR-Cluster RR 公布路由的规则 : 1, 如果路由是从非客户的 IBGP 对等学习到的, 只将它反射给客户 2, 如果路由是从客户处学习到的, 将它反射给除了发起该路由的客户外所有的客户以及非客户 3, 如果路由是从 EBGP 邻居学来的, 将它反射给所有的客户和非客户将一个路由器配置成路由反射器 (RR), 用 neigbhor route-reflect-client 把自己配成反射器, 由该命令所定

12 义的 IBGP 邻居路由器当成客户机, 这些客户机只与 RR 建立对等关系 RR 不能改动它从客户处收到的路由的属性 在一个 AS 内可以做 RR 冗余, 因为客户并不知道自己是客户, 所有一个 RR 可以是另一个路由反射器的客户 只需要 RR 支持路由反射, 客户不需要支持 RR 使用了 2 个 BGP 路径属性 : ORIGINATOR_ID: 由路由反射器 (RR) 使用, 它是有路由发起者产生的一个 32 比特的值, 该值是本地 AS 里路由发起者的 RID, 如果路由器发起者从该属性值中看到了自己的 RID, 就说明有环路, 该路由忽略 Cluster_LIST: 由路由反射器使用, 它是路由经过反射器簇 ID 的一个序号 如果路由反射器在该属性值中发现自己的本地簇 ID, 就说明有环路, 忽略掉 如果一个簇里不止一个 RR, 要在进程下用 bgp cluster-id 手工指定簇 ID, 因为默认 RR 将自己的 RID 当成 cluster-id 3. Confedarations 联盟 (confederations) 是一组分成子自治系统组的 AS, 如上图 1. 每一个联盟分配一个联盟 ID, 对于外端而言, 此联盟 ID 代表的是整个联盟的 AS 号. 联盟其实质是对自治系统的再次细分 2. AS_PATH 中加入了 AS_CONFED_SEQUENCE 和 AS_CONFED_SET 用法和 AS_SEQUENCE 及 AS_SET 完全相同, 3. 在联盟环境下, 所有路由器必须支持联盟 4. 用预留 AS(64512~65535) 作为联盟中的 AS 编号 5. 选路优先级 : 联盟的外部 EBGP>AS 成员的 EBGP>IBGP 6. 联盟相对于标准的 AS,Next_hops MED 可以不加修改的公布给联盟中的其他 AS 成员的 EBGP 对端, 而且可以发送 Local_Pref 属性 7. 大型系统中, 联盟和 RR 同时使用可以更好的控制 IBGP 对等关系 我想, 大概的理论就这些了吧, 再多的, 我也写不出来拉, 其他的内容, 以后再补充吧, 呵呵 blog 中, 有 房智勇 CCIE-BGP 学习笔记 的精华部分, 可以参阅 下面开始解释 IEWB 的实验, 所有的实验, 我都一一敲过, 由于自己的 PC 是个老古董,CPU 散热不好, 每次开到第 5 台路由器, 都要自动关机 能把敲完, 不容易 ^_^ 实验中, 碰到不会的知识点, 如果上面没有解释, 那么最好的方法当然是上 cisco 查文档

13 实验都较容易, 覆盖了 BGP 大部分的点 实验中需要注意的地方, 已用红色标出, 若有任何疑问, 联系我 实验一. BGP Update Source Mismatch Objective: Configure a BGP peering relationship between R1 and R3. R1 should peer with R3's Ethernet interface, while R3 should peer with R1'sSerial interface Directions Configure the IP addressing per the diagram Configure R1 and R3 in BGP AS 1 Configure R1 to peer with R3's interface Ethernet0/0 Configure R3 to peer with R1's interface Serial1/2 Ask Yourself What source IP address does a BGP speaker use for peering? How does this affect the establishment of a peering relationship? Can this address be modified? Is so, how? What are the advantages of modifying this address? Final Configuration R1: interface Ethernet0/0 ip address

14 interface Serial0/1 ip address clockrate router bgp 1 neighbor remote-as 1 R3: interface Ethernet0/0 ip address interface Serial1/2 ip address router bgp 1 neighbor remote-as 1 Verification R1#debug ip packet detail IP packet debugging is on (detailed) R1#debug ip bgp BGP debugging is on R3 sends R1 a TCP SYN to start a BGP session IP: s= (Serial1/2/1), d= (Serial1/2/1), len 44, rcvd 3 TCP src=11009, dst=179, seq= , ack=0, win=16384 SYN R1 rejects the connection with ACK RST, it has no peering to IP: tableid=0, s= (local), d= (Serial1/2/1), routed via RIB IP: s= (local), d= (Serial1/2/1), len 40, sending TCP src=179, dst=11009, seq=0, ack= , win=0 ACK RST R1 tries to start a BGP session with R3 BGP: went from Idle to Active BGP: open active, delay 6880ms BGP: open active, local address IP: tableid=0, s= (local), d= (Ethernet0/0), routed via RIB R3 rejects the connection with ACK RST, it has no peering to

15 IP: tableid=0, s= (Ethernet0/0), d= (Ethernet0/0), routed via RIB IP: s= (Ethernet0/0), d= (Ethernet0/0), len 40, rcvd 3 TCP src=179, dst=11020, seq=0, ack= , win=0 ACK RST BGP: open failed: Connection refused by remote host R3#debug ip packet detail IP packet debugging is on (detailed) R3#debug ip bgp BGP debugging is on R3 tries to start a BGP session with R1 BGP: went from Idle to Active BGP: open active, delay 8928ms BGP: open active, local address IP: tableid=0, s= (local), d= (Serial1/2), routed via RIB R1 rejects the connection with ACK RST, it has no peering to IP: tableid=0, s= (Serial1/2), d= (Serial1/2), routed via RIB IP: s= (Serial1/2), d= (Serial1/2), len 40, rcvd 3 TCP src=179, dst=11009, seq=0, ack= , win=0 ACK RST BGP: open failed: Connection refused by remote host 注释 : 在建立 BGP 对等关系的时候, 源 IP 地址默认是那个用于到达目的地的出接口 IP, 在此例中, 当 R1 准备发送一个 BGP 包给 R3 的时候, 使用的源 IP 是 , 而 R3 本地配置的 neighbor 指的是 这个地址, 所以当 R1 初始化一个 TCP 会话的时候, 被 R3 拒绝, 反过来也一样 解决方法 : 可以在 R1 上加上这么一条命令 neighbor update-source Serial0/1, 这样你就会看见我们最喜欢的 UP 了 实验二. ibgp Synchronization Objective: Configure BGP per the diagram to obtain connectivity from AS 1 to R4 and R5's loopback interfaces. R4 and R5 should have static default routes pointing towards R1 and R2 respectively. BGP synchronization should be enabled on R1 and R2

16 Directions Configure the IP addressing on R1, R2, R3, R4, and R5 per the diagram Configure OSPF area 0 on the Serial links between R1 and R3 & R2 and R3 Advertise VLAN A and VLAN B into OSPF on R1 and R2 respectively Configure static default routes on R4 and R5 pointing to R1 and R2 respectively Configure R1 and R2 in BGP AS 1 Configure R4 in BGP AS 4 Configure R5 in BGP AS 5 Configure an ibgp peering between R1 and R2 Configure an EBGP peering R1 and R4 Configure an EBGP peering between R2 and R5 Advertise R4's Loopback0 into BGP Advertise R5's Loopback0 into BGP Disable synchronization on R1 and R2, what happens? Redistribute R4 and R5's loopback interfaces into OSPF on R1 and R2 respectively, what happens? Ask Yourself What is BGP synchronization? What problem is it designed to prevent? How does meeting the synchronization rule prevent this problem? When can you safely disable synchronization? Why would you want to disable synchronization? Final Configuration R1: interface Ethernet0/0 ip address interface Serial0/1

17 ip address router ospf 1 network area 0 network area 0 router bgp 1 synchronization neighbor remote-as 4 neighbor remote-as 1 R2: interface Ethernet0/0 ip address interface Serial0/1 ip address router ospf 1 network area 0 network area 0 router bgp 1 synchronization neighbor remote-as 1 neighbor remote-as 5 R3: interface Serial1/2 ip address clock rate interface Serial1/3 ip address clock rate router ospf 1 network area 0 network area 0 R4: interface Loopback0 ip address interface Ethernet0/0 ip address

18 router bgp 4 network mask 宣告自己的环回 neighbor remote-as 1 ip route 用于回包的路由 R5: interface Loopback0 ip address interface Ethernet0/0 ip address router bgp 5 network mask 一样宣告环回 neighbor remote-as 1 ip route 用于回包的路由 Verification Synchronization On, Before Redistribution R1#show ip bgp BGP table version is 4, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / 可以直接优化, 因为是通过 EBGP 学到的 0 4 i * i / BGP 表中没优化, 因为 IGP 中没有关于 /32 的路由 0 5 i R1#show ip bgp BGP routing table entry for /32, version 4 Paths: (1 available, no best path) Flag: 0x820 Not advertised to any peer (metric 855) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, not synchronized---- 没有同步 R2#show ip bgp BGP table version is 4, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale

19 Origin codes: i - IGP, e - EGP,? - incomplete * i / i *> / i R2#show ip bgp BGP routing table entry for /32, version 4 Paths: (1 available, no best path) Not advertised to any peer (metric 855) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, not synchronized Synchronization Off, Before Redistribution R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router bgp 1 R1(config-router)#no synchronization 手动关闭同步,IOS12.2(8)T 之后已经是默认配置了 R1(config-router)#end R1#show ip bgp BGP table version is 5, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *>i / 关闭同步之后, 发现 /32 优化了 0 5 i R1#show ip bgp neighbors advertised-routes 显示向 R4 发送的 BGP 路由信息 BGP table version is 5, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *>i /

20 0 5 i R4#show ip route Routing entry for /32 Known via "bgp 4", distance 20, metric 0 (distance 20 表示从 EBGP 学到 ) Tag 1, type external Last update from :02:16 ago Routing Descriptor Blocks: * , from , 00:02:16 ago Route metric is 0, traffic share count is 1 AS Hops 2 这时,ping 一下看看, 会有什么现象 R4#debug ip icmp ICMP packet debugging is on R4#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: U.U.U 收到了不可达 Success rate is 0 percent (0/5) ICMP: dst ( ) host unreachable rcv from 从 R3 收到了不可达信息, 因为此时的 R3 并不知道如何到达 R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router bgp 1 R2(config-router)#no synchronization R2#show ip bgp BGP table version is 5, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? incomplete *>i / i *> / i R2#show ip bgp neighbors advertised-routes BGP table version is 5, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale

21 Origin codes: i - IGP, e - EGP,? - incomplete *>i / i R5#show ip route Routing entry for /32 Known via "bgp 5", distance 20, metric 0 Tag 1, type external Last update from :03:47 ago Routing Descriptor Blocks: * , from , 00:03:47 ago Route metric is 0, traffic share count is 1 AS Hops 2 R5#debug ip icmp ICMP packet debugging is on R5#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: U.U.U Success rate is 0 percent (0/5) ICMP: dst ( ) host unreachable rcv from Synchronization On, After Redistribution 再次开启同步, 并进行重发布 R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip prefix-list R4_LOOPBACK permit /32 匹配住 R4 的环回 R1(config)#route-map R4_LOOPBACK permit 10 R1(config-route-map)#match ip address prefix-list R4_LOOPBACK R1(config-route-map)#router ospf 1 R1(config-router)#redistribute bgp 1 subnets route-map R4_LOOPBACK OSPF 进程下, 将 R4 的环回重发布进来 R1(config-router)#router bgp 1 R1(config-router)#synchronization R1(config-router)#end R1# R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip prefix-list R5_LOOPBACK permit /32 R2(config)#route-map R5_LOOPBACK permit 10

22 R2(config-route-map)#match ip address prefix-list R5_LOOPBACK R2(config-route-map)#router ospf 1 R2(config-router)#redistribute bgp 1 subnets route-map R5_LOOPBACK R2(config-router)#router bgp 1 R2(config-router)#synchronization R2(config-router)#end R2# R1#show ip route Routing entry for /32 Known via "ospf 1", distance 110, metric 1 ( 红色字体表明,R1 已经通过 OSPF 学到 R5 的环回 ) Tag 5, type extern 2, forward metric 855 Last update from on Serial0/1, 00:01:43 ago Routing Descriptor Blocks: * , from , 00:01:43 ago, via Serial0/1 Route metric is 1, traffic share count is 1 R1#show ip bgp BGP table version is 8, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i r>i / i (R1 已经将 /32 优化了, 但是发现前面有个一 r, 这是因为 /32 通过 OSPF 学到的管理距离是 110, 比从 R2 学到的 IBGP 管理距离 200 小, 所以显示为 r, 通过 sh ip bgp rib 可以查看原因, 将会看到 high ad ) R1#show ip bgp BGP routing table entry for /32, version 8 Paths: (1 available, best #1, table Default-IP-Routing- Table, RIB-failure(17)) Advertised to non peer-group peers: (metric 855) from ( ) Origin IGP, metric 0, localpref 100, valid, internal,

23 synchronized, best R4#show ip route Routing entry for /32 Known via "bgp 4", distance 20, metric 0 Tag 1, type external Last update from :00:57 ago Routing Descriptor Blocks: * , from , 00:00:57 ago Route metric is 0, traffic share count is 1 AS Hops 2 R4#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 60/61/69 ms R2#show ip route Routing entry for /32 Known via "ospf 1", distance 110, metric 1 Tag 4, type extern 2, forward metric 855 Last update from on Serial0/1, 00:03:23 ago Routing Descriptor Blocks: * , from , 00:03:23 ago, via Serial0/1 Route metric is 1, traffic share count is 1 R2#show ip bgp BGP table version is 7, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete r>i / i *> / i R2#show ip bgp BGP routing table entry for /32, version 7 Paths: (1 available, best #1, table Default-IP-Routing- Table, RIB-failure(17)) Advertised to non peer-group peers: 自己优化了之后, 才会传给 R5

24 (metric 855) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, synchronized, best R5#show ip route Routing entry for /32 Known via "bgp 5", distance 20, metric 0 Tag 1, type external Last update from :12:21 ago Routing Descriptor Blocks: * , from , 00:12:21 ago Route metric is 0, traffic share count is 1 AS Hops 2 R5#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 60/61/68 ms 注释 : 当一个 AS 内部, 如果有路由器没有 BGP 的话, 重发布是一种方法, 但显然如今的网络, 这种方法已经行不通, 下面这个实验, 我个人至少要比重发布好 实验三. Transiting Non-BGP Speaking Devices Tunneling Objective: Configure the network so that hosts on VLAN 5 can reach hosts on VLAN 43. R3 will not participate in BGP routing. Configure a GRE tunnel between R1 and R2 to accomplish this

25 Directions Configure the topology per the diagram Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3 Configure a tunnel between R1 and R2 using the subnet 155.X.12.0/24 Configure BGP on R1, R2, R4, and R5 per the diagram R1 and R2 should peer with each other over the tunnel interface R1 should peer with R4 R2 should peer with R5 Advertise VLAN 5 into BGP on R5 Advertise VLAN 43 into BGP on R4 Final Configuration R1: interface Tunnel0 起 tunnel 口 (tunnel 就是一个隧道 ) ip address 给 tunnel 口一个 IP tunnel source 配置 tunnel 口的源 IP tunnel destination 配置 tunnel 口的目的 IP interface FastEthernet0/0 ip address interface Serial0/1 ip address router eigrp 2 network no auto-summary router bgp 2 neighbor remote-as 2 直接在 tunnel 上指邻居 neighbor next-hop-self 这个不用多说了吧? neighbor remote-as 3 R2: interface Tunnel0 ip address tunnel source tunnel destination interface FastEthernet0/0 ip address interface Serial0/0 encapsulation frame-relay interface Serial0/0.1 point-to-point

26 ip address frame-relay interface-dlci 205 interface Serial0/1 ip address router eigrp 2 network no auto-summary router bgp 2 neighbor remote-as 1 neighbor remote-as 2 neighbor next-hop-self R3: interface Serial1/2 ip address clockrate interface Serial1/3 ip address clockrate router eigrp 2 network network no auto-summary R4: interface Ethernet0/0 ip address interface Ethernet0/1 ip address router bgp 3 network mask neighbor remote-as 2 R5: interface Serial0/0 ip address encapsulation frame-relay frame-relay map ip broadcast interface Ethernet0/1

27 ip address router bgp 1 network mask neighbor remote-as 2 Verification R4#ping source Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Packet sent with a source address of Success rate is 100 percent (5/5), round-trip min/avg/max = 88/88/92 ms R4#traceroute source Type escape sequence to abort. Tracing the route to msec 4 msec 4 msec msec 40 msec 44 msec 直接跨过了 R3, 通过隧道 tunnel 传给了 R msec * 56 msec R1#show ip bgp <output omitted> *>i / i *> i R2#show ip bgp <output omitted> *> / i *>i i R4#show ip bgp <output omitted> *> / i *>

28 32768 i R5#show ip bgp <output omitted> *> / i *> i R1#show ip route <output omitted> B /24 [20/0] via , 00:05: /24 is subnetted, 4 subnets C is directly connected, FastEthernet0/0 D [90/ ] via , 00:45:07, Serial0/1 C is directly connected, Serial0/1 D EX [170/ ] via , 00:16:11, Serial0/1 R2#show ip route <output omitted> D EX /24 [170/ ] via , 00:04:57, Serial0/ /24 is subnetted, 4 subnets C is directly connected, Serial0/1 D [90/ ] via , 00:45:11, Serial0/1 C is directly connected, Serial0/0.1 B [20/0] via , 00:20:59 R3#show ip route <output omitted> D EX /24 [170/ ] via , 00:05:09, Serial1/ /24 is subnetted, 3 subnets C is directly connected, Serial1/3 C is directly connected, Serial1/2 D EX [170/ ] via , 00:16:35, Serial1/3 R4#show ip route <output omitted> C /24 is directly connected, Ethernet0/ /24 is subnetted, 2 subnets

29 C is directly connected, Ethernet0/1 B [20/0] via , 00:03:34 R5#show ip route <output omitted> B /24 [20/0] via , 00:04: /24 is subnetted, 2 subnets C is directly connected, Serial0/0 C is directly connected, Ethernet0/1 注释 : 好象也没什么注释的, 都能看懂 实验四. BGP Bestpath Selection Weight Objective: Configure the BGP Weight attribute on R3 so that traffic from R3 s Ethernet segment going to VLAN 5 is first sent to R1 Directions Configure the topology per the diagram Configure BGP on R1, R3, R4, and R5 per the diagram R1 should peer with R3 and R4 R5 should peer with R3 and R5 Advertise R3 s Ethernet segment into BGP Advertise R5 s Ethernet segment into BGP Configure BGP weight on R3 so that routes coming from R1 are preferred over those coming from R5 Final Configuration R1: interface FastEthernet0/0 ip address interface Serial0/1

30 ip address router bgp 2 neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 1 R3: interface Serial1/2 ip address clockrate router bgp 2 network mask neighbor remote-as 1 neighbor remote-as 2 neighbor next-hop-self neighbor route-map WEIGHT in route-map 用来做策略, 默认从对等体学来的路由的 weight 为 0, 此时将 R1 的 weight 改为 100, 当然会优选 R1 route-map WEIGHT permit 10 set weight 100 R4: interface Ethernet0/1 ip address half-duplex interface Serial0/1 ip address router bgp 1 neighbor remote-as 1 neighbor next-hop-self neighbor remote-as 2 R5: interface Serial0/0 ip address encapsulation frame-relay frame-relay map ip broadcast no frame-relay inverse-arp interface Ethernet0/1 ip address interface Serial0/1

31 ip address clockrate router bgp 1 network mask neighbor remote-as 2 neighbor remote-as 1 neighbor next-hop-self Verification Rack1R3#traceroute source Type escape sequence to abort. Tracing the route to msec 16 msec 16 msec 走 R msec 16 msec 16 msec msec * 28 msec Rack1R3#show ip bgp BGP routing table entry for /24, version 6 Paths: (2 available, best #1, table Default-IP-Routing- Table) Flag: 0x800 Advertised to update-groups: from ( ) Origin IGP, metric 0, localpref 100, weight 100, valid, internal, best from ( ) Origin IGP, metric 0, localpref 100, valid, external Rack1R1#show ip bgp <output omitted> *> / i *>i / i Rack1R3#show ip bgp *>i / i *

32 0 1 i *> / i Rack1R4#show ip bgp <output omitted> *>i / i *> / i * i i Rack1R5#show ip bgp <output omitted> *> / i * i / i *> i Rack1R1#show ip route <output omitted> /24 is subnetted, 4 subnets C is directly connected, FastEthernet0/0 C is directly connected, Serial0/1 B [20/0] via , 00:02:39 B [200/0] via , 00:02:39 Rack1R3#show ip route <output omitted> /24 is subnetted, 4 subnets C is directly connected, Serial1/2 C is directly connected, Serial1/0.1 B [200/0] via , 00:02:16 C is directly connected, Ethernet0/0 Rack1R4#show ip route <output omitted> /24 is subnetted, 4 subnets C is directly connected, Ethernet0/1 B [200/0] via , 00:09:03 C is directly connected, Serial0/1 B [20/0] via , 00:08:44

33 Rack1R5#show ip route <output omitted> /24 is subnetted, 4 subnets C is directly connected, Serial0/0 C is directly connected, Ethernet0/1 C is directly connected, Serial0/1 B [20/0] via , 00:04:47 为了减少篇幅, 以下一些实验, 会只写关键配置, 基础配置同前面一样 实验五. BGP Bestpath Selection Local Preference Objective: Configure the BGP Local Preference attribute in AS 2 so that traffic from R3 s Ethernet segment going to VLAN 5 is first sent to R1 Directions Configure the topology per the diagram Configure BGP on R1, R3, R4, and R5 per the diagram R1 should peer with R3 and R4 R5 should peer with R3 and R5 Advertise R3 s Ethernet segment into BGP Advertise R5 s Ethernet segment into BGP Configure BGP Local Preference on R3 so that routes coming from R1 are preferred over those coming from R5 R3: router bgp 2 network mask neighbor remote-as 1 neighbor remote-as 2 neighbor next-hop-self neighbor route-map LOCAL_PREFERENCE in route-map LOCAL_PREFERENCE permit 10 set local-preference 200 默认为 100

34 Verification Rack1R3#traceroute source Type escape sequence to abort. Tracing the route to msec 16 msec 16 msec msec 16 msec 16 msec msec * 28 msec Rack1R3#show ip bgp BGP routing table entry for /24, version 5 Paths: (2 available, best #1, table Default-IP-Routing- Table) Advertised to update-groups: from ( ) Origin IGP, metric 0, localpref 200, valid, internal, best from ( ) Origin IGP, metric 0, localpref 100, valid, external Rack1R3#show ip bgp <output omitted> *>i / i * i *> / i 实验六. BGP Bestpath Selection MED Objective: Configure the BGP MED in AS 1 so that traffic from R3 s Ethernet segment going to VLAN 5 is first sent to R1

35 Directions Configure the topology per the diagram Configure BGP on R1, R3, R4, and R5 per the diagram R1 should peer with R3 and R4 R5 should peer with R3 and R5 Advertise R3 s Ethernet segment into BGP Advertise R5 s Ethernet segment into BGP Configure BGP MED outbound on R4 and R5 towards AS 2 当路由器收到两个来自同一 AS 的具有不同 MED 值的相同路由条目时, 在高优先级属性值相等的情况下它将选择 MED 值小的路由作为最优路径 只需在 R4 和 R5 上配置 : R4: interface Ethernet0/1 ip address half-duplex interface Serial0/1 ip address router bgp 1 neighbor remote-as 1 neighbor next-hop-self neighbor remote-as 2 neighbor route-map MED out route-map MED permit 10 set metric 100 R5: interface Serial0/0 ip address encapsulation frame-relay frame-relay map ip broadcast no frame-relay inverse-arp interface Ethernet0/1 ip address interface Serial0/1 ip address clockrate router bgp 1 network mask neighbor remote-as 2

36 neighbor route-map MED out neighbor remote-as 1 neighbor next-hop-self route-map MED permit 10 set metric 200 Verification Rack1R3#traceroute source Type escape sequence to abort. Tracing the route to msec 16 msec 16 msec 走 R msec 16 msec 16 msec msec * 28 msec Rack1R3#show ip bgp BGP routing table entry for /24, version 8 Paths: (2 available, best #1, table Default-IP-Routing- Table) Flag: 0x800 Advertised to update-groups: from ( ) Origin IGP, metric 100, localpref 100, valid,internal, best from ( ) Origin IGP, metric 200, localpref 100, valid, external Rack1R3#show ip bgp <output omitted> *>i / i * i *> / i Rack1R3#show ip route <output omitted> /24 is subnetted, 4 subnets C is directly connected, Serial1/2 C is directly connected, Serial1/0.1 B [200/100] via , 00:05:53 C is directly connected, Ethernet0/0

37 实验七. BGP Bestpath Selection Origin Objective: Modify the BGP Origin code in AS 2 so that traffic from R3 s Ethernet segment going to VLAN 5 is first sent to R1 Directions Configure the topology per the diagram Configure BGP on R1, R3, R4, and R5 per the diagram R1 should peer with R3 and R4 R5 should peer with R3 and R5 Advertise R3 s Ethernet segment into BGP Advertise R5 s Ethernet segment into BGP Configure R3 so that the Origin of the route learned from R1 is preferred over the one learned from R5 IGP--- 从 AS 内部学到,ORIGIN 为 0 EGP---NLRI 从 EGP 学到,ORIGIN 为 1 Incomplete---NLRI 通过其他手段获得,ORIGIN 为 3 具有较低 ORIGIN 值的前缀被优先选取, IGP>BGP> 重分布 R3: interface Serial1/2 ip address clockrate router bgp 2 network mask neighbor remote-as 1 neighbor route-map ORIGIN in neighbor remote-as 2 neighbor next-hop-self route-map ORIGIN permit 10 set origin incomplete * 注释 *: 这个要说一下,R5 发送来的 BGP 分组, 也就是关于 VLAN5 的信息, 会包含一个 origin 属性,R5

38 会向 R3 转发, 也会向 R4 转发,R4 收到之后, 依然会向 R1 转发, 其中依然包含这个 origin 属性, 这时改变从 R5 学来的路由的 origin 为 incomplete, 也就意味着会优先选择从 R1 去 R5 的 vlan5 Verification Rack1R3#traceroute source Type escape sequence to abort. Tracing the route to msec 16 msec 16 msec 走 R msec 16 msec 16 msec msec * 28 msec Rack1R3#show ip bgp BGP routing table entry for /24, version 9 Paths: (2 available, best #1, table Default-IP-Routing- Table) Advertised to update-groups: from ( ) Origin IGP, metric 0, localpref 100, valid, internal,best from ( ) Origin incomplete, metric 0, localpref 100, valid,external Rack1R3#show ip bgp <output omitted> Origin codes: i - IGP, e - EGP,? incomplete *>i / i * ? *> / ( 本地 ) i Rack1R3#show ip route <output omitted> /24 is subnetted, 4 subnets C is directly connected, Serial1/2 C is directly connected, Serial1/0.1 B [200/0] via , 00:05:53 C is directly connected, Ethernet0/0 介绍几个常用的 BGP community 属性 : 实验八. BGP Communites No-Export Objective: Configure AS 2 using the community No-Export so that hosts on R3 s Ethernet have access to VLANs 5 and 43 but AS 1 and AS 3 cannot reach VLANs 43 and 5 respectively

39 Directions Configure the topology per the diagram Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3 Configure BGP on R1, R2, R3, R4, and R5 per the diagram R1 should peer with R4 R2 should peer with R5 R1, R2, and R3 should all peer with each other Advertise R3 s Ethernet into BGP on R3 Advertise VLAN 5 into BGP on R5 Advertise VLAN 43 into BGP on R4 Configure the community No-Export on R1 and R2 so that routes coming from AS 1 are not passed to AS 3 and vice-versa R1: router bgp 2 neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 2 neighbor next-hop-self neighbor send-community 默认情况下, 并不把 BGP 的 community 属性广播给对等体, 所以需要使用 neighbor send-community 命令启动这项功能, 即发送 BGP 的 community 属性给它的对等体 ( 如果配置的是 no-advertise 属性, 则不需要这条命令 ) neighbor remote-as 3 neighbor route-map NO_EXPORT in route-map NO_EXPORT permit 10 set community no-export R2: router bgp 2 neighbor remote-as 1 neighbor route-map NO_EXPORT in neighbor remote-as 2

40 neighbor next-hop-self neighbor send-community neighbor remote-as 2 neighbor next-hop-self route-map NO_EXPORT permit 10 set community no-export 当 R1 和 R2 收到带有 no-export 属性的路由时, 允许在邻居 AS 内公布但不允许邻居 AS 把路由公布其他 AS, 即 R2 不会将 VLAN43 的路由转发给 R5,R1 不会将 VLAN5 的路由转发给 R4, 我们需要达到的效果是, 只有 R3 的以太口可以 ping 通 VLAN43 和 VLAN5, 而 VLAN43 和 VLAN5 不能互通 Verification Rack1R3#ping source Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Packet sent with a source address of Success rate is 100 percent (5/5), round-trip min/avg/max = 84/86/88 ms Rack1R3#ping source Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Packet sent with a source address of Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms Rack1R4#show ip bgp BGP table version is 3, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *> i *R4 学不到 R5 的 VLAN5

41 Rack1R5#show ip bgp BGP table version is 3, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *> / i *R5 学不到 R4 的 VLAN43 Rack1R1#show ip bgp BGP routing table entry for /24, version 3 Paths: (1 available, best #1, table Default-IP-Routing- Table, not advertised to EBGP peer) Not advertised to any peer (metric ) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, best Community: no-export Rack1R2#show ip bgp BGP routing table entry for /24, version 2 Paths: (1 available, best #1, table Default-IP-Routing- Table, not advertised to EBGP peer) Not advertised to any peer (metric ) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, best Community: no-export 实验九. BGP Communites No-Advertise Objective: Configure R2 using the community No-Advertise so that hosts on R3 s Ethernet, VLAN 5, and VLAN 43 all have access to each other but only R2 has access to VLAN 58

42 Directions Configure the topology per the diagram Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3 Configure BGP on R1, R2, R3, R4, and R5 per the diagram R1 should peer with R4 R2 should peer with R5 R1, R2, and R3 should all peer with each other Advertise R3 s Ethernet into BGP on R3 Advertise VLANs 5 and 58 into BGP on R5 Advertise VLAN 43 into BGP on R4 Configure the community No-Advertise on R2 so that VLAN 58 is not advertised to any neighbor R2: router bgp 2 neighbor remote-as 1 neighbor route-map NO_ADVERTISE in 不需要 neighbor send-community neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 2 neighbor next-hop-self ip prefix-list VLAN58 permit /24 匹配住 R5 的 VLAN58, 目的是只有 R2 可以到达 R5 的 VLAN58 route-map NO_ADVERTISE permit 10 match ip address prefix-list VLAN58 set community no-advertise 设置 community 属性 route-map NO_ADVERTISE permit 20

43 Verification Rack1R2#show ip bgp BGP routing table entry for /24, version 4 Paths: (1 available, best #1, table Default-IP-Routing- Table, not advertised to any peer) Not advertised to any peer from ( ) Origin IGP, metric 0, localpref 100, valid, external, best Community: no-advertise Rack1R2#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms * 其他路由器全 ping 不通 Rack1R2#show ip bgp BGP table version is 5, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *>i / i *> / i *>i i * 其他路由器没有关于 /24 的路由 * 还有一个 community 属性, 叫做 local-as, 介绍完 confederation 之后再介绍 为了避免 IBGP 全互连, 我们可以通过 RR 和 confedaration 来管理 实验十. BGP Route Reflection Objective: Configure R3 as a route reflector for R1 and R2 so that hosts on R3 s Ethernet, VLAN 5, and VLAN 43 all have access to each other

44 Directions Configure the topology per the diagram Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3 Configure BGP on R1, R2, R3, R4, and R5 per the diagram R1 should peer with R4 R2 should peer with R5 R3 should peer with and be a route reflector for R1 and R2 Advertise R3 s Ethernet into BGP on R3 Advertise VLAN 5 into BGP on R5 Advertise VLAN 43 into BGP on R4 配置 R3 为路由反射器 : R3: router bgp 2 network mask neighbor remote-as 2 neighbor route-reflector-client neighbor remote-as 2 neighbor route-reflector-client 注释 : 一个路由反射器由一个或多个路由器担当, 可以使用一个或多个路由器作为路由反射器, 并把其他路由器作为这个路由反射器的客户 路由反射器把从一个路由反射器客户得到的路由反射给另一个客户 当使用多个路由反射器时, 必须给同一个集群中的路由反射器配置相同的 ID, 叫做集群 ID 集群由路由反射器和他们的客户组成 当使用集群路由反射器时, 把包含在集群列表中的集群 ID 用于本地 AS 的循环检测 配置命令 :bgp cluster-id 32-bit_id 实验十一. BGP Confederation Objective: Configure R1, R2, and R3 in confederation so that AS 1 and AS 3 see them as all belonging to AS 2

45 Directions Configure the topology per the diagram Configure BGP on R1, R2, R3, R4, and R5 per the diagram R1 and R3 should use the private AS and the public AS 2 R2 should use the private AS and the public AS 2 R1 should peer with R3 and R4 R2 should peer with R3 and R5 Advertise R3 s Ethernet into BGP on R3 Advertise VLAN 5 into BGP on R5 Advertise VLAN 43 into BGP on R4 R1: interface FastEthernet0/0 ip address interface Serial0/1 ip address router eigrp 2 network no auto-summary router bgp 配置子 AS 号码 (64512~65535) bgp confederation identifier 2 表明, 我对于 EBGP 邻居来说, 我还是 AS2 neighbor remote-as neighbor next-hop-self neighbor remote-as 3 R2: interface FastEthernet0/0 ip address

46 interface Serial0/0 encapsulation frame-relay interface Serial0/0.1 point-to-point ip address frame-relay interface-dlci 205 interface Serial0/1 ip address router eigrp 2 network no auto-summary router bgp bgp confederation identifier 2 bgp confederation peers 不同的子 AS 中, 也相当与 EBGP 的关系, 这里要配置子 AS 的对等关系 neighbor remote-as 1 neighbor remote-as R3: interface Ethernet0/0 ip address interface Serial1/2 ip address clockrate interface Serial1/3 ip address clockrate router eigrp 2 network network no auto-summary router bgp bgp confederation identifier 2 bgp confederation peers network mask neighbor remote-as neighbor next-hop-self

47 neighbor remote-as R4: interface Ethernet0/0 ip address interface Ethernet0/1 ip address router bgp 3 network neighbor remote-as 2 这里 neighbor 不指子 AS 号, 注意 R5: interface Serial0/0 ip address encapsulation frame-relay frame-relay map ip broadcast interface Ethernet0/0 ip address interface Ethernet0/1 ip address router bgp 1 network mask neighbor remote-as 2 Verification Rack1R1#show ip bgp BGP table version is 4, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *>i / (65002) 1 i *>i / i *> i Rack1R2#show ip bgp BGP table version is 4, local router ID is

48 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *> / (65013) i *> (65013) 3 i Rack1R3#show ip bgp BGP table version is 4, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / (65002) 1 i *> / i *>i i Rack1R4#show ip bgp BGP table version is 14, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *> / i *> i 实验十二. BGP Communities Local AS Objective: Configure the community Local-AS on R1 so that only R3 s Ethernet segment has reachability to VLAN 43

49 Directions Configure the topology per the diagram Configure BGP on R1, R2, R3, R4, and R5 per the diagram R1 and R3 should use the private AS and the public AS 2 R2 should use the private AS and the public AS 2 R1 should peer with R3 and R4 R2 should peer with R3 and R5 Advertise R3 s Ethernet into BGP on R3 Advertise VLAN 5 into BGP on R5 Advertise VLAN 43 into BGP on R4 Configure R1 to set VLAN 43 to the community Local-AS as it is received from R4 Final Configuration R1: router bgp bgp confederation identifier 2 neighbor remote-as neighbor next-hop-self neighbor send-community neighbor remote-as 3 neighbor route-map LOCAL_AS in route-map LOCAL_AS permit 10 set community local-as 携带该属性的路由, 只在子 AS 内传递, 所以 R3 收到之后不会传递给 R2 Verification Rack1R1#show ip bgp BGP routing table entry for /24, version 5 Paths: (1 available, best #1, table Default-IP-Routing- Table, not advertised outside local AS) Advertised to non peer-group peers:

50 from ( ) Origin IGP, metric 0, localpref 100, valid, external, best Community: local-as Rack1R3#show ip bgp BGP routing table entry for /24, version 5 Paths: (1 available, best #1, table Default-IP-Routing- Table, not advertised outside local AS) Not advertised to any peer from ( ) Origin IGP, metric 0, localpref 100, valid, confedinternal, best Community: local-as 通过 sh ip bgp, 发现只有 R1 和 R3 学到了 /24 的路由,R2 和 R5 并没有学到 原因是携带了 local-as 属性的路由在 R3 处被停止 实验十三. BGP Regular Expressions Objective: Configure AS-Path access-list filtering on R1 and R2 in such a way that hosts on R3 s Ethernet have access to VLAN 5 and VLAN 43 but hosts on VLANs 5 and 43 do not have access to each other Directions Configure the topology per the diagram Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3 Configure BGP on R1, R2, R3, R4, and R5 per the diagram R1 should peer with R4 R2 should peer with R5

51 R1, R2, and R3 should all peer with each other Advertise R3 s Ethernet into BGP on R3 Advertise VLAN 5 into BGP on R5 Advertise VLAN 43 into BGP on R4 Configure an AS-Path access-list on R1 and R2 to only advertise routes originated in AS 2 out to AS 1 and AS 3 实验目的 : 通过在 R1 和 R2 上配置路径过滤列表, 使得只有 AS2 的路由器可以 ping 通 VLAN43 和 VLAN5, 而 R4 和 R5 分别 ping 不通 VLAN5 和 VLAN43 Final Configuration R1: router bgp 2 neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 3 neighbor filter-list 1 out ip as-path access-list 1 permit ^$ R2: router bgp 2 neighbor remote-as 1 neighbor filter-list 1 out neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 2 neighbor next-hop-self ip as-path access-list 1 permit ^$ Verification 表明 AS2 内部的 R3 可以 ping 通 VLAN43 和 VLAN5: Rack1R3#ping source Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Packet sent with a source address of Success rate is 100 percent (5/5), round-trip min/avg/max = 84/86/88 ms Rack1R3#ping source Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:

52 Packet sent with a source address of 而 R4 和 R5 却 ping 不通对方的地址 : Rack1R4#ping source Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: Packet sent with a source address of Success rate is 0 percent (0/5) R1 并没有向 R4 通告 VLAN5: Rack1R1#show ip bgp neighbors advertised-routes BGP table version is 4, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *>i / i R2 也没有向 R5 通告 VLAN43: Rack1R2#show ip bgp neighbors advertised-routes BGP table version is 4, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *>i / i R4 只学到 R3 的以太口地址, 本该收到的 VLAN5 被路径过滤掉了 : Rack1R4#show ip bgp BGP table version is 17, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *>

53 32768 i 同样 R5 的结果一样 : Rack1R5#show ip bgp BGP table version is 11, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *> / i AS-PATH 过滤采用正则表达式, 正则表达式解释如下 : 元字符特殊字符匹配内容. 任何单一字符, 包括空格 [] 在方括号中罗列的任何字符 [^] 除了在方括号中所罗列字符外的任何字符 (^ 必须放在字符列表之前 ) - ( 连字符 ) 在由连字符所分配的两个字符之间的任意字符? 字符或模式出现 0 次或 1 次 * 字符或模式出现 0 次或多次 + 字符或模式出现 1 次或多次 ^ 一行的开始 $ 一行的结束 由元字符特殊字符分隔的字之一 _ ( 下划线 ) 一个逗号, 行的开始, 行的结束或空格 实验十四. BGP Aggregation Objective: Configure AS 2 so that AS 1 sees an aggregate route representing the /16, /16, /16, and /16 networks

54 Directions Configure the topology per the diagram Configure BGP on R1, R3, R4, and R5 per the diagram R1 should peer with R3 and R4 R5 should peer with R3 and R4 Advertise VLAN 5 and 43 into BGP on R5 and R4 respectively Create the Loopback networks /16 and /16 on R1 and advertise them into BGP Create the Loopback networks /16 and /16 on R3 and advertise them into BGP Configure BGP aggregation on R1 for all four of these networks Final Configuration R1: interface Loopback0 ip address interface Loopback1 ip address interface FastEthernet0/0 ip address interface Serial0/1 ip address router bgp 2 network mask network mask aggregate-address neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 1 R3: interface Loopback0 ip address interface Loopback1 ip address interface Serial1/0 encapsulation frame-relay interface Serial1/0.1 point-to-point ip address frame-relay interface-dlci 305

55 interface Serial1/2 ip address clockrate router bgp 2 network mask network mask neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 1 Verification Rack1R1#show ip bgp BGP table version is 8, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i *> / ( 汇总了路由,R3 上也一样结果 ) i *> / i *>i / i *>i / i * i / i *> i * i i *> i Rack1R5#show ip bgp BGP table version is 13, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete

56 *> / i * i i *> / (R5 上不仅收到了汇总路由, 还收到了明细路由,R4 也一样 ) 0 2 i * i i *> / i * i i *> / i * i i *> / i * i i *> / i *>i i 注释 : 只有在 BGP 表中, 存在一条明细路由的时候,aggregate-address 才起作用, 还可以在此命令后加上 as-set, 保留 AS 路径信息 另外, 可以在该条命令后面加上 summary-only, 用来抑制明细路由的传递,EBGP 邻居只能收到汇总路由 若加上 advertise-map 则可以决定在这个聚合路由中保留哪个 AS 路径信息 实验十五. BGP Aggregation Suppress Map Objective: Configure AS 2 so that AS 1 sees an aggregate route representing /16, /16, /16, and /16 networks along with the subnets /16 and /16

57 Directions Configure the topology per the diagram Configure BGP on R1, R3, R4, and R5 per the diagram R1 should peer with R3 and R4 R5 should peer with R3 and R4 Advertise VLAN 5 and 43 into BGP on R5 and R4 respectively Create the Loopback networks /16 and /16 on R1 and advertise them into BGP Create the Loopback networks /16 and /16 on R3 and advertise them into BGP Configure BGP aggregation on R1 and R3 for all four of these networks R1 should suppress only the /16 network R3 should suppress only the /16 network Final Configuration R1: router bgp 2 network mask network mask aggregate-address suppress-map SUPPRESS neighbor remote-as 2 neighbor next-hop-self neighbor remote-as 1 ip prefix-list seq 5 permit /16 定义想要抑制的明细路由 route-map SUPPRESS permit 10 match ip address prefix-list R3: router bgp 2 network mask network mask aggregate-address suppress-map SUPPRESS neighbor remote-as 2

58 neighbor next-hop-self neighbor remote-as 1 ip prefix-list seq 5 permit /16 定义想要抑制的明确路由 route-map SUPPRESS permit 10 match ip address prefix-list Verification Rack1R1#show ip bgp BGP table version is 9, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *> / i * i / i *> i s> / /16 被抑制 i *>i / i * i / i *> i * i i *> i Rack1R3#show ip bgp BGP table version is 9, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP,? - incomplete *>i / i

59 *> / i * i i s> / /16 被抑制 i *> / i * i / i *> i * i i *> i Rack1R4#show ip route bgp /24 is subnetted, 3 subnets B [200/0] via , 01:01: /8 is variably subnetted, 3 subnets, 2 masks B /16 [20/0] via , 00:03:51 B /16 [20/0] via , 00:05:04 B /14 [20/0] via , 00:05:04 Rack1R5#show ip route bgp B /24 [200/0] via , 01:01: /8 is variably subnetted, 3 subnets, 2 masks B /16 [20/0] via , 00:03:57 B /16 [20/0] via , 00:03:57 B /14 [20/0] via , 00:03:57 Sh ip rou bgp 已经看不见被抑制的那两条路由了 注释 :aggregate-address suppress-map 命令, 是用来抑制形成汇总路由的某个明细路由, 而与之相对的还有一条命令,unsuppress-map, 但是这条命令的用法有点不一样,upsuppress-map 需要敲在 neighbor 后面, 并且需要 aggregate-address summary-only 实验十六. BGP Allow AS In Objective: Configure R5 to advertise the aggregate 150.X.0.0/21 without any specific subnet information. Devices receiving the aggregate should know that it is comprised of prefixes that passed through ASs 1, 2, 3, and 5. Ensure that R1, R2, and R3 are able to install this aggregate in their BGP tables

60 Directions Configure the topology per the diagram Configure BGP on R1, R2, R3, and R5 per the diagram R5 should peer with R1, R2, and R3 Create the Loopback 150.X.1.1/24 on R1 and advertise it into BGP Create the Loopback 150.X.2.2/24 on R2 and advertise it into BGP Create the Loopback 150.X.3.3/24 on R3 and advertise it into BGP Create the Loopback 150.X.5.5/24 on R5 and advertise it into BGP Configure the BGP aggregate 150.X.0.0/21 on R5 Include the originating AS-Path information with this aggregate Configure R1, R2, and R3 to accept prefixes with their own AS in the path in order to receive the aggregate Final Configuration R1: interface Loopback0 ip address interface Serial0/0 encapsulation frame-relay interface Serial0/0.1 point-to-point ip address frame-relay interface-dlci 105 router bgp 1 network mask neighbor remote-as 5 neighbor allowas-in 1 R2:

目录 简介... 3 BGP 重发布进 OSPF 环境拓扑图... 3 BGP 重发布进 OSPF 路由过滤... 4 FGT200B 关键配置... 4 接口 IP 配置... 4 Route-Map... 4 BGP 的配置... 5 FGT100E 关键配置... 5 接口 IP 及 BGP

目录 简介... 3 BGP 重发布进 OSPF 环境拓扑图... 3 BGP 重发布进 OSPF 路由过滤... 4 FGT200B 关键配置... 4 接口 IP 配置... 4 Route-Map... 4 BGP 的配置... 5 FGT100E 关键配置... 5 接口 IP 及 BGP BGP 与 OSPF 之间重发布时使用 Route-Map 进行路由过滤 版本 1.0 时间 2017 年 9 月 5 日星期二 支持的版本 FortiGate v5.0 v5.2 v5.4 v5.6 作者 状态 反馈 刘康明 已审核 support_cn@fortinet.com 目录 简介... 3 BGP 重发布进 OSPF 环境拓扑图... 3 BGP 重发布进 OSPF 路由过滤... 4

More information

1 1 2 OSPF RIP 2

1 1 2 OSPF RIP 2 MPLS VPN 1. TCP/IP IP IP IP IP 1 1 2 OSPF RIP 2 2 RIP OSPF BGP DVMRP IS- IS IP 1. Unicast Routing Protocol Multicast Routing Protocol RIP OSPF BGP IS-IS DVMRP PIM-SM PIM-DM 2. IGP EGP IGPRIP OSPF IS-ISEGP

More information

active phisical rp address: backup phisical rp address: 截取部分 TOPO 图说明到 不通的问题 : internet internet tengige 0/0/0/0 tengige

active phisical rp address: backup phisical rp address: 截取部分 TOPO 图说明到 不通的问题 : internet internet tengige 0/0/0/0 tengige ASR9000 ping 丢包 troubleshooting 目录 硬件平台软件版本案例介绍问题分析思路问题总结经验总结相关命令 硬件平台 ASR9000 软件版本 4.2.0 案例介绍 拓扑示例 : 问题, 客户从外网 internet ping 3 个 vrrp subnet 的地址时候始终只能通一个 IP 地址 : vrrp virtual IP :2.2.2.129 其他不能 ping 通的

More information

¶C¶L§§¬_™¨ A.PDF

¶C¶L§§¬_™¨ A.PDF 1 9 3 1 9 4 / 7.1 / 1 9 5 7.2 % netstat -rn Routing tables Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 1 132 lo0 172.16.12.0 172.16.12.2 U 26 49041 le0 1 9 6 / % ping -s almond

More information

Microsoft Word - chp20路由重分布.doc

Microsoft Word - chp20路由重分布.doc 第 20 章路由重分布 当许多运行多路由的网络要集成到一起时, 必须在这些不同的路由选择协议之间共享路由信息 在路由选择协议之间交换路由信息的过程被称为路由重分布 (Route Redistribution) 20.1 路由重分布概述 路由重分布为在同一个互联网络中高效地支持多种路由协议提供了可能, 执行路由重分布的路由器被称为边界路由器, 因为它们位于两个或多个自治系统的边界上 路由重分布时计量单位和管理距离是必须要考虑的

More information

通过动态路由协议实现链路备份

通过动态路由协议实现链路备份 通过动态路由协议实现链路备份 实验名称 通过动态路由协议实现链路备份 实验目的 掌握通过在不同链路上配置不同的路由协议实现链路备份 背景描述 你是公司高级网络管理员, 公司内部有一个很重要的服务器所在网段为 192.168.12.0/24, 平常访问通过 R1,R3 的 OSPF 路由协议, 为了保证该网段随时能够访问, 不能因为链路故障出问题, 要求你实现一个备份冗余的功能, 请给予支持 实现功能

More information

计算机网络概论

计算机网络概论 1 repeater bridge router gateway V.S OSI Repeater(Hub) 1 Repeater 2 3 ( Hub 4 Bridge 1 Bridge 2 N N DL1 DL1 DL2 DL2 Ph1 Ph1 Ph2 Ph2 1 2 Bridge 3 MAC Ethernet FDDI MAC MAC Bridge 4 5 6 7 50873EA6, 00123456

More information

D. 192.168.5.32 E. 192.168.5.14 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 192.0.2.24/28. 工 作 站 B 配 置 的 IP 地 址 为 192.0.2.100/28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台

D. 192.168.5.32 E. 192.168.5.14 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 192.0.2.24/28. 工 作 站 B 配 置 的 IP 地 址 为 192.0.2.100/28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台 CCNP 学 前 测 试 题 都 选 自 官 方 的 全 真 考 试 题, 共 100 道 题 实 际 测 试 选 60 道 题, 同 官 方 正 式 考 题 数 目 基 本 一 致, 因 此 等 于 是 模 拟 考 试, 采 用 网 上 形 式 进 行 测 评 学 前 测 评 目 的 是 为 了 检 验 大 家 对 CCNA 阶 段 知 识 掌 握 的 程 度, 同 时 对 CCNA 最 核 心

More information

Session Dan Gill 2 IP WAN WAN? Networker NSC-114 RST-271 NSC-211 : MTBF: MTTR: MTBF MTTR : MTBF? MTTR? MTTR MTTR MTTR MTBF MTTR Mom-and-apple-pie MTBF MTBF (UPS, ) Mom-and-apple-pie Increase MTBF MTBF?

More information

ch08.PDF

ch08.PDF 8-1 CCNA 8.1 CLI 8.1.1 8-2 8-3 8.1.21600 2500 1600 2500 / IOS 8-4 8.2 8.2.1 A 5 IP CLI 1600 2500 8-5 8.1.2-15 Windows 9598NT 2000 HyperTerminal Hilgraeve Microsoft Cisco HyperTerminal Private Edition (PE)

More information

untitled

untitled 7.1 7.1.1 IP R1 N N,R1,M IP 1 7.1.2 [Quidway]display ip routing Routing Tables: Destination/Mask proto pref Metric Nexthop Interface 0.0.0.0/0 Static 60 0 120.0.0.2 Serial0 8.0.0.0/8 RIP 100 3 120.0.0.2

More information

目录 简介... 3 通过 Local_Pref/MED 属性控制 BGP 路由走向... 4 测试拓扑... 4 业务要求... 4 详细配置过程... 5 设备基础配置... 5 IGP 的配置... 5 BGP 的配置... 7 BGP 属性调整前路由检查 针对 LP/MED 路由

目录 简介... 3 通过 Local_Pref/MED 属性控制 BGP 路由走向... 4 测试拓扑... 4 业务要求... 4 详细配置过程... 5 设备基础配置... 5 IGP 的配置... 5 BGP 的配置... 7 BGP 属性调整前路由检查 针对 LP/MED 路由 FortiGate 通过控制 BGP 的 Local_Pref 与 MED 等属性 以控制路由走向 版本 1.0 时间 2016 年 1 月 支持的版本 FortiGate v4.0.x v5.0.x 5.2.x 5.4.0 作者 状态 反馈 刘康明 已审核 support_cn@fortinet.com 目录 简介... 3 通过 Local_Pref/MED 属性控制 BGP 路由走向... 4

More information

Simulator By SunLingxi 2003

Simulator By SunLingxi 2003 Simulator By SunLingxi sunlingxi@sina.com 2003 windows 2000 Tornado ping ping 1. Tornado Full Simulator...3 2....3 3. ping...6 4. Tornado Simulator BSP...6 5. VxWorks simpc...7 6. simulator...7 7. simulator

More information

IP505SM_manual_cn.doc

IP505SM_manual_cn.doc IP505SM 1 Introduction 1...4...4...4...5 LAN...5...5...6...6...7 LED...7...7 2...9...9...9 3...11...11...12...12...12...14...18 LAN...19 DHCP...20...21 4 PC...22...22 Windows...22 TCP/IP -...22 TCP/IP

More information

IS-IS路由协议中文教程v1

IS-IS路由协议中文教程v1 IS-IS v1.0 Chapter 0 Preface Statement BSCI Building Scalable Cisco Internetworks Configuring IS-IS Protocol IS-IS IS-IS OSI TCP/IP IS-IS OSPF Cisco System BSCI Student Guide Outline 1 OSI IS-IS 2 IS-IS

More information

iBgpMultipathMplsLoadbalancing.pdf

iBgpMultipathMplsLoadbalancing.pdf ibgp multipath 在 MPLS 环 境 下 等 价 路 由 负 载 不 均 衡 问 题 的 排 障 目 录 硬 件 平 台 软 件 版 本 案 例 简 介 故 障 诊 断 步 骤 解 决 方 案 经 验 总 结 其 他 相 关 文 档 硬 件 平 台 Cisco 10 系 列 路 由 器 软 件 版 本 12.0S,12.0SY 案 例 简 介 上 图 是 运 营 商 中 常 见 的 一

More information

IP-Routing-05.pdf

IP-Routing-05.pdf RI P R I P - 2 RIP -1 R I P - 2 DV RIP -1 RIP-2 16... RIP-2 RIP-2 RIP -1 R I P - 2 RIP-2 RIP-2 RIP-2 V L S M disc ontiguous addr ess sp ace C I D R Cla ssless In ter -Dom ain Routing 121 1 2 2 IP RIP-2

More information

动态路由选择协议、RIP

动态路由选择协议、RIP 学习沉淀成长分享 动态路由协议 RIP 红茶三杯 ( 朱 SIR) 微博 : t.sina.com/vinsoney Latest update: 2012-06-01 课程目标 动态路由协议概述 RIP RIP 基础实验 动态路由协议概述 什么是路由 什么是动态路由协议 动态路由协议的分类 什么是路由 192.168.10.0/24 172.16.1.0/24 e0 s0 Protocol Connected

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP TCP/IP : TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP 1. ASCII EBCDIC Extended Binary-Coded Decimal Interchange Code 2. / (1) (2) Single System Image SSI) (3) I/O (4) 3.OSI OSI Open System Interconnection

More information

Chapter #

Chapter # 第三章 TCP/IP 协议栈 本章目标 通过本章的学习, 您应该掌握以下内容 : 掌握 TCP/IP 分层模型 掌握 IP 协议原理 理解 OSI 和 TCP/IP 模型的区别和联系 TCP/IP 介绍 主机 主机 Internet TCP/IP 早期的协议族 全球范围 TCP/IP 协议栈 7 6 5 4 3 应用层表示层会话层传输层网络层 应用层 主机到主机层 Internet 层 2 1 数据链路层

More information

Microsoft Word - chp21路由优化.doc

Microsoft Word - chp21路由优化.doc 第 21 章路由优化 在当今高性能的网络中, 为了保证网络的伸缩性 稳定性 安全性和快速收敛, 必须对网络进行优化 路由过滤和策略路由是路由优化的常用方法 21.1 路由优化概述 路由过滤是指在路由更新中抑制某些路由不被发送和接收, 被动接口 分布控制列表 重分布结合路由策略等都可以实现路由过滤 策略路由提供了根据网络管理者制定的标准来进行数据包转发的一种机制 基于策略的路由比传统路由能力更强, 使用更灵活,

More information

动态路由选择协议、RIP

动态路由选择协议、RIP 学习沉淀成长分享 动态路由协议 RIP 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 Content 动态路由协议概述 RIP RIP 基础实验 动态路由协议概述 什么是路由 什么是动态路由协议 动态路由协议的分类 什么是路由 IP header Data FE1/0 PC1 192.168.1.1/24

More information

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

KillTest 质量更高 服务更好 学习资料   半年免费更新服务 KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 350-001-LAB : Title CCIE-ROUTING AND SWITCHING QUALIFICATION (Lab exam) Version : Demo 1 / 28 N1. 2 / 28 Part-1 Bridge and Switching 1.1 vtp

More information

实验二、路由器的基本配置

实验二、路由器的基本配置 实验十 静态路由和直连路由引入配置 一 实验目的 1. 掌握路由引入的配置 2. 理解路由引入的原理 二 应用环境 1. 在某些应用环境中需要将静态路由引入到某些动态路由协议里 三 实验设备 DCR-1751 两台 四 实验拓扑 五 实验要求 配置表 : Router-A Router-B F0/0 192.168.0.1/24 F0/0 192.168.2.1/24 S1/1 (DCE) 192.168.1.1/24

More information

IP Access Lists IP Access Lists IP Access Lists

IP Access Lists IP Access Lists IP Access Lists Chapter 10 Access Lists IP Access Lists IP Access Lists IP Access Lists Security) IP Access Lists Access Lists (Network router For example, RouterA can use an access list to deny access from Network 4

More information

Exam1

Exam1 学网络技术去鸿鹄论坛命运的改变从技术开始 鸿鹄团队致力于为每一位网络技术爱好者提供帮助 有事您发帖, 斑竹为您跑腿, 给您答疑 CCNA 题库战报交流群 :82327397 欢迎备考 CCNA 的朋友加入, 一起讨论交流, 通过 CCNA 考试! CCNA 最新题库 / 最新战报发布区 : http://om/forum-261-1.html CCNA 考试代号 : 640-802 考试时间 : 中文

More information

Microsoft PowerPoint CN 19

Microsoft PowerPoint CN 19 OSPF: Open Shortest Path First Distributed Link state protocol Using SPF algorithm OSPF: Open Shortest Path First OSPF --- Three Key Points Who: Exchange Link State with ALL routers Flooding What: Link

More information

指定静态路由的下一跳IP地址

指定静态路由的下一跳IP地址 指定静态路由的下一跳 IP 地址 目录 简介背景信息对广播接口的静态路由浮动静态路由示例问题解决方案结论 简介 本文描述静态路由基本概念 问题场景用于为了展示指定接口下一跳 IP 地址可以被到达的情况变得理想, 当您配置静态路由时 失败可能导致不需要的行为和一个残破的网络状况 背景信息 由于各种各样的原因使用静态路由并且是常用的, 当没有动态路由对目的 IP 地址时, 或者, 当您要动态地改写获取的路由时

More information

12.pdf

12.pdf 对 帧 中 继 配 置 与 故 障 排 除 的 全 面 的 指 南 交 互 : 本 文 档 对 您 的 Cisco 设 备 进 行 自 定 义 分 析 目 录 简 介 开 始 使 用 前 规 则 先 决 条 件 使 用 的 组 件 背 景 理 论 配 置 基 本 的 帧 中 继 网 络 图 配 置 debug 和 show 命 令 配 置 星 形 帧 中 继 网 络 图 配 置 显 示 命 令 分

More information

財金資訊-80期.indd

財金資訊-80期.indd IPv6 / LINE YouTube TCP/IP TCP (Transmission Control Protocol) IP (Internet Protocol) (node) (address) IPv4 168.95.1.1 IPv4 1981 RFC 791 --IP IPv4 32 2 32 42 IP (Internet Service Provider ISP) IP IP IPv4

More information

第3章

第3章 本 章 涵 盖 以 下 主 题 全 局 单 播 地 址 路 由 和 子 网 划 分 : 本 节 通 过 与 IPv4 相 比 较, 介 绍 了 IPv6 地 址 IPv4 路 由 的 概 念, 以 及 怎 样 进 行 IPv6 子 网 划 分 IPv6 全 局 单 播 地 址 的 分 配 : 本 节 探 讨 了 怎 样 将 全 局 单 播 地 址 分 配 到 主 机 或 其 他 设 备 上 IPv6

More information

ebook140-8

ebook140-8 8 Microsoft VPN Windows NT 4 V P N Windows 98 Client 7 Vintage Air V P N 7 Wi n d o w s NT V P N 7 VPN ( ) 7 Novell NetWare VPN 8.1 PPTP NT4 VPN Q 154091 M i c r o s o f t Windows NT RAS [ ] Windows NT4

More information

epub

epub 3 Cisco 3.1 S e t u p C i s c o C i s c o Cisco IOS C i s c o 3.2 Te l n e t T F T P 3-1 3-1 configure terminal configure memory Configure network t e l n e t < C t r l - Z > conf t N V R A M T F T P I

More information

mppp-ddr.pdf

mppp-ddr.pdf DDR 多 链 路 PPP - 基 本 配 置 和 验 证 目 录 简 介 开 始 使 用 前 规 则 先 决 条 件 使 用 的 组 件 多 链 路 PPP 干 什 么 配 置 多 链 路 PPP 命 令 传 统 DDR 拨 号 原 型 (Dialer Profile) 验 证 MPPP 操 作 相 关 信 息 简 介 多 链 路 PPP ( 也 指 MP MPPP MLP 或 多 链 路 ) 提

More information

Microsoft Word - chp3静态路由.doc

Microsoft Word - chp3静态路由.doc 第 3 章静态路由 转发数据包是路由器的最主要功能 路由器转发数据包时需要查找路由表, 管理员可以通过手工的方法在路由器中直接配置路由表, 这就是静态路由 虽然静态路由不适合于在大的网络中使用, 但是由于静态路由简单 路由器负载小 可控性强等原因, 在许多场合中还经常被使用 本章将介绍静态路由的配置, 同时为以后配置动态路由奠定基础 3.1.1 静态路由介绍 3.1 静态路由与默认路由 路由器在转发数据时,

More information

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli BYOD 204 2015 GoogleHicloud (Load Balance) Server Load Balance Link Load Balance Server Redirect 1. URL Redirect redirector URL redirect Real Server Client HTTP Real Server Web Client 2 (1) URL Redirect

More information

...31 (POTS) Internet VPN VPN VPN ATM ( ) CPE VPN L2TP PPTP ( ) IPSec ( ) VPN (PP-VPNs) MPLS VPN BGP/MPLS VPN RFC2547bis ( ) RFC 2547bis VPN RFC 2547b

...31 (POTS) Internet VPN VPN VPN ATM ( ) CPE VPN L2TP PPTP ( ) IPSec ( ) VPN (PP-VPNs) MPLS VPN BGP/MPLS VPN RFC2547bis ( ) RFC 2547bis VPN RFC 2547b RFC 2547bis: BGP/MPLS VPN Juniper 网络公司, 爱立信公司,2001 年 3 月...2 BGP/MPLS VPN...2...3...3...3...4...4...4...5...6 BGP/MPLS VPN...7...7...8 VPN-IPv4...8 BGP...9...9...10 BGP...11 VPN...13 PE...13...14 VPN...16

More information

实施生成树

实施生成树 学习沉淀成长分享 Spanning-tree 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 STP 的概念 冗余拓扑 Server/host X Router Y Segment 1 Switch A Switch B Segment 2 冗余拓扑能够解决单点故障问题 ; 冗余拓扑造成广播风暴, 多帧复用,

More information

Computer Networks and Internets

Computer Networks and Internets Part XIV 网络互连路由 ( 静态和动态路由 ; 路由信息的传播 ; BGP, RIP, OSPF; 组播路由 ) 术语 转发 传递 ( Forwarding) 指数据报传输 由主机或路由器执行 使用路由表 路由 (Routing) 专指路由信息的传播 由路由器执行 插入 / 修改路由表中的值 2 两大类别的 IP 路由 Static routing: 静态路由 系统启动时初始化路由表 除非检测到错误,

More information

一.NETGEAR VPN防火墙产品介绍

一.NETGEAR VPN防火墙产品介绍 NETGEAR VPN NETGEAR 6 http://www.netgear.com.cn - 1 - NETGEAR VPN... 4 1.1 VPN...4 1.2 Dynamic Domain Name Service...4 1.3 Netgear VPN...4 Netgear VPN... 6 2.1 FVS318 to FVS318 IKE Main...7 2.1.1 A VPN

More information

基于点到点链路的 OSPF 的初始配置

基于点到点链路的 OSPF 的初始配置 基于点到点链路的 OSPF 的初始配置 目录 简介先决条件要求使用的组件规则带有串行接口 IP 地址的点对点链路上的 OSPF 网络图配置带有未编号接口的点对点链路上的 OSPF 网络图配置验证验证带有串行接口 IP 地址的 OSPF 的配置验证带有未编号接口的 OSPF 的配置故障排除相关信息 简介 在高级数据链路控制 (HDLC) 和点对点协议 (PPP) 等点对点链路上, 开放最短路径优先 (OSPF)

More information

Microsoft Word - 目錄.doc

Microsoft Word - 目錄.doc xxvii 簡 介 本 書 涵 蓋 相 當 廣 泛 的 網 路 主 題, 示 範 Cisco 路 由 器 的 設 定 方 式, 並 解 說 如 何 判 斷 設 定 的 功 能 是 否 生 效 因 此 本 書 很 適 合 作 為 IP 路 由 與 IP 路 由 協 定 的 參 考 用 書 不 過, 因 本 書 屬 於 Cisco Press 專 業 認 證 手 冊 系 列 叢 書 之 一, 故 協 助

More information

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft PowerPoint - Aqua-Sim.pptx Peng Xie, Zhong Zhou, Zheng Peng, Hai Yan, Tiansi Hu, Jun-Hong Cui, Zhijie Shi, Yunsi Fei, Shengli Zhou Underwater Sensor Network Lab 1 Outline Motivations System Overview Aqua-Sim Components Experimental

More information

第4章网络层_2_.doc

第4章网络层_2_.doc ( 章 节 专 题 首 页 ) 课 程 名 称 计 算 机 网 络 章 节 专 题 第 4 章 网 络 层 ( 二 ) 1.IP 数 据 报 的 格 式 ; 教 学 目 标 及 基 本 要 求 2. 理 解 子 网 划 分 的 意 义, 掌 握 如 何 划 分 子 网 ; 3. 理 解 超 网 构 造 原 理, 掌 握 构 造 超 网 ; 4. 知 道 网 际 控 制 报 文 协 议 ICMP 及

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

MASQUERADE # iptables -t nat -A POSTROUTING -s / o eth0 -j # sysctl net.ipv4.ip_forward=1 # iptables -P FORWARD DROP #

MASQUERADE # iptables -t nat -A POSTROUTING -s / o eth0 -j # sysctl net.ipv4.ip_forward=1 # iptables -P FORWARD DROP # iptables 默认安全规则脚本 一 #nat 路由器 ( 一 ) 允许路由 # iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT ( 二 ) DNAT 与端口转发 1 启用 DNAT 转发 # iptables -t nat -A PREROUTING -p tcp -d 192.168.102.37 dprot 422 -j DNAT to-destination

More information

一、选择题

一、选择题 计 算 机 网 络 基 础 第 7 章 练 习 思 考 与 认 识 活 动 一 选 择 题 1. 下 面 命 令 中, 用 于 检 查 WINDOWS2000 下 TCP/IP 配 置 信 息 的 是 ( ) A. cmd B. nslookup C. ipconfig D. ping 2. 内 部 网 关 协 议 RIP 是 一 种 广 泛 使 用 的 基 于 距 离 矢 量 算 法 的 协 议

More information

國立中山大學學位論文典藏.PDF

國立中山大學學位論文典藏.PDF I II III The Study of Factors to the Failure or Success of Applying to Holding International Sport Games Abstract For years, holding international sport games has been Taiwan s goal and we are on the way

More information

ebook140-9

ebook140-9 9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I

More information

Microsoft Word - NBMA中的OSPF网络类型.doc

Microsoft Word - NBMA中的OSPF网络类型.doc 文档名称 :NBMA 中的 OSPF 网络类型 文档分类 : 路由技术 撰 写 :Magic 收档日期 :2008-05-01-1 - OSPF 在 NBMA 中的五种运行模式 : OSPF 模式 首选 NBMA 子网地址 Hello 定时器 广播 全互联或部分互联 相同 10s 非广播 全互联或部分互联 相同 30s 点到多点 部分互联或星型 相同 30s 点到多点 非广播 部分互联或星型 相同

More information

高中英文科教師甄試心得

高中英文科教師甄試心得 高 中 英 文 科 教 師 甄 試 心 得 英 語 學 系 碩 士 班 林 俊 呈 高 雄 市 立 高 雄 高 級 中 學 今 年 第 一 次 參 加 教 師 甄 試, 能 夠 在 尚 未 服 兵 役 前 便 考 上 高 雄 市 立 高 雄 高 級 中 學 專 任 教 師, 自 己 覺 得 很 意 外, 也 很 幸 運 考 上 後 不 久 在 與 雄 中 校 長 的 會 談 中, 校 長 的 一 句

More information

Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco

Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco Ch2 Cisco IOS Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco Cisco ROM ROM Cisco ROM(BIOS) ROM 1. POST Cisco 2. BootStrap Cisco IOS 3. IOS IOS IOS Cisco ROM ROM Cisco Flash Flash Flash IOS Cisco

More information

(UTM???U_935_938_955_958_959 V2.1.9.1)

(UTM???U_935_938_955_958_959 V2.1.9.1) 192.16 www.sharetech.com.tw UTM 多 功 能 防 火 牆 管 理 者 手 冊 V 2.1.9.1 目 錄 第 一 章 安 裝 與 訊 息... 7 1-1 建 議 的 安 裝 設 定 圖... 8 1-2 軟 體 安 裝 設 定... 9 1-3 首 頁 訊 息... 14 1-4 型 號 與 功 能 對 照 表... 17 第 二 章 系 統 設 定... 19 2-1

More information

FabricPath The IT challenge : Is My Network Ready? (Cloud Computing) Big Data BYOD ( ) APPs Facebook Google+ Gmail Dropbox Google drive YouTube Linked

FabricPath The IT challenge : Is My Network Ready? (Cloud Computing) Big Data BYOD ( ) APPs Facebook Google+ Gmail Dropbox Google drive YouTube Linked The IT challenge : Is My Network Ready? (Cloud Computing) Big Data BYOD ( ) APPs Facebook Google+ Gmail Dropbox Google drive YouTube LinkedIn Evernote Amazon SalesForce.com Twitter Tumblr Summly Pinterest

More information

untitled

untitled 年度 路 GSN IPv6 年 749 750 說 (Dual Stack) 路 IPv4 IPv6 路 (DNS/WWW Server) 路 CISCO 路 例來 說 列 令 (DNS/WWW Server) FreeBSD 來說 BIND apache Server 來 DNS WWW Server 了 料 數 了 IPv4 路 IPv6 更 利 751 752 錄 錄 錄 錄 論 路 說 路

More information

Microsoft PowerPoint - 数据通信-ch1.ppt

Microsoft PowerPoint - 数据通信-ch1.ppt 主 要 内 容 与 基 本 要 求 主 要 内 容 数 据 通 信 与 计 算 机 网 络 计 算 机 网 络 的 发 展 过 程 分 类 以 及 主 要 性 能 指 标 ; 分 组 交 换 的 基 本 原 理 及 其 与 电 路 交 换 报 文 交 换 的 联 系 与 区 别 ; 计 算 机 网 络 的 协 议 与 体 系 结 构 第 1 章 概 述 基 本 要 求 掌 握 分 组 交 换 电 路

More information

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot OSI OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Protocol OSI OSI OSI OSI OSI O S I 2-1 Application

More information

目录 1 组播 VPN 组播 VPN 配置命令 address-family ipv4 mdt data-delay data-group data-holddown default-

目录 1 组播 VPN 组播 VPN 配置命令 address-family ipv4 mdt data-delay data-group data-holddown default- 目录 1 组播 VPN 1-1 1.1 组播 VPN 配置命令 1-1 1.1.1 address-family ipv4 mdt 1-1 1.1.2 data-delay 1-1 1.1.3 data-group 1-2 1.1.4 data-holddown 1-3 1.1.5 default-group 1-4 1.1.6 display bgp routing-table ipv4 mdt

More information

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南 Symantec Sygate Enterprise Protection 防 护 代 理 安 装 使 用 指 南 5.1 版 版 权 信 息 Copyright 2005 Symantec Corporation. 2005 年 Symantec Corporation 版 权 所 有 All rights reserved. 保 留 所 有 权 利 Symantec Symantec 徽 标 Sygate

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

ebook67-10

ebook67-10 10 10.1 r o u t e I C M P R I P (Routing Infromation Protocol) T C P / I P O S P F B G P I n t e r n e t B 10.2 routing daemon 9-1 9. 2 I P routing mechanism r o u t e routing policy I n t e r n e t I

More information

NSC-282

NSC-282 Session Web/Application Servers DNS (1:1) IP DNS 8 7 6 CPU NIC Kbps 5 4 3 2 1 0 4am 8am 4pm 8pm 12am WWW FTP SMTP APP IP Health Check = 1 WWW 2 WWW 3 WWW VIP ( IP ) ( ) 0.10.10.1 1 192.168.10.2 2 192.168.10.3

More information

Master Thesis_專門用來製作目錄.doc

Master Thesis_專門用來製作目錄.doc Introduction All-IP [1-4] All-IP packet switching long delay time, jitter packet loss All-IP Budget-Based QoS End-to-End QoS (real time on demand) 1 1.1 Circuit Switching Packet Switching DWDM IP VoIP

More information

《计算机网络》实验指导书

《计算机网络》实验指导书 1 实 验 一 网 络 组 建 与 管 理 一. 实 验 目 的 1. 掌 握 平 行 双 绞 线 和 交 叉 双 绞 线 的 制 作 方 法 ( 初 级 ) 2. 掌 握 对 等 网 和 代 理 服 务 器 网 络 的 组 建 ( 初 级 ) 3. 会 用 ipconfig 和 ping 命 令 ( 初 级 ) 4. 掌 握 网 络 中 文 件 夹 共 享 和 打 印 机 共 享 ( 初 级 )

More information

PS PS GMM SM.zte.com.

PS PS GMM SM.zte.com. WBUB-010-1 ZXWN PS V0411.zte.com. PS PS GMM SM.zte.com. PS TMSI Packet-Temporary mobile subscriber identification number P-TMSI) GPRS MS P- TMSI 4 BCD 3G TS 23.003 MSC SGSN SGSN P-TMSI 11 MSC TMSI 00 01

More information

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2 3,,,,,, 1872,,,, 3 2004 ( 04BZS030),, 1 2005 5,,,,,,,,,,,,,,,,, 1928 716,1935 6 2682 1928 2 1935 6 1966, 2174, 7014 %, 94137 % 4, 1961, 59 1929,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2 , :,,,, :,,,,,,

More information

Microsoft Word - chp6单区域OSPF.doc

Microsoft Word - chp6单区域OSPF.doc 第 6 章单区域 OSPF OSPF(Open Shortest Path First, 开放最短链路优先 ) 路由协议是典型的链路状态路由协议 OSPF 由 IETF 在 20 世纪 80 年代末期开发,OSPF 是 SPF 类路由协议中的开放式版本 最初的 OSPF 规范体现在 RFC1131 中, 被称为 OSPF 版本 1, 但是版本 1 很快被进行了重大改进的版本所代替, 这个新版本体现在

More information

09.实验九:内部网关协议RIP与OSPF

09.实验九:内部网关协议RIP与OSPF 计算机网络 实验指导 实验九 : 内部网关协议 RIP 与 OSPF 一 实验目的 1 进一步理解路由器的工作原理; 2 掌握 RIP 的基本原理和概念 ; 3 掌握 OSPF 的基本原理和概念 ; 4 掌握基于 GNS3 仿真平台进行网络实验的方法 二 实验学时 2 学时 三 实验类型 综合性 四 实验需求 1 硬件每人配备计算机 1 台, 计算机接入实验室局域网, 每小组配备交换机 2 台, 路由器

More information

Chap6.ppt

Chap6.ppt Computer Networks v4 cs.sjtu 12/21/12 6 Internet ftp://ftp.cs.sjtu.edu.cn/ybzhang 61 / 110 Computer Networks v4 cs.sjtu 12/21/12 ftp://ftp.cs.sjtu.edu.cn/ybzhang 62 / 110 Computer Networks v4 cs.sjtu 12/21/12

More information

FortiGate-v5.2-PPPOE 拨号协商时的 AC-name 和 Service-name 版本 1.0 时间 2015 年 3 月 支持的版本 FortiOS v5.2.x 作者 黄豪赫 状态 已审核 反馈

FortiGate-v5.2-PPPOE 拨号协商时的 AC-name 和 Service-name 版本 1.0 时间 2015 年 3 月 支持的版本 FortiOS v5.2.x 作者 黄豪赫 状态 已审核 反馈 FortiGate-v5.2-PPPOE 拨号协商时的 AC-name 和 Service-name 版本 1.0 时间 2015 年 3 月 支持的版本 FortiOS v5.2.x 作者 黄豪赫 状态 已审核 反馈 support_cn@fortinet.com 1 目 录 简介...3 PPPoE 发现阶段简介...3 相关组件...4 参考文档...4 FortiGate 相关命令介绍...

More information

OSPF over IPSec及路由冗余

OSPF over IPSec及路由冗余 OSPF over IPSec 及路由冗余 版本 1.0 时间 2011 年 12 月 作者 胡丹丹 (ddhu@fortinet.com) 支持的版本 FortiOS v4.x 状态 草稿 第 1 页共 10 页 目录 1. 目的... 3 2. 环境介绍... 3 3.IPSec VPN 配置... 4 4.OSPF 配置... 5 4.1 GateA 配置... 5 4.2 GateB 配置...

More information

目录 1 IPv6 快速转发 IPv6 快速转发配置命令 display ipv6 fast-forwarding aging-time display ipv6 fast-forwarding cache ipv6 fas

目录 1 IPv6 快速转发 IPv6 快速转发配置命令 display ipv6 fast-forwarding aging-time display ipv6 fast-forwarding cache ipv6 fas 目录 1 IPv6 快速转发 1-1 1.1 IPv6 快速转发配置命令 1-1 1.1.1 display ipv6 fast-forwarding aging-time 1-1 1.1.2 display ipv6 fast-forwarding cache 1-1 1.1.3 ipv6 fast-forwarding aging-time 1-3 1.1.4 ipv6 fast-forwarding

More information

第六章

第六章 Reflection and Serving Learning 長 庚 科 技 大 學 護 理 系 劉 杏 元 一 服 務 學 習 為 何 要 反 思 All those things that we had to do for the service-learning, each one, successively helped me pull together what I d learned.

More information

...1 What?...2 Why?...3 How? ( ) IEEE / 23

...1 What?...2 Why?...3 How? ( ) IEEE / 23 .... IEEE 1588 2010 7 8 ( ) IEEE 1588 2010 7 8 1 / 23 ...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 2 / 23 ...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 3 / 23 IEEE 1588 ( ) IEEE 1588 2010

More information

錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更

錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更 AX5000 Version 1.0 2006 年 9 錄...1 說...2 說...3...4 說...5 六...6 6.1 率...7 6.2 POST PAY...8 6.3 PREPAY DEPOSIT...9 6.4...10 6.5...11 更...12...12 LCD IC LED Flash 更 兩 RJ11 ( ) DC ON OFF ON 狀 狀 更 OFF 復 狀 說

More information

ebook140-11

ebook140-11 11 VPN Windows NT4 B o r d e r M a n a g e r VPN VPN V P N V P N V P V P N V P N TCP/IP 11.1 V P N V P N / ( ) 11.1.1 11 V P N 285 2 3 1. L A N LAN V P N 10MB 100MB L A N VPN V P N V P N Microsoft PPTP

More information

K301Q-D VRT中英文说明书141009

K301Q-D VRT中英文说明书141009 THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

eigrp

eigrp 学习沉淀成长分享 EIGRP 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 课程目标 EIGRP 协议概述 EIGRP 的配置及验证 EIGRP 协议概述 EIGRP 简介 EIGRP 的协议特点 EIGRP 的三张表 EIGRP 数据包 初始路由发现 EIGRP metric DUAL 算法 EIGRP

More information

ebook20-8

ebook20-8 8 Catalyst 5000 7 V L A N C a t a l y s t V L A N V L A N 8.1 VLAN VTP V L A N A VLAN VLAN 10 VLAN 20 VLAN 10 VLAN 20 B VLAN VLAN 10 VLAN 20 VLAN 10 C VLAN VLAN 10 VLAN 20 VLAN 10 VLAN 20 8-1 VLAN 8 Catalyst

More information

Microsoft Word - chp19IS-IS.doc

Microsoft Word - chp19IS-IS.doc 第 19 章 IS-IS 近几年来, 随着在 ISP 中的广泛应用,IS(Intermediate System, 中间系统 )-IS 路由协议已经变得很普及 IS-IS 最初是由国际标准化组织制定的一个 OSI( 开放系统互联 ) 路由协议, 被设计成工作在 OSI 无连接网络服务 (CLNS) 的环境中 19.1.1 IS-IS 特点 19.1 IS-IS 概述 IS-IS 是一个非常灵活的路由协议,

More information

目录 1 IPv6 快速转发 IPv6 快速转发配置命令 display ipv6 fast-forwarding aging-time display ipv6 fast-forwarding cache ipv6 fas

目录 1 IPv6 快速转发 IPv6 快速转发配置命令 display ipv6 fast-forwarding aging-time display ipv6 fast-forwarding cache ipv6 fas 目录 1 IPv6 快速转发 1-1 1.1 IPv6 快速转发配置命令 1-1 1.1.1 display ipv6 fast-forwarding aging-time 1-1 1.1.2 display ipv6 fast-forwarding cache 1-1 1.1.3 ipv6 fast-forwarding aging-time 1-3 1.1.4 ipv6 fast-forwarding

More information

Microsoft Word - chp22.doc

Microsoft Word - chp22.doc 第 22 章 IPv6 无论是 NAT, 还是 CIDR 等都是缓解 IP 地址短缺的手段, 而 IPv6 才是解决地址短缺的最终方法 IPv6 是由 IETF 设计的下一代互联网协议, 目的是取代现有的互联网协议 IPv4 22.1.1 IPv6 优点 22.1 IPv6 概述 IPv4 的设计思想成功地造就了目前的国际互联网, 其核心价值体现在简单 灵活和开放性 但随着新应用的不断涌现, 传统的

More information

中国计算机软件专业技术资格和水平考试

中国计算机软件专业技术资格和水平考试 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2009 年 下 半 年 网 络 工 程 师 上 午 试 卷 ( 考 试 时 间 9 : 00~11 : 30 共 150 分 钟 ) 请 按 下 述 要 求 正 确 填 写 答 题 卡 1. 在 答 题 卡 的 指 定 位 置 上 正 确 写 入 你 的 姓 名 和 准 考 证 号, 并 用 正 规 2B 铅

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

管道建模基础.ppt

管道建模基础.ppt AVEVA 2004.11.4 Pdms (database hierarchy) (PipeworkModelling) PIPE WORLD BRANCH PDMS FLANGE,Elbow.. SITE Pipe routing is probably the activity that consumes most time on any large project and it is also

More information

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内 A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内 容 分 发 网 络 Alibaba Cloud Content Delivery Network 一

More information

A Community Guide to Environmental Health

A Community Guide to Environmental Health 102 7 建 造 厕 所 本 章 内 容 宣 传 推 广 卫 生 设 施 104 人 们 需 要 什 么 样 的 厕 所 105 规 划 厕 所 106 男 女 对 厕 所 的 不 同 需 求 108 活 动 : 给 妇 女 带 来 方 便 110 让 厕 所 更 便 于 使 用 111 儿 童 厕 所 112 应 急 厕 所 113 城 镇 公 共 卫 生 设 施 114 故 事 : 城 市 社

More information

Microsoft Word doc

Microsoft Word doc 中 考 英 语 科 考 试 标 准 及 试 卷 结 构 技 术 指 标 构 想 1 王 后 雄 童 祥 林 ( 华 中 师 范 大 学 考 试 研 究 院, 武 汉,430079, 湖 北 ) 提 要 : 本 文 从 结 构 模 式 内 容 要 素 能 力 要 素 题 型 要 素 难 度 要 素 分 数 要 素 时 限 要 素 等 方 面 细 致 分 析 了 中 考 英 语 科 试 卷 结 构 的

More information

C3_ppt.PDF

C3_ppt.PDF C03-101 1 , 2 (Packet-filtering Firewall) (stateful Inspection Firewall) (Proxy) (Circuit Level gateway) (application-level gateway) (Hybrid Firewall) 2 IP TCP 10.0.0.x TCP Any High Any 80 80 10.0.0.x

More information

Microsoft Word - chp5EIGRP.doc

Microsoft Word - chp5EIGRP.doc 第 5 章 EIGRP EIGRP(Enhanced Interior Gateway Routing Protocol, 增强型内部网关路由协议 ) 是 Cisco 公司开发的一个平衡混合型路由协议, 它融合了距离向量和链路状态两种路由协议的优点, 支持 IP IPX ApplleTalk 等多种网络层协议 由于 TCP/IP 是当今网络中最常用的协议, 因此本书只讨论 IP 网络环境中的 EIGRP

More information

考试要点 以下是实施 Cisco IP 路由 (ROUTE ) 考试的主要内容和考点 然而, 在考试的特定版本中也可能 出现其他相关的考点 为了更好地反映考试内容并明确考试目的, 下面的考试大纲可能在不发出通知的情 况下随时调整 考试说明 : 实施 Cisco IP 路由 (ROUTE

考试要点 以下是实施 Cisco IP 路由 (ROUTE ) 考试的主要内容和考点 然而, 在考试的特定版本中也可能 出现其他相关的考点 为了更好地反映考试内容并明确考试目的, 下面的考试大纲可能在不发出通知的情 况下随时调整 考试说明 : 实施 Cisco IP 路由 (ROUTE 300-101 ROUTE 考试 实施思科 IP 路由 考试编号 : 300-101 相关认证 : CCNP 和 CCDP 时间 : 120 分钟 (45-55 个问题 ) 可选择语言 : 点击此处报名 : 考试题型 : 考试费用 : 英语 Pearson VUE 单选 多选 填空 拖图 Lab $250USD 考试说明 ROUTE 300-101 考试证明通过的考生具备网络路由的知识和相关技能 他们有能力使用先进的

More information

SEC-220

SEC-220 Session CERT/CC 60000 50000 40000 52,658 30000 26,829 20000 10000 0 2,412 1995 1999 2000 2001 Q1, 2002 Source: http://www.cert.org/stats/ CERT/CC 3000 2500 2000 2,437 1500 1000 500 0 171 1,065 1995

More information

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡 Tips of the Week 课 堂 上 的 英 语 习 语 教 学 ( 二 ) 2015-04-19 吴 倩 MarriottCHEI 大 家 好! 欢 迎 来 到 Tips of the Week! 这 周 我 想 和 老 师 们 分 享 另 外 两 个 课 堂 上 可 以 开 展 的 英 语 习 语 教 学 活 动 其 中 一 个 活 动 是 一 个 充 满 趣 味 的 游 戏, 另 外

More information

display bgp instance-info display bgp link-state display bgp network display bgp non-stop-routing status 1-

display bgp instance-info display bgp link-state display bgp network display bgp non-stop-routing status 1- 目录 1 BGP 1-1 1.1 BGP 配置命令 1-1 1.1.1 additional-paths select-best 1-1 1.1.2 address-family ipv4 1-2 1.1.3 address-family ipv6 1-3 1.1.4 address-family link-state 1-4 1.1.5 advertise-rib-active 1-4 1.1.6

More information

ΧΧΧΧ课程教学大纲(黑体,三号,段后1行)

ΧΧΧΧ课程教学大纲(黑体,三号,段后1行) 为 适 应 我 国 高 等 教 育 发 展 的 需 要, 提 高 大 学 英 语 教 学 质 量, 满 足 社 会 对 人 才 培 养 的 需 要, 按 照 教 育 部 深 化 大 学 英 语 教 学 改 革 的 精 神 和 要 求, 参 照 2007 年 教 育 部 高 教 司 修 订 颁 布 的 大 学 英 语 课 程 教 学 要 求, 针 对 我 校 的 实 际 情 况, 制 定 上 海 商

More information

Microsoft Word - 第四組心得.doc

Microsoft Word - 第四組心得.doc 徐 婉 真 這 四 天 的 綠 島 人 權 體 驗 營 令 我 印 象 深 刻, 尤 其 第 三 天 晚 上 吳 豪 人 教 授 的 那 堂 課, 他 讓 我 聽 到 不 同 於 以 往 的 正 義 之 聲 轉 型 正 義, 透 過 他 幽 默 熱 情 的 語 調 激 起 了 我 對 政 治 的 興 趣, 願 意 在 未 來 多 關 心 社 會 多 了 解 政 治 第 一 天 抵 達 綠 島 不 久,

More information

coverage2.ppt

coverage2.ppt Satellite Tool Kit STK/Coverage STK 82 0715 010-68745117 1 Coverage Definition Figure of Merit 2 STK Basic Grid Assets Interval Description 3 Grid Global Latitude Bounds Longitude Lines Custom Regions

More information

Segment Routing MPLS数据平面 中文版

Segment Routing MPLS数据平面 中文版 Segment Routing MPLS data plane 段路由 MPLS 数据平面 Clarence Filsfils Kris Michielsen SR MPLS 数据平面 SR 利用了现有的 MPLS 数据平面 如何检验 SR-MPLS 的转发 Segment Routing 数据平面 MPLS 数据平面的 SR 操作 SR 利用了现有的 MPLS 数据平面 Segment MPLS

More information