g 0/0/1下面加了一台标准交换的傻瓜交换机
PC连着傻瓜交换机,但是ping不同自己的网关10.134.148.1 ,配置如下
#
vlan 140
ip-subnet-vlan 0 ip 10.134.140.0 255.255.255.0
#
vlan 141
ip-subnet-vlan 0 ip 10.134.141.0 255.255.255.0
#
vlan 142
description Else
ip-subnet-vlan 0 ip 10.134.142.0 255.255.255.0
#
vlan 146
ip-subnet-vlan 0 ip 10.134.146.0 255.255.255.0
#
vlan 148
ip-subnet-vlan 0 ip 10.134.148.0 255.255.255.0
#
stp global enable
#
interface NULL0
#
interface Vlan-interface140
ip address 10.134.140.1 255.255.255.0
#
interface Vlan-interface141
ip address 10.134.141.1 255.255.255.0
#
interface Vlan-interface142
ip address 10.134.142.1 255.255.255.0
#
interface Vlan-interface146
ip address 10.134.146.1 255.255.255.0
#
interface Vlan-interface148
ip address 10.134.148.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-mode bridge
port link-type hybrid
port hybrid vlan 1 140 to 142 146 148 untagged
port hybrid ip-subnet-vlan vlan 140
port hybrid ip-subnet-vlan vlan 141
port hybrid ip-subnet-vlan vlan 142
port hybrid ip-subnet-vlan vlan 146
port hybrid ip-subnet-vlan vlan 148
#
能识别,抓包看数据帧,也有802.1q,vid和配置的也一样
g 0/0/1下面加了一台标准交换的傻瓜交换机
PC连着傻瓜交换机,但是ping不同自己的网关10.134.148.1
(0)
0/0/1直接改成access,access vlan 148
(0)
这个是基于ip的vlan,下面链接的傻瓜交换机上有其他vlan的ip地址
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这个是基于ip的vlan,下面链接的傻瓜交换机上有其他vlan的ip地址