igp笔记.docx
- 文档编号:25742551
- 上传时间:2023-06-12
- 格式:DOCX
- 页数:13
- 大小:18.71KB
igp笔记.docx
《igp笔记.docx》由会员分享,可在线阅读,更多相关《igp笔记.docx(13页珍藏版)》请在冰豆网上搜索。
igp笔记
RIP
1.rip防环机制
split-horizonwiththepoisonreverse
time
2.rip时间
timer30speriodicupdate
timer收到新的跳数立刻变抑制,等180s抑制计时器超时,发多少就
是多少
timer60s在invalidtime之后等60s的时间,之后删除路由
timer180s6倍的update时间没受到更新
的消息类型
4.rip的版本中注意
1中,某个几口发送更新的时候只发送与其掩码相同的路由出去
1中,接受路由的掩码自动匹配该接口掩码
3.自动汇总关掉没效果。
自动汇总对路由是否跟新有影响,ver1不支持手动汇总
2发送带掩码
1不支持验证ver2支持验证md5
1发1收1和2
Ver2发2收2
Ipripsend/receivever1/2高于全局下的命令
需要注意的问题.
只能在p2p上用
在p2p要打开
汇总时,在汇总路由器上配一个空接口,防环(类似eigrp)
只接受跟新不发送,
命令就是起接口,neighbor单播更新
6.两个router中间一个3层交换机,只有一跳
EIGRP问题Enhanceinternalgatewayroutingprotocol
四大模块1.邻居发现维护neighbordiscovery
2.可靠传输协议reliabletransportprotocol
协议相关组件
1.Neighbordiscoveryandmatain
packettype:
Hello:
60s小于TI的p2mp
其他全部是5s,
Hello和dead时间独立,(ospfdead随Hello变)
Hello检查的东西:
num
value
3.主从地址建立单项邻居(要注意)
二.reliabletransportprotcol
reliabletransportprotocol
thereliablemulticasttobuttileneighbor
smoothroundtriptime
Retransimissiontimeout=6*SRTT200---5000
3.用多播发送update,同时将跟新保存在top表中,如果没收到到某个ack就单播跟新,如果单播从新传16次,就删除neighbor
1.条件:
邻居的存在和丢失
2.消息在有限的时间内正确的收到
3.所有消息都应该被顺序的检查到
算法:
1.记录从邻居通告过来的所有路由,存放在top
2.优先选择me小的,作为路由,记录FS
消失,fs替代
4.没有fs就查询
(SIA)stockinactive卡在活动状态:
发查询后在3分钟后没有受到所有neighbor的reply后,此路由就被置为SIA,同时把没有发reply的neighbor删除,此路由不能用
4.Eigrp注意的东西
stub(默认是summ和connect)
distanceinternalexternal
3.控制sia的方法:
边界
的作用,防环preventloop
Eigrp路由器接到在发布进来的路由的时候,在top表检测外部路由的生成者(originator-id,如果这个ID和自己的ID一样,那么不接受此路由)
5.掩码不一致产生的问题,可能出环
===(10*7/lowestbandwith+delay和/10)*256
OSPF
1.neighbor
Hellotime
ID
(多路访问才检测)
&BDR(网络类型是否一致)
Hellotime10s40s修改hellodead时间也自动
30s120s
2.adjacency&neighbor
1.多路访问的DRother之间是邻居不是邻接
不同,形成邻居不能成邻接,重传25次后进去down,收到hello在形成neighbor
3.DRother用给DR传,其他一切情况都是ofinterface
(nbma)
(到此已经形成邻居)
(邻接)
DBD(databacediscrib)l
4.typeofnetwork
BMA
不需要DR&BDR
5.cost10*8/bandwidth
6.重传时间。
默认是5s.Ipospfretransmitinterval可用来修改时间
7.Stub&stubno-summary&Nssa&Nssadefault-originate
.areasummary:
area12summmarySummary(外部路由的汇总)
8.接口配钥匙,1.进程配置验证
2.接口下配置验证
9.ospf区域之间的split-horizon
从区域受到的路由不在传个该区域
BGP
1.BGP的消息格式
2.BGP建立连接的过程6个
两端是否建立了正确的IP地址
179端口是否有Tcp连接
3.nobgpdefaultipv4-unicast此命令关闭BGP在Ipv4下的功能
用命令恢复:
ipv4
active
4.BGP的八大属性
igp>egp>incompleteBelongTo:
well-knowandmandatory
bgpbest-pathignoranceBelongTo:
well-knowandmandatory
next-hop-self/unchange
preferanceBelongTo:
well-knowanddiscretionary
AS的出口,默认传as内,影响出去的路
aggregatoBelongTo:
manmadordiscretionary
optionandtransmision
默认只传一个as,一般就是把这个med通告给对方
Neiroute-mapciscoout这个对方就会通过你通告的MED来选择合适的路
不通告给真实的ebgp,联盟的通告
不给任何邻居
不通告给任何ebgp包括联盟的
通告给任何人
5.Bgp选路原则
cisco
preferance
as始发
>IBGP
8.都是EBGP优先选最低igp度量的路径
时旧的路由优先
BGP的Characteristics
protocolwithanhancements
updates
Tcpastransportprocotol
periodicupdates
keepalivearebatched(批量)andratelimited
(5secondsinInternalPeer,30secondsinExtendPeer)
updatesonly
metric(Calledpathattributes)
2.几个列表的优先级
route-map>filter-list>prefix-list
MULTICAST
跑多播的条件1.要有能被多播识别的地址集
2.主机加入和推出机制
3.有一个能是路由器传输多播而且不过度消耗资源的路由协议
Whatismulticast多播是向一组接收者发送数据的方法
Multicastisawaysendingdatatoagroupofreceiver
多播的地址:
路由协议用的
全球路由多播地址
私有多播地址
IGMPv2(InternetGroupManagementProtocol)
Query
Query
IGMPV1
没有group-SpecificQuery
没有离开信息,没有查询的选择
CGMP(CiscoGroupManagementProtocol)
Host------IGMP----router----CGMP-----switch--(决定那些端口转multicast)
PIMDM的消息
1.Hello(邻居发现)30s
2.Join/Prune(Join和lease)
3.Graft(转发流量)
4.GraftAck
(多路访问中,多个上游路由器决定那个转发)
PIM--SM消息类型
1.Hello
2.Bootstrap
3.Candidate_RP-Advertisement
4.Jion/Prune
5.Assert
6.Register
7.Register-stop
RP(RendezvousPoint)
BSR:
Candidate向BSR用unicast发送的是RP集(没选出来)
Autp-RP
C-RP向MA用谁是RP
静态RP,
静态RP的loopback不需要配置模式
一般如果是sparse-dense-mode用autoRP(loopback只配置sparse-mode)
一般如果是纯sparse模式用BSR多些。
(loopback配置sparse-mode)
Ippimnbma-mode只用在sparse-mode里的FR里
MA不能是spoke点,需要配置在Hub端
多播解决范围的方法:
(TimeToLive)
SPT(ShortestPathTree)
Priority:
morememory
delay
SharedTree
Priority
lessmemory
(router)costmoreresource
reducedelay
地址是多少
IP地址的后23加上01005E才构成了多播的MAC地址
反过来计算:
10111011.00000011.11001001
------------0111011.00000011.11001001(后23)
(MulticastSourceDiscoveryProcotol)
SA消息包括:
1.多播源地址
2.发送组地址
3.源RP地址
IPV6
:
:
1/128换回地址
0:
0:
0:
0:
0:
0:
0:
0default-gateway
Linklocalfe80:
:
/10
Sitilocalfec0:
:
/10
2001:
/16全球单播地址
2002:
/166-4骨干
Qos:
1简
1.Tcp的同步(synchronization)
2.TcpStarvation
3.Highdelayandjitter
4.Dropnodistri
Part1(someconcepts)
8.HowdoesRIPmaketheroutinginformationreliable
*Itsendtheroutingtableperiodic,erery
30seconds
9.Whatinformationsaroutecontain
(AdministrateDistance)
(RoutingInformationProtocol)(hop)
(EnhanceInternelGatewayRoutingProtocol)(DAUL)
(OpenShortestPathFirst)
(BoundaryGatewayPtotocol)
threetableinEIGRP
table
table
table
5.RIP(UDP520)
6.Ospf(Tcp88)
7.EIGRP(Tcp89)
8.BGP(Tcp179)
9.EIGRPNeighbor
value
number
10.Ripv1broadcastupdate
Ripv2split-horizondistancevecto
11.WhatinformationthetypeintheBGPsession
12.What'sthefunktiongoftherouter-idineigrp
It'susedtopreventloop,whenaeigrprouterreceiveaexternalroute,itwillchecktheoriginatorofthisroute,itwilldropthisrouteiftherouter-idoftheoriginatoristhesametoitselves,
13.BGPattriubution
Weight
localprefence
Igp>ebgp(AS之内)
Originator
Aspath
MED
Ebgp>ibgp(as之间)
邻居的吓一跳iGP谁更短
Max-path
Router-id小的
14.Whyalltheibgproutersmustbefullmesh
theloop
alltheroutesarereachable
15.OsiLayer
Layer
Layer
Layer
Layer
Layer
Layer
Layer
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- igp 笔记