免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: donggua0713
打印 上一主题 下一主题

求助,关于一个VLAN的问题. [复制链接]

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-25 06:20:00
11 [报告]
发表于 2009-05-25 18:52 |只看该作者

switch 1 的配置

show arp 和 show mac 太长了,是在太长了,1000多条,贴不上来.





HYCCT3750#show inter vlan2

Vlan2 is up, line protocol is up

  Hardware is EtherSVI, address is 0015.fa23.92c1 (bia 0015.fa23.92c1)

  Internet address is 172.16.8.1/22

  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:00:00, output 00:00:00, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/5308/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)

  5 minute input rate 4000 bits/sec, 5 packets/sec

  5 minute output rate 1000 bits/sec, 2 packets/sec

     443923251 packets input, 2362409915 bytes, 0 no buffer

     Received 0 broadcasts (1039561 IP multicast)

     0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     36007750 packets output, 2358979923 bytes, 0 underruns

     0 output errors, 0 interface resets

     0 output buffer failures, 0 output buffers swapped out



HYCCT3750#show inter vlan6

Vlan6 is up, line protocol is up

  Hardware is EtherSVI, address is 0015.fa23.92c5 (bia 0015.fa23.92c5)

  Internet address is 172.16.4.1/22

  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:00:01, output 00:00:01, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/361/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)

  5 minute input rate 2000 bits/sec, 3 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

     170002017 packets input, 2755049965 bytes, 0 no buffer

     Received 0 broadcasts (0 IP multicast)

     0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     135227415 packets output, 64664346 bytes, 0 underruns

     0 output errors, 0 interface resets

     0 output buffer failures, 0 output buffers swapped out







HYCCT3750#sh ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route



Gateway of last resort is 193.254.18.2 to network 0.0.0.0



     172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks

C       172.16.16.0/22 is directly connected, Vlan10

C       172.16.12.0/22 is directly connected, Vlan7

C       172.16.8.0/22 is directly connected, Vlan2

C       172.16.4.0/22 is directly connected, Vlan6

C       172.16.1.0/24 is directly connected, Vlan9

C       172.16.2.0/24 is directly connected, Vlan8

S    193.254.1.0/24 [1/0] via 193.254.18.2

C    193.254.18.0/24 is directly connected, Vlan1

C    192.168.100.0/24 is directly connected, Vlan3

C    192.168.18.0/24 is directly connected, Vlan5

S*   0.0.0.0/0 [1/0] via 193.254.18.2

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-25 06:20:00
12 [报告]
发表于 2009-05-25 18:53 |只看该作者

switch 2的配置

HYLCM3750#show  inter vlan6

Vlan6 is up, line protocol is up

  Hardware is EtherSVI, address is 0015.6365.b142 (bia 0015.6365.b142)

  Internet address is 172.16.4.2/22

  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:00:00, output 00:00:00, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)

  5 minute input rate 52000 bits/sec, 102 packets/sec

  5 minute output rate 2000 bits/sec, 5 packets/sec

     167399506 packets input, 3439230405 bytes, 0 no buffer

     Received 0 broadcasts (0 IP multicast)

     0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     21002494 packets output, 1435218367 bytes, 0 underruns

     0 output errors, 0 interface resets

     0 output buffer failures, 0 output buffers swapped out



HYLCM3750#sh ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route



Gateway of last resort is not set



     172.16.0.0/22 is subnetted, 2 subnets

S       172.16.8.0 [1/0] via 172.16.4.1

C       172.16.4.0 is directly connected, Vlan6

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
13 [报告]
发表于 2009-05-25 18:55 |只看该作者
奇怪了。
1、检查PC1 PC2 PC3 的掩码和网关配置。
2、在PC3上ping 4.1结果如何???

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-25 06:20:00
14 [报告]
发表于 2009-05-25 18:56 |只看该作者

回复 #11 donggua0713 的帖子

版主,是要show arp 和show mac 的具体那些项?

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
15 [报告]
发表于 2009-05-25 18:57 |只看该作者
ARP和MAC,不看也罢。就是看一下PC 1 2 3对应的MAC,以及MAC对应的端口正确否?

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-25 06:20:00
16 [报告]
发表于 2009-05-25 18:58 |只看该作者
原帖由 ssffzz1 于 2009-5-25 18:55 发表
奇怪了。
1、检查PC1 PC2 PC3 的掩码和网关配置。
2、在PC3上ping 4.1结果如何???




1.PC1 和 PC2的掩码和网关是:255.255.252.0  172.16.8.1
   PC3的掩码是255.255.252.0 网关为172.16.4.1或172.16.4.2

2.在PC3上ping4.1 是通的

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-25 06:20:00
17 [报告]
发表于 2009-05-25 19:00 |只看该作者
我用dynamips 复制了这个拓扑,使用PC3,不管网关是4.1还是4.2,都可以ping通其他的PC.愈发奇怪了

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
18 [报告]
发表于 2009-05-25 19:01 |只看该作者
你这样来操作。把PC3的网关设置为4.1 ,然后清空PC3的ARP 表arp -d 再试试。然后把PC3的ARP表贴上来我看看。

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-25 06:20:00
19 [报告]
发表于 2009-05-25 19:25 |只看该作者

回复 #18 ssffzz1 的帖子

那我明天早上贴出来,因为4.0端的机器在一个车间,晚上进不去.

谢谢你的帮助

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
20 [报告]
发表于 2009-05-25 19:38 |只看该作者
哦。
以前也遇到多,最后是硬件问题。如果你可以重启的话,就重启一次设备吧。
注意先准备好备件,做好万一起不来的最坏打算。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP