实验环境:GNS3模拟器
实验组网:
PCA配置:
PCA> ip 192.168.1.2/24 192.168.1.1
Checking for duplicate address…
PC1 : 192.168.1.2 255.255.255.0 gateway 192.168.1.1
PCA> save
Saving startup configuration to startup.vpc
. done
PCB配置:
PCB> ip 192.168.2.2/24 192.168.2.1
Checking for duplicate address…
PC1 : 192.168.2.2 255.255.255.0 gateway 192.168.2.1
PCB> save
Saving startup configuration to startup.vpc
. done
SWA配置:
SWA>enable
SWA#configure terminal
Enter configuration commands, one per line. End with CN