- Java锁的逻辑(结合对象头和ObjectMonitor)
- 还在用饼状图?来瞧瞧这些炫酷的百分比可视化新图形(附代码实现)⛵
- 自动注册实体类到EntityFrameworkCore上下文,并适配ABP及ABPVNext
- 基于Sklearn机器学习代码实战
转载请注明出处:
。
其中R7、R8为L1,R6为L1/2,R9为L2.
[Huawei]isis 1 [Huawei -isis- 1 ]di th # isis 1 is -level level- 1 network -entity 10.0000 . 0000.0001 . 00 # return [Huawei -isis- 1 ] [Huawei -isis- 1 ]quit [Huawei] interface Ethernet0/ 0 / 0 [Huawei -Ethernet0/ 0 / 0 ]di th # interface Ethernet0/ 0 / 0 ip address 10.1 . 1.2 255.255 . 255.0 isis enable 1 isis circuit - type p2p # return [Huawei -Ethernet0/ 0 / 0 ]
[Huawei] [Huawei]isis 1 [Huawei -isis- 1 ]di th # isis 1 is -level level- 1 network -entity 10.0000 . 0000.0002 . 00 # return [Huawei -isis- 1 ] [Huawei -isis- 1 ]quit [Huawei] interface Ethernet0/ 0 / 0 [Huawei -Ethernet0/ 0 / 0 ]di th # interface Ethernet0/ 0 / 0 ip address 10.1 . 2.2 255.255 . 255.0 isis enable 1 isis circuit - type p2p # return [Huawei -Ethernet0/ 0 / 0 ]
[Huawei]isis 1 [Huawei -isis- 1 ] [Huawei -isis- 1 ]di th # isis 1 network -entity 10.0000 . 0000.0003 . 00 # return [Huawei -isis- 1 ]quit [Huawei] interface Ethernet0/ 0 / 0 [Huawei -Ethernet0/ 0 / 0 ]di th # interface Ethernet0/ 0 / 0 ip address 10.1 . 1.1 255.255 . 255.0 isis enable 1 isis circuit - type p2p # return [Huawei -Ethernet0/ 0 / 0 ]quit [Huawei] interface Ethernet0/ 0 / 1 [Huawei -Ethernet0/ 0 / 1 ]di th # interface Ethernet0/ 0 / 1 ip address 10.1 . 2.1 255.255 . 255.0 isis enable 1 isis circuit - type p2p # return [Huawei -Ethernet0/ 0 / 1 ]quit [Huawei] interface GigabitEthernet0/ 0 / 0 [Huawei -GigabitEthernet0/ 0 / 0 ]di th # interface GigabitEthernet0/ 0 / 0 ip address 192.168 . 0.1 255.255 . 255.0 isis enable 1 isis circuit - type p2p # return [Huawei -GigabitEthernet0/ 0 / 0 ]
<Huawei> sys Enter system view, return user view with Ctrl+ Z. [Huawei]isis 1 [Huawei -isis- 1 ]di th # isis 1 is -level level- 2 network -entity 20.0000 . 0000.0004 . 00 # return [Huawei -isis- 1 ]quit [Huawei] interface Ethernet0/ 0 / 0 [Huawei -Ethernet0/ 0 / 0 ]di th # interface Ethernet0/ 0 / 0 ip address 192.168 . 0.2 255.255 . 255.0 isis enable 1 isis circuit - type p2p # return [Huawei -Ethernet0/ 0 / 0 ]quit [Huawei] interface Ethernet0/ 0 / 1 [Huawei -Ethernet0/ 0 / 1 ]di th # interface Ethernet0/ 0 / 1 ip address 172.16 . 1.1 255.255 . 0.0 isis enable 1 isis circuit - type p2p # return [Huawei -Ethernet0/ 0 / 1 ]
。
在R7上ping 这台PC得ip 。
。
。
。
。
。
在R7或R8上ping PC得ip时,发现可以ping通,但是观察上面R7、R8得路由表时,并不存在PC得路由信息。它是如何ping通得呢?
观察R8中ping PC得相关信息:
。
发现R8得路由表中存在一个 0.0.0.0/0 得路由信息。这个路由是设备自动生成得。这个路由又称为缺省路由。在ping 172.16.1.2时,会通过这个缺省路由转发到下一跳。下一跳正好转发到了R6得路由设备中,在从R6--->R9----->PC。完成了一个ping包得过程.
缺省路由(Default route)是在路由表中指定的一条特殊路由,用于处理目的地地址无法匹配其他路由表条目时的情况。它充当一个"默认"路径,将数据包引导到网络中的下一跳。缺省路由通常使用0.0.0.0/0作为目标地址,表示所有未知目的地.
缺省路由的作用是将流量路由到目标地址未知或不可达的区域。当路由器接收到一个数据包时,它会查找路由表以确定如何转发该数据包。如果没有与目的地地址完全匹配的条目,路由器将检查是否存在缺省路由。如果存在缺省路由,则数据包将通过缺省路由发送到下一跳地址.
。
最后此篇关于使用ensp搭建路由拓扑,并使用isis协议实现网络互通实操的文章就讲到这里了,如果你想了解更多关于使用ensp搭建路由拓扑,并使用isis协议实现网络互通实操的内容请搜索CFSDN的文章或继续浏览相关文章,希望大家以后支持我的博客! 。
我是一名优秀的程序员,十分优秀!