思科ospf实验

 时间:2024-11-06 16:16:03

1、新建拓扑图。

思科ospf实验

2、ip规划:pc0:192.168.10.2/24pc1:192.168.20.2/24pc2:192.168.30.2/24router0 gig0/0:10.1.1.1/24router0 gig0/1:192.168.10.1/24router1 gig0/0:10.1.1.2/24router1 gig0/1:10.1.2.1/24router1 gig0/1:192.168.20.1/24router2 gig0/0:10.1.2.1/24router2 gig0/1:192.168.30.1/24

3、配置router0的接口:configure terminalinterface gigabitEthernet 0/1ip address 192.168.10.1 255.255.255.0no shutdownexitinterface gigabitEthernet 0/0ip address 10.1.1.1 255.255.255.0no shutdownexitdo show ip interface brief

思科ospf实验

4、配置router1的ip地址:configure terminalinterface gigabitEthernet 0/1ip address 10.1.2.1 255.255.255.0no shutdownexitinterface gigabitEthernet 0/0ip address 10.1.1.2 255.255.255.0no shutdownexitinterface gigabitEthernet 0/2ip address 192.168.20.1 255.255.255.0no shutdownexitdo show ip interface brief

思科ospf实验

5、配置router2的ip地址:configure terminalinterface gigabitEthernet 0/0ip address 10.1.2.2 255.255.255.0no shutdownexitinterface gigabitEthernet 0/1ip address 192.168.30.1 255.255.255.0no shutdownexit

6、配置个路由的ospf协议:router2的:router ospf 10network 192.168.30.1 0.0.0.0 area 10network 10.1.2.2 0.0.0.0 area 10exitexitshow running-configrouter1的:router ospf 10network 192.168.20.1 0.0.0.0 area 10network 10.1.2.1 0.0.0.0 area 10network 10.1.1.2 0.0.0.0 area 10exitexitshow running-configrouter0的:router ospf 10network 192.168.10.1 0.0.0.0 area 10network 10.1.1.1 0.0.0.0 area 10exitexitshow running-config

思科ospf实验思科ospf实验思科ospf实验

7、在pc0上进行验证:ping 192.168.20.2ping 192.168.30.2

思科ospf实验
  • Python编程:怎么设置tkinter按钮的宽度
  • js里怎样让页面的时间一直更新
  • 怎样关闭QQ摇动截屏
  • JavaScript设置div内容;js设置div内容
  • 如何向Mysql数据库中插入中文字符
  • 热门搜索
    深圳到厦门旅游攻略 螺髻山旅游攻略 番禺旅游景点大全 花舞人间旅游景区 旅游鞋品牌大全 内蒙古赤峰旅游景点 龙门铁泉旅游度假区 琼海旅游景点 浙江横店旅游攻略 四川冬季旅游景点