首页 > 其他分享 >华为路由-动态路由RIP-详细过程

华为路由-动态路由RIP-详细过程

时间:2023-04-27 17:33:07浏览次数:36  
标签:网段 network g0 RIP 华为 192.168 address 0ip 路由

华为路由-动态路由RIP-详细过程_R3

R1

interface g0/0/0

ip address 192.168.10.1 24                        第一步:先把R1、R2、R3、R4的端口IP设置好

interface g0/0/1                                    第二部:使用rip 宣告自己的网段

ip address 192.168.20.1 24                                dis ip route    查看路由表

rip             启用RIP路由

version 2      启用rip version 2

undo summary   关闭自动汇总

network 192.168.10.0     宣告自己的网段

network 192.168.20.0     宣告自己的网段

R2

interface g0/0/0

ip address 192.168.20.2 24

interface g0/0/1

ip address 192.168.30.1 24

rip

version 2

undo summary

network 192.168.20.0

network 192.168.30.0

R3

interface g0/0/0

ip address 192.168.30.2 24

interface g0/0/1

ip address 192.168.40.1 24

rip

version 2

undo summary

network 192.168.30.0

network 192.168.40.0

R4

interface g0/0/0

ip address 192.168.40.2 24

interface g0/0/1

ip address 10.10.10.1 24

rip

version 2

undo summary

network 192.168.40.0

network 10.0.0.0   根据网段类别A类写的

备注:1.为什么关闭自动汇总?

默认会在主类网络边界做自动汇总,若有不连续网络,会导致路由学习异常

通告网络时:只能通告主类网络,即使network写子网地址,也会通告该主类网络,属于该主类网络的所有接口,都会被通告进rip进程。

标签:网段,network,g0,RIP,华为,192.168,address,0ip,路由
From: https://blog.51cto.com/u_16017004/6231901

相关文章

  • 华为路由-动态路由OSPF area 多区域-详细过程
                  OSPFarea 多区域R1[r1]interfaceg0/0/0[r1-GigabitEthernet0/0/0]ipaddress192.168.10.224       interfaceg0/0/1                                   [r1-GigabitEthernet0/0/1]ip......
  • js javascript 鼠标触碰select下拉列表渐变出div层,鼠标离开渐变缩回
    <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-......
  • java js JavaScript 设置html:radio的默认选中, js也可以用el表达式
    <html:radioproperty="consumptionClass"value="花了">花了</html:radio><html:radioproperty="consumptionClass"value="赚了">赚了</html:radio><html:radioproperty="consumptionClass"va......
  • 前端JavaScript的精确计算问题
    问题发现"47.900000"*"771.65" = 36962.034999999996 (错误)  36962.035(正确)问题定位JavaScript前端计算不精确(浮点数计算的精确问题)问题解决除法函数,用来得到精确的除法结果说明:javascript的除法结果会有误差,在两个浮点数相除的时候会比......
  • javascript通过按钮实现超链接
    <html:buttonproperty="PassWordReturnButton"onclick="PassWordReturnJavaScript();">返回</html:button><scriptlanguage="javascript"type="text/javascript">functionPassWordReturnJavaScript(){win......
  • JavaScript把数字转为汉字数字的function
    functionnumberToChinese(num){vardigits=["","一","二","三","四","五","六","七","八","九"];varunits=["","十",&quo......
  • 华为机试 本期题目:货币单位换算
    最近更新的博客华为od2023|什么是华为od,od薪资待遇,od机试题清单 https://dream.blog.csdn.net/article/details/128980730华为OD机试真题大全,用Python解华为机试题|机试宝典 https://dream.blog.csdn.net/article/details/129221789【华为OD机试】全流程解析......
  • 华为机试 本期题目:猜字谜
    华为OD机试【4大宝典】再次上新题!①Python解华为机试题:https://dream.blog.csdn.net/article/details/129221789 ②C++解华为机试题:https://dream.blog.csdn.net/article/details/129472919 ③Java解华为机试题:https://dream.blog.csdn.net/article/details/12965251......
  • 华为机试 剩余可用字符集 or @分割可用字符集
    最近更新的博客华为od2023|什么是华为od,od薪资待遇,od机试题清单 https://dream.blog.csdn.net/article/details/128980730华为OD机试真题大全,用Python解华为机试题|机试宝典 https://dream.blog.csdn.net/article/details/129221789【华为OD机试】全流程解析......
  • [转]typeScript interface和type区别
    原文地址:https://www.jianshu.com/p/555e6998af36以下为截取的总结,详细请点击查看原文:总结interface和type很像,很多场景,两者都能使用。但也有细微的差别:不同点:扩展语法:interface使用extends,type使用‘&’同名合并:interface支持,type不支持。描述类型:对象、函数......