你好!
命令:
enable
vlan database
vlan 2
vlan 3
vlan 4
vlan 100
exit
configure terminal
int vlan 1
ip address 192.168.1.11 255.255.255.0
no shutdown
int vlan 2
ip address 192.168.2.22 255.255.255.0
int vlan 3
ip address 192.168.3.33 255.255.255.0
int vlan 4
ip address 192.168.4.44 255.255.255.0
int vlan 100
ip address 192.168.100.111 255.255.255.0
exit
int range fa0/1 -5
switchport mode access
exit
int fa0/1
switchport access vlan 1
int fa0/2
switchport access vlan 2
int fa0/3
switchport access vlan 3
int fa0/4
switchport access vlan 4
int fa0/5
switchport access vlan 100
exit
附件有PKT文件,需要pt 530008以上版本才能打开
希望你能懂
三层交换机上启动路由,比如在cisco交换机上用ip routing 命令.
在三层交换机的每个vlan接口上设置上IP地址,相应应的pc接的交换机口放到该vlan下面,在pc上设置好ip掩码网关这些就可以互通了.
ip routing 就行了
都是大师啊 很简单