Profil de 凯建造我的网络帝国BlogListes Outils Aide

建造我的网络帝国

生命不止 战斗不息

凯 钱

11 avril

OSPF LSA Type

Type 1 路由器LSA 由运行OSPF的路由器发出

Type 2 网络LSA 由指定路由器(DR)发出

Type 3 网络汇总LSA 由ABR发出 用来通告该区域外部的目的地址

Type 4 ASBR汇总LSA由ABR发出 用来通告ASBR路由器的位置

Type 5 自主系统外部LSA 由ASBR发出 同来通到到达OSPF自主系统外部目的地的LSA

Type 7 NSSA外部LSA 在非纯末梢区域内始发于ASBR,当通告到区域0时 被改为Type 5

 

泛洪

骨干区域 允许 Type 1,2,3,4,5 不允许 Type 7

非骨干区域非末梢区域 允许 Type 1,2,3,4,5 不允许 Type 7

末梢区域 允许 Type 1,2,3 不允许 Type 4,5,7

完全末梢区域 允许 Type 1,2 不允许 Type 3,4,5,7 需要一个LSA Type 3来通告缺省路由

非纯末梢区域 允许 Type 1,2,3,4,7 不允许 Type 5

10 avril

HSRP VRRP

HSRP ------ Hot Standby Redundancy Protocol

VRRP ------ Virtual Router Redundancy Protocol

下面总结一下HSRP和VRRP的区别

1.认证 HSRP不支持 

             VRRP允许参与VRRP组的设备之间建立认证机制,有3种认证机制 无认证 简单的明文密码 md5 HMAC

2.IP地址 HSRP不允许虚拟IP地址使用参与HSRP组的设备的真实IP地址 VRRP允许使用

               因此假如采用两台设备作冗余备份,HSRP需要3个IP地址,而VRRP只需要2个IP地址,VRRP组中拥有该虚拟地址的设备,成为Master,该设备为地址拥有者

3.报文 HSRP有3种报文:呼叫(Hello)报文     告辞(Resign)报文     突变(Coup)报文

            VRRP有1种报文:由主路由器定时发出来通告它的存在,使用这些报文可以检测虚拟路由器各种参数,还可以用于主路由器的选举。发送间隔默认1s

4.状态 HSRP有6种状态:初始(Initial)状态,学习(Learn)状态,监听(Listen)状态,对话(Speak)状态,备份(Standby)状态,活动(Active)状态

            VRRP有3种状态:初始状态(Initialize)、主状态(Master)、备份状态(Backup)

5.事件 HSRP有8个事件

            VRRP有5个事件

6.报文承载 HSRP:UDP1985 向组播地址224.0.0.2发送

                   VRRP:既没用TCP,也没用到UDP,自己独立占用ip protocol number 112,利用多播进行通讯,所使用的多播地址为224.0.0.18

7.TTL  HSRP TTL=1 保证了

            VRRP TTL=255 并在接受时检查,保证了不会被远程网络添加内容

8.端口track HSRP支持

                   VRRP不支持

9.所属 HSRP私有

10.mac地址 HSRP:00-00-0c-07-ac-VRID

                    VRRP:00-00-5e-00-01-VRID

5 avril

What is SNAP?

SNAP(Sub-Network Accesss Protocol ) ---------------子网访问协议

子网络访问协议(SNAP)规范了在 IEEE802 网络上传输 IP 数据报的标准方法。换句话说,IP 数据报可以封装在 802.2 LLC、SNAP 数据链路层和802.3、802.4或802.5网络物理层中,然后在 IEEE802 网络上发送。

SNAP 包含于逻辑链路控制(LLC IEEE 802.2)协议头中,主要用来在 IEEE 802 网络上封装 IP 数据包、地址解析协议(ARP)的请求和答复。SNAP 协议头位于 LLC 协议头后并且包含了组织代码,该组织代码表示接下来16位的以太类(EtherType)代码。通常情况下,人们采用802.2类型1实现所有通信过程。但同样位于 IEEE 802 网络的系统(Consenting systems)的两信点 在经过检验后都支持可以使用802.2类型2,该过程可以通过 802.2 XID 机制实现。但目前仍然推荐使用类型1方案而且所有实施必须支持该服务类型。
通过地址解析协议(ARP)的动态发现过程,可以将32位 Internet 地址映射为 16 位或 48 位 IEEE 802 地址。IEEE 802 网络具有 16 位或 48 位物理地址。SNAP 中可以使用任意一种。

在 SNAP 中,IP 数据报的传输并不依赖于下层 LAN 技术(各种以太网和令牌环网类型)的传输速率,它们具有各种不同的传输速率(从 1 Mbps 到 20 Mbps)

30 mars

FRR 快速重路由

What is FRR?

FRR,快速重路由,fast restoration mechanism. 就是一条LSP出现问题,不能正常传输信令和数据,这时候就将信令与数据转移到事先已经建立好的另外一条路径上去,以保证业务不会中断。可以这样理解FRR是一种保护措施。在FRR中有三种不同类型的保护方案,一种是路径保护,也称为端到端保护,解释一下这种方式是通过和现在的LSP并行建立额外一条LSP,这条LSP只会在发生失效时使用。另外一种为局部保护,或称为本地保护,即备份LSP只对原LSP的一部分进行保护。由于保护的对象不同,有的是对LSP中的结点进行保护,这种称为结点保护,而相应的保护对象是LSP中某链路,此为链路保护。链路保护与节点保护的区别?这里有几个术语需要理解:PLR,MP,Nhop,NNHop

Why FRR is needed?

