了解一下路由引发的环路问题
来验证一下:
1.拓扑图
2.主机配置
3.路由配置
R5:
#
interface Ethernet0/0/0
ip address 10.1.0.254 255.255.255.0
#
interface Ethernet0/0/1
ip address 10.1.1.254 255.255.255.0
#
interface GigabitEthernet0/0/0
ip address 10.1.3.254 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.1.2.254 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 12.1.1.1 255.255.255.0
#
R6:
R6->PC7 配置默认路由:
#
interface Ethernet0/0/0
ip address 12.1.1.2 255.255.255.0 //IP 地址
#
interface Ethernet0/0/1
ip address 12.1.2.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 12.1.2.2 //默认路由
#
R8:
R7->PC3-6 配置汇总路由
#
interface Ethernet0/0/0
ip address 12.1.2.2 255.255.255.0 //IP 地址
#
interface Ethernet0/0/1
ip address 10.10.10.1 255.255.255.0
#
ip route-static 10.1.0.0 16 12.1.2.1
4.验证测试
在R8上测试,用R8ping左侧主机
5.解决环路问题
点个小赞 给予点鼓励呗