|
ルーティングテーブルを表示・変更する
Vista 7 8 10 機能
デフォルトゲートウェイ以外の経路を利用して通信をしたい場合などに利用する。
形式
route (option) command (parameter)
オプション
コマンド
parameter
コマンド例
実行例
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...1c 23 3e 46 50 d6 ...... Marvell Yukon 88E8057 PCI-E Gigabit Ethernet Con
troller - パケット スケジューラ ミニポート
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 xxx.xxx.xxx.1 xxx.xxx.xxx.106 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
xxx.xxx.xxx.0 255.255.255.0 xxx.xxx.28.106 xxx.xxx.xxx.106 20
xxx.xxx.xxx.106 255.255.255.255 127.0.0.1 127.0.0.1 20
xxx.xxx.255.255 255.255.255.255 xxx.xxx.xxx.106 xxx.xxx.xxx.106 20
224.0.0.0 240.0.0.0 xxx.xxx.xxx.106 xxx.xxx.xxx.106 20
255.255.255.255 255.255.255.255 xxx.xxx.xxx.106 xxx.xxx.xxx.106 1
Default Gateway: xxx.xxx.xxx.1
===========================================================================
Persistent Routes:
None
C:\>
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>route print 127*
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...1c 23 3e 46 50 d6 ...... Marvell Yukon 88E8057 PCI-E Gigabit Ethernet Con
troller - パケット スケジューラ ミニポート
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
Default Gateway: 172.27.28.1
===========================================================================
Persistent Routes:
None
C:\>
関連ページ tracert ・・・ネットワーク経路をリスト表示するnetstat ・・・ネットワーク接続状況を確認する pathping ・・・ネットワーク経路の品質を調査する nslookup ・・・DNSサーバに名前解決の問い合わせを行う ping ・・・IPパケットが到達するか確認する | ||||||||||||||||||||||||||||||||||||
|
|