PC1接交换机:1/0/2口;地址为:192.168.1.2/24;网关192.168.1.1
PC1接交换机:1/0/3口;地址为:192.168.3.2/24;网关192.168.3.1
交换机配置如下:
# vlan 10 ip-subnet-vlan 0 ip 192.168.1.0 255.255.255.0
# vlan 20 ip-subnet-vlan 0 ip 192.168.2.0 255.255.255.0
# vlan 30 ip-subnet-vlan 0 ip 192.168.3.0 255.255.255.0
# interface Vlan-interface10 ip address 192.168.1.1 255.255.255.0
# interface Vlan-interface20 ip address 192.168.2.1 255.255.255.0
# interface Vlan-interface30 ip address 192.168.3.1 255.255.255.0
# interface GigabitEthernet1/0/2
port link-mode bridge
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 10 20 30 untagged
port hybrid ip-subnet-vlan vlan 10
port hybrid ip-subnet-vlan vlan 20
port hybrid ip-subnet-vlan vlan 30
combo enable fiber
# interface GigabitEthernet1/0/3
port link-mode bridge
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 10 20 30 untagged
port hybrid ip-subnet-vlan vlan 10
port hybrid ip-subnet-vlan vlan 20
port hybrid ip-subnet-vlan vlan 30
combo enable fiber
HCL测试PC1 PING PC2不通,求教
基于子网VLAN划分
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论