在最新的HCL模拟器上,一个简单的拓扑,一台S6850交换机,两台PC.
配置了private-vlan功能。
其中,vlan10是主 vlan, vlan2是子vlan.
pc1(192.168.1.1/24),pc2(192.168.1.2/24)分别
接在交换机1口,2口,配置成port private-vlan host
vlan2配置private-vlan isolated
主vlan10配置了虚接口地址:192.168.1.254/24
现在问题1:PC1能ping通PC2
问题2:PC1,PC2两台机器都Ping不通192.168.1.254
请教一下,是什么原因?
========================================================
#
vlan 2
private-vlan isolated
#
vlan 3
#
vlan 10
private-vlan primary
private-vlan secondary 2 to 3
#
#
interface Vlan-interface10
ip address 192.168.1.252 255.255.255.0
vrrp vrid 10 virtual-ip 192.168.1.254
vrrp vrid 10 priority 110
#
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 2 10 untagged
port hybrid pvid vlan 2
port private-vlan host
combo enable fiber
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 2 10 untagged
port hybrid pvid vlan 2
port private-vlan host
combo enable fiber
#
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论