ospf

华为设备BGP详细配置

感情迁移 提交于 2019-11-27 04:43:19
关于BGP的理论这篇博文就不多说了,直接上图开始配置了。关于理论可以参考上篇博文, 华为设备的BGP路由技术是什么? 拓扑图如下: 需求如下: 要使AS100网络(R1:1.1.1.1)和AS200(R4:4.4.4.4)网络路由可达。需要在所有router间运行BGP协议,R1和R2、R3之间建立EBGP连接,R2、R3和R4之间建立IBGP全连接。在AS200内,使用IGP协议来计算路由(该例使用OSPF作为IGP协议)。 开始配置: 1、根据拓扑图配置各路由器的IP地址 R1 [R1]int LoopBack 0 #进入loop back 0接口 [R1-LoopBack0]ip add 1.1.1.1 32 #接口配置IP地址 [R1-LoopBack0]quit #保存并退出 [R1]int g0/0/0 #进入接口 [R1-GigabitEthernet0/0/0]ip add 10.0.12.1 24 #接口配置IP地址 [R1-GigabitEthernet0/0/0]quit #保存并退出 [R1]int g0/0/1 #进入接口 [R1-GigabitEthernet0/0/1]ip add 10.0.13.1 24 #接口配置IP地址 [R1-GigabitEthernet0/0/1]quit #保存并退出 [R1]display ip int b

ospf实验3

青春壹個敷衍的年華 提交于 2019-11-27 03:48:46
要求: 1. 按照拓扑所示配置 OSPF 多区域,另外 R3 与 R6 , R4 与 R6 间配置 RIPv2 。 R1 , R2 , R3 , R4 的环回接口 0 通告入 Area 0 , R5 的通告入 Area 1 , R6 的直连接口通告入 RIP 中 2. R6 上的公司内部业务网段 192.168.10.0/24 和 192.168.20.0/24 通告入 RIP 中, R5 上的外部业务网段 172.16.10.0/24 和 172.16.20.0/24 引入 OSPF 中 在 R5 上配置路由引入时需注意,要求是引入 172.16.10.0/24 与 172.16.20.0/24 该两个网段,不要将其余无关网段一并引入。 3. 在 R3 , R4 上配置 OSPF 与 RIP 间的双点双向路由引入,将业务网段 192.168.10.0/24 和 192.168.20.0/24 引入到 OSPF 中。 在配置将 RIP 路由引入至 OSPF 时需注意,仅要求引入 192.168.10.0/24 与 192.168.20.0/24 该两个业务网段。 4. 通过配置减少 Area 2 中的维护的 LSA 条目数量,包括 Type-3 LSA 和 Type-5 LSA 完全Stub区域或者完全NSSA区域均可以实现该需求。 5. 通过配置使得 R5 上的业务网段通过 R1

VXLAN IGP RR 实验

不羁的心 提交于 2019-11-26 17:57:28
网络拓扑图: SPINE1配置 ====================================================== hostname SPINE-1 nv overlay e*** feature ospf feature bgp feature pim feature nv overlay ip pim rp-address 192.168.1.8 group-list 239.0.0.0/24 ip pim log-neighbor-changes ip pim ssm range 232.0.0.0/8 ip pim anycast-rp 192.168.1.8 192.168.1.1 ip pim anycast-rp 192.168.1.8 192.168.1.2 vrf context management interface Ethernet1/1 no switchport ip address 10.10.1.1/30 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 ip pim sparse-mode no shutdown interface Ethernet1/2 no switchport ip address 10.10.3.1/30 ip ospf

静态路由和默认路由

冷暖自知 提交于 2019-11-26 17:12:41
不同网段之间可以通过路由器进行通信,但若是中间有多个路由器,在两三台的情况下,我们可以通过配置静态路由来实现数据转发。 实验拓扑 使用两台路由器直连,每台下面再连接一台 VPC 。地址规划如下: 名称 接口 IP地址 R1 f0/0 192.168.30.1/24 R1 f0/1 192.168.10.1/24 R2 f0/0 192.168.30.2/24 R2 f0/1 192.168.20.1/24 PC1 e0 192.168.10.10/24 PC2 e0 192.168.20.10/24 静态路由 配置方法 全局模式下添加一条静态路由。 R1#configure terminal R1(config)#ip route 192.168.20.0 255.255.255.0 192.168.30.2 192.168.20.0:目的网段 255.255.255.0:子网掩码 192.168.30.2:下一跳 配置过程 R1 配置 f0/1 接口 ip 地址 R1#configure terminal R1(config)#interface fastEthernet 0/1 R1(config-if)#ip address 192.168.10.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit 配置

JUNOS Olive GRE Tunnel Configuration

