キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
245
閲覧回数
1
いいね!
0
コメント
Yasuhiro Nakajima
Cisco Employee
Cisco Employee


ip routing が 無効に設定されている Catalyst 製品で、ICMP redirect を受信した場合、ルーティングテーブルにデフォルトゲートウェイ以外のルートが自動で追加される場合がありますが、これは製品の実装動作であり、不具合等ではございません。

以下の出力は、192.168.92.1 へのルートとして、192.168.30.254 が提示された ICMP redirect を受信した後の出力となります。

switch#show ip redirects
Default gateway is 192.168.30.2

Host Gateway Last Use Total Uses Interface
192.168.92.1 192.168.30.254 0:00 0 Vlan30
switch#show ip route
/////SNIP/////

Gateway of last resort is 192.168.30.2 to network 0.0.0.0

S* 0.0.0.0/0 [1/0] via 192.168.30.2
192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.30.0/24 is directly connected, Vlan30
L 192.168.30.1/32 is directly connected, Vlan30
192.168.92.0/32 is subnetted, 1 subnets
S 192.168.92.1 [0/0] via 192.168.30.254, Vlan30

上記ルートとキャッシュは、clear ip redirect を実行すると、削除されます。

以下の出力は、上記の状態で clear ip redirect を実行した際の、ICMP redirect cache とルーティングテーブルの出力です。
show ip redirects の出力でエントリが削除されている事が確認できます。
また、show ip route でも 192.168.92.1 へのルートが削除されています。

switch#show ip redirects
Default gateway is 192.168.30.2

Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
switch#
switch#show ip route
/////SNIP/////

Gateway of last resort is 192.168.30.2 to network 0.0.0.0

S* 0.0.0.0/0 [1/0] via 192.168.30.2
192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.30.0/24 is directly connected, Vlan30
L 192.168.30.1/32 is directly connected, Vlan30

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします