gns3.0 静态路由配置

作者:彼岸花开 | 创建时间: 2023-05-12
静态路由是指由用户或网络管理员手工配置的路由信息。当网络的拓扑结构或链路的状态发生变化时,网络管理员需要手工去修改路由表中相关的静态路由信息。静态路由信息在缺省情况下是私有的,不会传递给其他的路由器。当然,网管员也可以通过对路由器进行设置使...
gns3.0 静态路由配置

操作方法

按如图所示绘制拓扑图

启动R1,并对R1进行配置 config t int f0/0 no sw ip address 192.168.1.1 255.255.255.0 no shutdown exit int f0/1 no sw ip address 10.10.10.1 255.255.255.0 no shutdown exit ip route 192.168.2.0 255.255.255.0 10.10.10.2 ip route 192.168.3.0 255.255.255.0 10.10.10.2

启动R2,并对R2进行配置。 config t int f0/0 no sw ip address 192.168.2.1 255.255.255.0 no shutdown exit int f0/1 no sw ip address 10.10.10.2 255.255.255.0 no shutdown exit int f0/2 no sw ip address 20.20.20.1 255.255.255.0 no shutdown exit ip route 192.168.1.0 255.255.255.0 10.10.10.1 ip route 192.168.3.0 255.255.255.0 20.20.20.2

启动R3,并对R3进行配置 config t int f0/0 no sw ip address 192.168.3.1 255.255.255.0 no shutdown exit int f0/2 no sw ip address 20.20.20.2 255.255.255.0 no shutdown exit ip route 192.168.1.0 255.255.255.0 20.20.20.1 ip route 192.168.2.0 255.255.255.0 20.20.20.1

打开VPCS,将Qemu1的IP设置为192.168.1.2,Qemu2的IP地址设置为192.168.2.2,Qemu3的IP地址设置为192.168.3.2

检验各PC间能否互通

点击展开全文

更多推荐