淺唱寂寞╮ 提交于 2019-11-26 16:20:26
still same topology used as previous posts. Added GRE tunnel in the topology with two new OSPF areas. version 10.4R3.4; system { backup-router 10.50.2.1; root-authentication { encrypted-password “$1$MsDQp3dk$uxdtlK7LKSqp4mHjg/zxZ1”; ## SECRET-DATA } login { user test { uid 2000; class super-user; authentication { encrypted-password “$1$XKhC35Ei$9ED4o245Ts.jyQ2BqeeQR/”; ## SECRET-DATA } } } services { ftp; telnet; web-management { http { port 80; } } } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } }

JUNOS Olive Dual ISP OSPF Configuration

放肆的年华 提交于 2019-11-26 16:20:22
This lab is used to emulate a common network topology which is two offices has two network connections. One primary connection as main usage, and second connection will be used as failover purpose only. No load balancing requirement at this time. R5 and R6 can be considered as two branches core switch or firewall. R1 and R2 are acting as edge routers connecting to peer router R3 and R4 in another office. Basic LAB regarding to how to setup logic router and ospf in JUNOS can be referred to previous posts: OSPF between two JunOS routing instances Junos Oliver Logical Router OSPF Lab

Junos Oliver Logical Router OSPF Lab

ε祈祈猫儿з 提交于 2019-11-26 16:20:16
Have a Juniper Oliver running in my vm environment as a test for a while. I believe it is common for people like to research network technology but would not like to purchase expansive devices to stack them at home. To make myself more understanding how ospf operate in JunOS environment, I started to set up a small topology to configure OSPF with logical router feature. So far, only configured OSPF area 10 between logical router R1 and R2: root> show configuration ## Last commit: 2012-01-23 02:18:33 UTC by root version 10.4R3.4; system { root-authentication { encrypted-password “$1$tD7scqlb

OSPF between two JunOS routing instances

别等时光非礼了梦想. 提交于 2019-11-26 16:20:05
test> show version and haiku Model: olive JUNOS Base OS boot [10.4R3.4] JUNOS Base OS Software Suite [10.4R3.4] JUNOS Kernel Software Suite [10.4R3.4] JUNOS Packet Forwarding Engine Support (M/T Common) [10.4R3.4] JUNOS Packet Forwarding Engine Support (M20/M40) [10.4R3.4] JUNOS Online Documentation [10.4R3.4] JUNOS Voice Services Container package [10.4R3.4] JUNOS Border Gateway Function package [10.4R3.4] JUNOS Services AACL Container package [10.4R3.4] JUNOS Services LL-PDF Container package [10.4R3.4] JUNOS Services PTSP Container package [10.4R3.4] JUNOS Services Stateful Firewall [10.4R3

OSPF基础总结

和自甴很熟 提交于 2019-11-26 14:06:01
OSPF路由协议 OSPF是基于链路状态算法的常用的IGP路由协议之一 OSPF基础概念 1.OSPF直接运行于IP之上,使用IP为号为89 OSPF支持以下很多显著的特点 OSPF工作原理 一.链路状态算法的路由计算 (1)邻接关系建立。相邻的路由器会形成OSPF邻接关系。只有邻接关系建立好后,路由器之间才会交互自知道的LSA (2)LSDB同步。邻接关系建立好后,每个OSPF路由器会把自己的LSA通告给自己的邻居,同时接收邻居通告自己的LSA,也会把自己知道的其他路由器LSA通告给邻居。每个路由器会保存自己收到的LSA。所有的LSA的集合被叫做LSDB (3)SPF路由计算。LSDB同步后,每个OSPF路由器会把自己为根运算SPF算法。运算的结果是以自己为根的一颗最短路径树。 (4)路由表生成。根据SPF输,每台路由器多能计算出各自的路由信息,并添加到路由表。 二:OSPF常见报文类型 (1)hello报文: 用于发现和维护邻居关系,,也用来选取DR和BDR (2)DD报文(数据库的描述) :相当于书的目录, 用来传递LSA信息头部, LSA Header只占LSA的整个数据量的一小部分,这样可以减少路由器之间的协议报文流量 (3)链路状态请求(LSR)报文:两台路由器相交换过DD报文之后,知道对端路由器又那些LSA是LSDB所缺少的,这是需要发送缺少的LSA,相当于书的摘要

VXLAN IGP RR 实验

我的未来我决定 提交于 2019-11-26 13:52:52
网络拓扑图: SPINE1配置 ====================================================== hostname SPINE-1 nv overlay evpn feature ospf feature bgp feature pim feature nv overlay ip pim rp-address 192.168.1.8 group-list 239.0.0.0/24 ip pim log-neighbor-changes ip pim ssm range 232.0.0.0/8 ip pim anycast-rp 192.168.1.8 192.168.1.1 ip pim anycast-rp 192.168.1.8 192.168.1.2 vrf context management interface Ethernet1/1 no switchport ip address 10.10.1.1/30 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 ip pim sparse-mode no shutdown interface Ethernet1/2 no switchport ip address 10.10.3.1/30 ip ospf