Cisco2514でVLAN間ルーティングができない

もう、実機を触らないと知識は飽和しかけている。たいした量ではないが、ただ飽きてきただけか。とはいえオークションの終了日はまだ先。今週末に届くだろうか・・・。HSRPをやってみたいと思ったがL2じゃできない。その時、おそろしいことを思いついた。2514でHSRPができるのでは?少なくともVLAN間ルーティングはできるはずだ。 逆でした。HSRPはできるけどVLAN設定ができない・・・できない・・・?VLANってFastEtherじゃないとダメだったっけ・・・?あれ・・・? ダメだ・・・。2500シリーズでは、config-subifモードで、encapsulationコマンドが入力できない。

2514_1(config)#interface ethernet 1.100
2514_1(config-subif)#?
Interface configuration commands:
appletalk Appletalk interface subcommands
arp Set arp type (arpa, probe, snap) or timeout
backup Modify backup parameters
bandwidth Set bandwidth informational parameter
bridge-group Transparent bridging interface parameters
cdp CDP interface subcommands
clns CLNS interface subcommands
decnet Interface DECnet config commands
default Set a command to its defaults
delay Specify interface throughput delay
description Interface specific description
dlsw DLSw interface subcommands
dspu Down Stream PU
exit Exit from interface configuration mode
fras DLC Switch Interface Command
ip Interface Internet Protocol config commands
ipx Novell/IPX interface subcommands
isis IS-IS commands
iso-igrp ISO-IGRP interface subcommands
lat LAT commands
llc2 LLC2 Interface Subcommands
2514_1(config-subif)#ip add 192.168.77.7 255.255.255.0
% Configuring IP routing on a LAN subinterface is only allowed if that subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN.


WEBをサーチしても情報がない。「2600ならVLANが使える」というのを見つけた。ということは2500はダメなんだ。なんでだろう?10base-2だから?MAUかましてるから?何で?VLANってそんなに大層な機能なのか?

ciscoのサイトにこんなのを見つけた。

The Cisco 2600 Family of routers offers customers many advantages over the Cisco 2500 Series routers; including:
-Modular design
-High performance
-Multiservice voice/data integration
-Strong encryption for VPN security
-Inter-virtual LAN (VLAN) routing

・・・だとさ。さて今週末もおっとへ行って26xx買うか・・・金がねー。 2611に入札してきた。ニセCISCO(N社OEM)だけどこの際もうそんなこと気にしない。1600シリーズはどうだったのかな・・・なんかできそうな気がするが・・・。 CCNPの新試験はかなり難しいようだ。BCMSNだけでなく、問題の事実上新設の2試験も。もっと早く受けていればよかったな、と思っていたけど、もう、そんな考えは捨てる事にした。たとえ今回の改定前にとったとしても、3年後には更新せねばならない。3年なんてあっという間さ。

catalystのラインナップが見えてきた。 2900/3500 は、古い。3500もL2である。RSTPをサポートしない。2950/3550は、RSTPをサポートし、WEBブラウザでの設定もできる。3550はL3スイッチである。ヤフオクでも、2950が人気だ。俺は早まって3524を3台も入札してしまった。しかも1台には10000円の値をつけて。誰か更新してくれ!

CISCO2611 と Catalyst WS-C2924-XL-EN を使って、VLAN間ルーティングができた。あるWEBサイトで、「100Mポートでないとトランク設定できない」という記述を見つけて驚き、あわて家へ帰って試してみた。できるじゃないか!おどかすなよ!

2611のIOSは 12.0(7)T2 Catalystは 2.0(5)WC16

           +-----+
2514 ------+     |
(vlan100)  |Cata +------ 2611
           |     | (vlan100&200)
2501 ------+     |
(vlan200)  +-----+

catalystのコンフィグ

interface FastEthernet0/1
switchport access vlan 100
interface FastEthernet0/2
switchport access vlan 200
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk

2611のコンフィグ
!
interface Ethernet0/0.100
encapsulation dot1Q 100
ip address 192.168.100.254 255.255.255.0
no ip directed-broadcast
!
interface Ethernet0/0.200
encapsulation dot1Q 200
ip address 192.168.200.254 255.255.255.0
no ip directed-broadcast

いわゆる router on a stick である。 しかしうるせえな、WS-C2924-XL-EN。