第三次作业


sysname LSW1
vlan batch 2 3 100
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 3
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 3 100
interface Vlanif2
ip address 192.168.20.1 255.255.255.0
interface Vlanif3
ip address 192.168.30.1 255.255.255.0
interface Vlanif100
ip address 12.0.0.1 255.255.255.0
sysname LSW2
vlan batch 2 3 100
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 3
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 3 100
interface Vlanif100
ip address 12.0.0.2 255.255.255.0
ip route-static 0.0.0.0 0.0.0.0 12.0.0.1
sysname LSW3
vlan batch 2 3
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 3
interface GigabitEthernet0/0/2
port link-type access
port default vlan 2
interface GigabitEthernet0/0/3
port link-type access
port default vlan 3
sysname LSW4
vlan batch 2 3
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 3
interface GigabitEthernet0/0/2
port link-type access
port default vlan 2
interface GigabitEthernet0/0/3
port link-type access
port default vlan 3
| PC1 | 192.168.20.2 | 255.255.255.0 | 192.168.20.1 | |
| PC2 | 192.168.30.2 | 255.255.255.0 | 192.168.30.1 | |
| PC3 | 192.168.20.3 | 255.255.255.0 | 192.168.20.1 | |
| PC4 | 192.168.30.3 | 255.255.255.0 | 192.168.30.1 |
DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐

所有评论(0)