我是这样划的,但是不行
公司买了一套交换机设备,NPI的,一台24MG是主交换机,支持三层交换,堆叠了三台24T交换机,24T必须依靠24MG才能工作,公司网络内使用192.9.200, 255.255.255.0IP地址段,通过代理上网,代理服务器地址192.9.200.250,交换机的地址为192.9.200.254,网关设为192.9.200.250。现在我在端口50-54划分为VLAN2,路由接口为192.9.202.2,255.255.255.0,端口55-58划分为VLAN2,路由接口为192.9.203.2,255.255.255.0,路由接口都启用了RIP2,交换机启用了GVRP,但是电脑接上后,联接不通。具体状况如下
>show vlan
VLAN Name Ports ---- -------------------------------- ---------------------------- 1 Default PVID 1-24,27-50,59-98 2 test1 51-54 3 test2 55-58
>show interface
IP Routing Interfaces: Table # 0 IP/mask 192.9.200.254/24 255.255.255.0 Vid:1 Table # 1 IP/mask 192.9.202.2/24 255.255.255.0 Vid:2 Table # 2 IP/mask 192.9.203.2/24 255.255.255.0 Vid:3
>rip * Interface Addr on/off snd rcv mtrc splt trig hsti hsto stc --------------- ------ --- --- ---- ---- ---- ---- ---- --- 192.9.200.254 on 3 3 1 2 1 1 1 Exc 192.9.202.2 on 3 3 1 2 1 1 1 Exc 192.9.202.2 on 3 3 1 2 1 1 1 Exc
>show gvrp status GVRP enabled
>arp -a
Address MAC Interface Time vid port Flags > 192.9.202.69 0:5:5d:66:bf:c5 192.9.202.2 399 2 52 U 192.9.202.18 0:c:76:e7:57:4a 192.9.202.2 287 2 53 U
2 ARP cache entries, timeout:400
>show ip route
Active Routes:
Destination Gateway Flags Metric Interface --------------- ------------------- ------- ---------- ------------------ 0.0.0.0 192.9.200.254 UG 1 192.9.200.254 127.0.0.0 127.0.0.1 U 1 127.0.0.1 192.9.200.0 192.9.200.254 U 1 192.9.200.254 192.9.202.0 192.9.202.2 U 1 192.9.202.2 192.9.202.18 192.9.202.2 UHC 1 192.9.202.2 192.9.202.69 192.9.202.2 UHC 1 192.9.202.2 192.9.203.0 192.9.203.2 U 1 192.9.203.2 224.0.0.1 192.9.200.254 UH 1 192.9.200.254 224.0.0.1 192.9.202.2 UH 1 192.9.202.2 224.0.0.1 192.9.203.2 UH 1 192.9.203.2
10 routes displayed
>ping 192.9.202.2 Pinging -- [192.9.202.2] with 28 bytes of ICMP header & data ( ctrl-C to exit ) PING...Reply->[192.9.202.2] bytes=28 seq=000 ttl=30 rtt= 7.6 PING...Reply->[192.9.202.2] bytes=28 seq=001 ttl=30 rtt= 4.8 PING...Reply->[192.9.202.2] bytes=28 seq=002 ttl=30 rtt= 4.9 <ctrl-C>
>ping 192.9.202.18 Pinging -- [192.9.202.18] with 28 bytes of ICMP header & data ( ctrl-C to exit ) PING...No Reply from [192.9.202.18] PING...No Reply from [192.9.202.18] PING...No Reply from [192.9.202.18] PING...No Reply from [192.9.202.18] PING...No Reply from [192.9.202.18] <ctrl-C>
>ping 192.9.202.69 Pinging -- [192.9.202.69] with 28 bytes of ICMP header & data ( ctrl-C to exit ) PING...No Reply from [192.9.202.69] PING...No Reply from [192.9.202.69] PING...No Reply from [192.9.202.69] <ctrl-C>
但是如果是在1-24口划分VLAN,是可以联通的
>show port pvid 1
port 1 set 1
>show port pvid 2
port 2 set 1
>show port pvid 2
port 2 set 1
>show port pvid 1
port 1 set 1
>show port pvid 2
port 2 set 1
>show port pvid 51
port 51 set 2
>show port pvid 57
port 2 set 3
weizx大侠
你有没有用过NPI的产品啊,我现在烦啊
这个厂家倒了,交换机是老总从美国买回来的
想找厂家技术咨询一下都没人啊!
沉不了
不错
?/
请先关闭gvrp协议,使用静态基于端口的vlan,做一下测试,看vlan间是否可通?
另如果采用gvrp协议,就必须手工建立mac与vlan对应的数据库,你是否做过此步?
关了GVRP协议也不行啊
如何建立MAC与GVRP之间对应的数据庫啊
欢迎光临 千家论坛_智能建筑与智能家居技术交流社区 (http://bbs.qianjia.com:8020/) | Powered by Discuz! X3.2 |