首先就是网络,由若干主机及链路组成的网络总会出现节点或链路的失效,这种情况下可能会有大量的流量丢失,若采用传统的修复方式IGP对剩余的拓扑进行汇聚,一般过程就是当链路或者节点时,这个失效会通告到路径的则需要太长的时间,对于数据流量来说几秒钟的分组丢失是可以忍受的,但是对于实时应用如语音,视频以及其他一些传统应用则不能满足要求了,使用MPLS TE的FRR可以实现少于等于50ms 的实现,FRR机制的最大目标是得到尽可能少的分组丢失。

What is changed?

MPLS TE的信令协议RSVP,为支持MPLS中的标签交换,增加了五个对象,分别是关于标签的Label,Label-Request,ERO,RRO,Session-attribute,现在为了使RSVP能够支持FRR,同样对协议进行了扩展,可以想像增加或发生改变的对象,都是为了说明备份隧道的属性的。具体扩展为:Path消息中新增fast-reroute对象及detour对象,Fast-reroute对象是用来控制备份链路的,它只能由LER插入Path消息中。Detour对象只用于1-1保护中。发生改变的对象有:Path消息的SESSION_ATTRIBUTE,Resv消息的RRO,这两个对象中新增两个标识:带宽保护请求和节点保护请求,带宽保护和节点保护.

How does FRR work?

FRR工作的过程,只需要明白头节点,PLR,MP是怎样工作的就好了。

27 décembre

Queuing Tools:FIFO,PQ,CQ,WFQ,CBWFQ,and LLQ

Feature PQ CQ WFQ CBWFQ LLQ
Includes a strict-priority queue yes       yes
Polices priority queues to prevent starvation         yes
Reserves bandwidth per queue   yes   yes yes
Includes robust set of classification fields       yes yes
Classifies based on flows     yes yes yes
Supports RSVP     yes yes yes
Maxinum number of queues 4 16 4096 64 64

yes: WFQ can be used in the class-default queue,or in all CBWFQ queues in 7500 series  routers

16: Also includes a system queue that is unavailable for customer use

16 décembre

RIP 排错

rip 

下午在温故RIP实验时,出现了一个费解的现象,将RIP版本从1升到2后还是存在这一现象,

一步一步排错,还是无法解决。我保存配置,重启了所有路由器,现象消失……

以下是各个路由器的一些关键数据(费解的一条路由已经加粗,本来在R2上也有这一条路由,在我

复制时这条路由消失,并不是到了FLUSH时间消失,同样的路由存在了大约20多分钟,最后莫名消失

在R2上做Traceroute 130.1.2.1 PING数据包首先到R3再回R2 最后被丢弃 )

R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     130.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
C       130.1.1.0/24 is directly connected, Ethernet0/0
R       130.1.0.0/16 [120/3] via 130.1.1.2, 00:00:28, Ethernet0/0
     10.0.0.0/32 is subnetted, 1 subnets
C       10.1.1.1 is directly connected, Loopback0
R    192.168.1.0/24 [120/1] via 130.1.1.2, 00:00:28, Ethernet0/0
     180.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
R       180.1.1.0/24 [120/2] via 130.1.1.2, 00:00:28, Ethernet0/0
R       180.1.0.0/16 [120/2] via 130.1.1.2, 00:00:28, Ethernet0/0

R1#show run | be router rip
router rip
version 2
network 130.1.0.0
no auto-summary

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     130.1.0.0/24 is subnetted, 1 subnets
C       130.1.1.0 is directly connected, Ethernet0/0
     10.0.0.0/32 is subnetted, 1 subnets
C       10.2.2.2 is directly connected, Loopback0
C    192.168.1.0/24 is directly connected, Serial1/1.23
     180.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
R       180.1.1.0/24 [120/1] via 192.168.1.3, 00:00:13, Serial1/1.23
R       180.1.0.0/16 is possibly down,
          routing via 192.168.1.3, Serial1/1.23

R2#show run | be router rip
router rip
version 2
network 130.1.0.0
network 192.168.1.0
no auto-summary

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     130.1.0.0/24 is subnetted, 1 subnets
R       130.1.1.0 [120/1] via 192.168.1.2, 00:00:13, Serial1/1
     10.0.0.0/32 is subnetted, 1 subnets
C       10.3.3.3 is directly connected, Loopback0
C    192.168.1.0/24 is directly connected, Serial1/1
     180.1.0.0/24 is subnetted, 1 subnets
C       180.1.1.0 is directly connected, Ethernet0/0

R3#show run | be router rip
router rip
version 2
passive-interface Serial1/1
network 180.1.0.0
network 192.168.1.0
neighbor 192.168.1.2
no auto-summary

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

R5#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     130.1.0.0/24 is subnetted, 1 subnets
R       130.1.1.0 [120/2] via 180.1.1.3, 00:00:12, Ethernet0/0
     10.0.0.0/32 is subnetted, 1 subnets
C       10.5.5.5 is directly connected, Loopback0
R    192.168.1.0/24 [120/1] via 180.1.1.3, 00:00:12, Ethernet0/0
     180.1.0.0/24 is subnetted, 1 subnets
C       180.1.1.0 is directly connected, Ethernet0/0

R5#show run | be router rip
router rip
version 2
network 180.1.0.0
no auto-summary

                                                                       ----------------------------------------------------

                                                                                     semi  2007/12/16 19:54

18 novembre

转战了几个BLOG还是回到了这里

最近这段时间,心态不是很好,因为找工作了,突然发现,找工作不是原来想的那么回事,感觉公司基本不看你个人综合素质怎么样。。。。为自己加油了

ps:发布完后,突然看到现在已经是2007年的11月了,上次发布还是2006年的3月。。。