随笔分类 -  RS

摘要:方式1: asbr 之间 仅运行mpls ,asbr1 为本端pe1 环回口产生标签(使用策略,bgp新特性)发给对端asbr2,asbr2 据徐打标签(使用策略),标签隧道一直到pe2 。 中层隧道:本端asbr-- 对端pe 。 阅读全文
posted @ 2022-01-16 19:05 abel2020 阅读(99) 评论(0) 推荐(0)
摘要:方案1 核心特点和技术: PE之间直接建立mpbgp,PE2 发送给PE1 路由 RD2:2 | 2.2.2.2 和标签21 ASBR 不跑mpbgp ,减轻asbr 压力 ASBR 2 使用bgp V4 为目的地址PE2的路由(2.2.2.2)创建本地标签43并发送给ASBR1 ASBR 1 为 阅读全文
posted @ 2021-02-17 01:13 abel2020 阅读(4) 评论(0) 推荐(0)
摘要:OPTION B : ASBR 之间运行mpbgp 传递vpnv4 路由。 ASBR 上不创建VRF ,需关闭 RT 过滤 (cisco 命令: BGP 全局下: no bgp default route-target filter ) AS23 内PE与ASBR之间即使存在RR等 ,R2看到下一跳 阅读全文
posted @ 2021-02-16 18:40 abel2020 阅读(337) 评论(0) 推荐(0)
摘要:配置ce, pe vrfip vpn-instance a route-distinguisher 1:1 vpn-target 1:1 export-extcommunity vpn-target 1:1 import-extcommunity ip vpn-instance b route-di 阅读全文
posted @ 2021-02-15 21:03 abel2020 阅读(62) 评论(0) 推荐(0)
摘要:假设igp 路由路径为R1--R2 R3--R4 , 需先保证igp ok , ldp才能形成lsp 先看 LIB (标签信息库),类似与RIB ,属控制层面 (in =local 自己分配的标签标签 ) R4 为直连路路由分配 in 标签3 (非直连不分配3) ,并发给邻居R3 R3 收到 IGP 阅读全文
posted @ 2021-02-15 01:14 abel2020 阅读(273) 评论(0) 推荐(0)
摘要:一: 观察 R2 ospfv3 db r2#sh ospfv3 database //先看ipv4 //排列顺序, 1/2 类(纯网络拓扑)- 3/4类(域内路由信息)- 8类(链路级)-9类(依附1/2类)- 5类(不属于任何区域) //比较有逻辑 :) OSPFv3 1 address-fami 阅读全文
posted @ 2021-02-12 14:53 abel2020 阅读(254) 评论(0) 推荐(0)
摘要:实验目的:使用ospfv3 传递ipv4/ipv6 路由,观察路由表,db,报文 拓扑如下: 地址规划: R1 lo0 1.1.1.1/32,2000::1/64 ,r1-r2互联地址2012::1/64 ,其他地址类似 R6 引入lo1 66.6.6.6/32 和2066::6/64 模拟外部路由 阅读全文
posted @ 2021-02-12 13:59 abel2020 阅读(465) 评论(0) 推荐(0)
摘要:R1 , R2 ,R3,R4 运行ospfv2 和ospfv3 R1 router-id 1.1.1.1 , s2/0地址为: 10.0.12.1/24 和2012::1 其他类似 图放在中间,便于观察 总结: 0x0008 link-lsa 每条链路产生,描述link-local 和ip前缀 0x 阅读全文
posted @ 2021-02-11 22:23 abel2020 阅读(551) 评论(0) 推荐(0)
摘要:建立过程: LCP: Request Sent (收到ack) ACK received (收到quest)--opened 先收到ack,对端同意了, 自己收到对端request ok ,就open Request Sent ACK sent (收到ack)--opened 先发送ack 端,表示 阅读全文
posted @ 2021-01-05 10:45 abel2020 阅读(968) 评论(0) 推荐(0)
摘要:如图: vm3 ,vm4 分别在不同的vpc, 访问互联网流量到boder(分别在vrf1/2),默认路由指向fw(vrf1/2),fw vrf1/2 的默认路由指回boder public,boder public 默认路由指向pe,引导流量访问互联网。回城流量,在boder public 上使用 阅读全文
posted @ 2020-12-19 20:46 abel2020 阅读(1601) 评论(0) 推荐(0)
摘要:ps:摘自华为文档 BGP网络设计 当在规划部署BGP路由协议时,摆在我们面前的首要问题便是选择使用IBGP还是EBGP方式,虽然两者之间的差异可能看起来很小,但就是这些细微的差异可能导致数据中心在部署时的重大变化。IBGP与EBGP两者之间的最大区别在于它们使用自治系统的方式,现在我们将通过比较I 阅读全文
posted @ 2020-12-10 00:59 abel2020 阅读(4921) 评论(0) 推荐(0)
摘要:好久没搞无线了,最近有ap上线,模拟一下 WLAN 配置: capwap source interface vlanif 100 wlan ap-group name ap-group1 regulatory-domain-profile name default country-code cn # 阅读全文
posted @ 2020-12-07 22:43 abel2020 阅读(1341) 评论(0) 推荐(0)
摘要:拓扑及规划: CE1 地址为10.0.12.1/24,10.0.13.1/24,1.1.1.1 , 宣告进ospf,bgp as-number 10,与ce2 ce3 建立bgp v4 邻居CE2 CE3 类似 step 1: 接口配置地址,ospf ,bgp 配置完毕 [ce1]disp ospf 阅读全文
posted @ 2020-11-22 21:35 abel2020 阅读(402) 评论(0) 推荐(0)
摘要:1 物理拓扑图 2 逻辑拓扑图 step 1: 配置vrf,ip 地址,vlan,测试互通 r1,和s2 部分配置,其他接口类似 #R1 ,R3,S2 ip vpn-instance a ipv4-family route-distinguisher 1:1 # ip vpn-instance b 阅读全文
posted @ 2020-11-20 23:57 abel2020 阅读(525) 评论(0) 推荐(0)
摘要:思路: 1 r2 r3 ebgp,mpls,mpls ldp 跑通 2 r2 r3 创建vrf ,指定rd rt 3 r2 r3 mpgp 邻居建立 4 r2 bgp vpnv4 实例中引入ospf , 至此在r2 ,r3 上均可用看到r1的ospf 路由 5 r4 配置ebgp 邻居r3,netw 阅读全文
posted @ 2020-10-26 21:17 abel2020 阅读(1) 评论(0) 推荐(0)
摘要:思路: 1 基础环境: r2 r3 r4 ospf,bgp , mpls ,mpls ldp 跑通 2 pe 和ce 互通: r2 建立vrf abc ,rt 12:12 ,g0/0/0接口放入vrf abc,创建ospf 进程12 ,和r1 跑通ospf r2 建立vrf abc ,rt 12:1 阅读全文
posted @ 2020-10-26 20:33 abel2020 阅读(1) 评论(0) 推荐(0)
摘要:AS100: LP: 只在本as 内传播,缺省100 增大R1 接受的路由的LP, 发给R3,R2, 本地的流量都经过R1 出去 MED: 减小 R1 发出的路由的med, 其他as 到达本AS的流量经过R1 进来 只在相邻的as 之间传递,不会再给其他as , 缺省0 阅读全文
posted @ 2020-10-26 20:32 abel2020 阅读(1713) 评论(0) 推荐(0)
摘要:需求1: 如图建立ebgp,和ibgp邻居。 ebgp 邻居建立: 1 使用物理接口 2 使用换回口, 同时增加到达对方lo 口的静态路由 ,配置ebgp多跳 ibgp 邻居建立: 使用换回口建立, igp 全网互通, 需求2: r4 上通过bgp 通告 10.1.44.4/32 , 使r2 可以达 阅读全文
posted @ 2020-10-26 16:50 abel2020 阅读(483) 评论(0) 推荐(0)
摘要:step 1: 左边为 a 0, 右边为 a 1普通区域 1 p2p 和 br 也能建立邻居 [r2-ospf-1-area-0.0.0.1]disp ospf int OSPF Process 1 with Router ID 10.0.2.2 Interfaces Area: 0.0.0.0 ( 阅读全文
posted @ 2020-10-26 13:07 abel2020 阅读(616) 评论(0) 推荐(0)
摘要:step1: 基础配置,略 step2: 区域间路由汇总 需求: 在r3 上把 r5的 10.1.0.0/24 和10.1.1.0/24 汇总 [R3-ospf-1-area-0.0.0.1] area 0.0.0.1 (把区域1 10.1.0.0/24 和10.1.1.0/24 汇总 ) abr- 阅读全文
posted @ 2020-10-26 00:18 abel2020 阅读(163) 评论(0) 推荐(0)