找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1478|回复: 2

[其它] 华为VLAN问题

[复制链接]
发表于 2008-5-30 09:16:06 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
高手们看看我做VLAN的方法对不对
我这是个16口的华为交换机,我用第16口做连接路由的口,剩下的15个口连接家庭电脑,因为家庭电脑一直中毒。。。我的要求是让这15个口攻击不到路由器
现在VLAN都配好了,TRUNK口也连接了,可下面的电脑都上不了网.
<Quidway>sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]dis vlan all
VLAN ID: 1
VLAN Type: static
Route Interface: not configured
Description: VLAN 0001
Tagged   Ports: none
Untagged Ports:
             Ethernet0/1           Ethernet0/2           Ethernet0/3
             Ethernet0/4           Ethernet0/5           Ethernet0/6
             Ethernet0/7           Ethernet0/8           Ethernet0/9
             Ethernet0/10          Ethernet0/11          Ethernet0/12
             Ethernet0/13          Ethernet0/14          Ethernet0/15
             Ethernet0/16

[Quidway]vlan 2
[Quidway-vlan2]port e0/1 to e0/15 (设置从1口到15口都属于VLAN 2)
[Quidway-vlan2]qu
[Quidway]int e0/16
[Quidway-Ethernet0/16]port link-type trunk
[Quidway-Ethernet0/16]port trunk per vlan 2
Please wait... Done.
[Quidway-Ethernet0/16]
routeros
发表于 2008-6-17 09:47:11 | 显示全部楼层
貌似 E0/16不能设置成 trunk吧?如果这么设置 那与E016 连接的设备端口也得设置成
trunk
routeros
回复

使用道具 举报

发表于 2008-6-17 12:27:42 | 显示全部楼层
交换机没问题
你ROS的网卡支持 802.1Q么
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-18 05:19 , Processed in 0.073275 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表