在哔哩哔哩上学习的CCNA,所做的一些笔记
A router needs to do the following:
1.负责在不通网段之间进行数据转发(三层路由)
2.通过路由表进行三层数据转发
3.维护路由表信息
4.在冗余路径中进行最优路径的判断
5.在三层转发时应用特定转发策略
路由器默认只知道直连的路由信息 必须通过某种方式获知非直连路由
“静态路由” 管理员手工配置路由器路由表
路由器路由条目匹配方式
1.路由器对数据进行精确匹配
2.路由器只匹配子网掩码规定的位(当多条都匹配时,匹配最精确的,即网络位最长的)
3.匹配最终找到一个出接口才能进行转发
4.如果没有匹配路由,则丢弃数据包,并向源返回一个ICMP报错信息(目标信息不可达)
底层网络的负载均衡
1.基于数据包的负载均衡
2.基于数据流的负载均衡 (减少路由器处理数据的时间,提高效率)
路由器转发数据的三种模式
1.process
2.fast
3.CEF
基于数据包的负载均衡:1
基于数据流的负载均衡:2和3
基于数据包的例子:
两条路由,平分数据包
基于数据流的例子:
AB 数据到 C,
则会分为
A ----> C
B ----> C
再细化
A(FTP流量) ---> C
A(QQ流量) ---> C
A(Web流量) ---> C