04利用三层交换机实现不同VLAN间的通信.
利用三层交换机实现不同VLAN间通信 一、实验拓扑: 设备选用 三层设备选用 1-s3760-1 二层设备选用 1-s2328G-1 三台电脑 4根双绞线 步骤 1-s3760-1>en 14 admin 1-s3760-1#conf t 1-s3760-1(config)#hostname sw1 sw1(config)#vlan 10 sw1(config-vlan)#exit sw1(config)#vlan 20 sw1(config-vlan)#exit sw1(config)#int f0/2 sw1(config-if)#switchport mode access sw1(config-if)#switchport access vlan 10 sw1(config)#int f0/3 sw1(config-if)#switchport mode access sw1(config-if)#switchport access vlan 20 sw1(config)#int f0/1 sw1(config-if)#switchport mode trunk 1-s2328G-1>en 14 admin 1-s2328G-1#conf t 1-s2328G-1(config)#hostname sw2 sw2(config)#vlan 10 sw2(config-vlan#exit sw2(config)#int f0/2 sw2(config-if)#switchport mode access sw2(config-if)#switchport access vlan 10 sw2(config-if)#exit sw2(config)#int f0/1 sw2(config-if)#switchport mode trunk 利用三层交换机的SVI口实现不同VLAN间的通信 sw1(config)#int vlan 10 sw1(config-vlan-if)#ip address 192.168.1.1 255.255.255.0 sw1(config-vlan-if)#exit
- 粉丝: 11
- 资源: 68
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助