计算机网络与组网工程
第一次作业
配置PC-2的IP地址,为192.168.1.1/24,网关为192.168.1.254.配置PC-3的IP地址,为192.168.2.1/24,网关为192.168.2.254.
交换机配置
system-view
vlan 10
qu
vlan 20
qu
interface GigabitEthernet 1/0/1
port link-type access
port access vlan 10
interface GigabitEthernet 1/0/2
port link-type access
port access vlan 20
qu
interface Vlan-interface 10
ip address 192.168.1.254 24
qu
interface Vlan-interface 20
ip address 192.168.2.254 24
qu
用PING命令测试设备连通性。