相信对于使用GNS3,用路由器IOS加载NW-16esw模块做交换机用,大家应该不会陌生。但是昨天我发现了一个使用中的小问题,默认情况下只有interface 0 -1 之间会通,其他interface不能互通,研究了一下,只发现有英文的相关解决,没有中文资料,所以发个贴共享一下
GNS3默认情况下,NM-16ESW只有前面两个interface是Full-duplex,后面的interface全部是Auto-duplex,如下: ESW1#showinterfaces fastEthernet 1/1 FastEthernet1/1is up, line protocol is up Hardware is Fast Ethernet, address isc201.2600.f101 (bia c201.2600.f101) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:42, output never, outputhang never Last clearing of "show interface"counters never Input queue: 0/75/0/0(size/max/drops/flushes); Total output drops: 0
ESW1#showinterfaces fastEthernet 1/2 FastEthernet1/2is up, line protocol is down Hardware is Fast Ethernet, address isc201.2600.f102 (bia c201.2600.f102) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex,Auto-speed ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hangnever 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 0 bits/sec, 0 packets/sec
这种情况即使在NM-16ESW模块两边interface的路由器IP是相同网段,也不能通,要手动设置 ESW1(config)#interface range fastEthernet 1/2 - 15 ESW1(config-if-range)#speed100 ESW1(config-if-range)#duplexfull ESW1(config-if-range)#^Z
这样就可以通了,真正作为交换机使用
|