操作方法
按如图所示绘制拓扑图
启动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间能否互通