wangbing278 发表于 2008-5-30 09:16:06

华为VLAN问题

高手们看看我做VLAN的方法对不对
我这是个16口的华为交换机,我用第16口做连接路由的口,剩下的15个口连接家庭电脑,因为家庭电脑一直中毒。。。我的要求是让这15个口攻击不到路由器
现在VLAN都配好了,TRUNK口也连接了,可下面的电脑都上不了网.
<Quidway>sys
Enter system view, return to user view with Ctrl+Z.
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

vlan 2
port e0/1 to e0/15 (设置从1口到15口都属于VLAN 2)
qu
int e0/16
port link-type trunk
port trunk per vlan 2
Please wait... Done.

黑杰克 发表于 2008-6-17 09:47:11

貌似 E0/16不能设置成 trunk吧?如果这么设置 那与E016 连接的设备端口也得设置成
trunk

xbin2002 发表于 2008-6-17 12:27:42

交换机没问题
你ROS的网卡支持 802.1Q么
页: [1]
查看完整版本: 华为VLAN问题