yuu_nkjm blog


2015-11-06(Fri) [長年日記]

[Windows][Network][Troubleshooting] ゲートウェイでリンク上を指定したい

$ route PRINT
 
IPv4 ルート テーブル
===========================================================================
アクティブ ルート:
ネットワーク宛先        ネットマスク          ゲートウェイ       インターフェイス  メトリック
          0.0.0.0          0.0.0.0      192.168.0.1      192.168.0.2     10
        127.0.0.0        255.0.0.0            リンク上         127.0.0.1    306

windows - Add an "on-link" routing entry - Super Userによると,以下の様にやれば良いとのこと.

You need to put 0.0.0.0 in the gateway entry to create an "on-link" route.
For example, enter the following command in cmd.exe or bash:
route add 10.10.10.100 mask 255.255.255.0 0.0.0.0

トップ «前の日記(2015-07-19(Sun)) 最新 次の日記(2015-11-12(Thu))» 月表示 編集 設定
2006|01|06|12|
2007|06|09|
2008|01|03|04|06|07|08|09|10|12|
2009|01|02|05|06|07|08|10|11|12|
2010|03|04|05|06|07|08|09|10|11|
2011|01|02|03|04|05|06|07|08|09|11|12|
2012|01|02|04|06|07|08|10|11|12|
2013|01|02|03|07|08|10|11|12|
2014|01|02|04|05|06|07|08|09|10|11|
2015|01|02|07|11|12|
2016|01|03|05|07|08|09|