ローカルネットワーク内のパスは何ですか?

ローカルネットワーク内のパスは何ですか?

私のIPアドレスwlan1はです192.168.1.3

$ netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         192.168.1.1     0.0.0.0         UG        0 0          0 wlan1
192.168.1.0     *               255.255.255.0   U         0 0          0 wlan1

表の2番目の項目は、ターゲットが同じローカルネットワーク上にある場合、wlan1データグラムがゲートウェイ(*for Gateway)に渡されないことを意味しますか?

wlan1のIPアドレスからデータグラムへのパスは何ですか192.168.1.0/24

UG下はどういう意味ですかFlags

ベストアンサー1

そうですね。*列のエントリは、Gatewayパケットがローカルネットワークに残っていることを意味します。

そのうちの" Flags"は対応するUルートが開始されたことを意味し、""はGそのルートがゲートウェイに向かうルートであることを意味します。

列に表示される他のオプションは次のとおりFlagsです。

U : This flag signifies that the route is up
G : This flag signifies that the route is to a gateway. If this flag is not present then we can say that the route is to a directly connected destination
H : This flag signifies that the route is to a host which means that the destination is a complete host address. If this flag is not present then it can be assumed that the route is to a network and destination would be a network address.
D : This flag signifies that this route is created by a redirect.
M : This flag signifies that this route is modified by a redirect.

源泉:http://www.thegeekstuff.com/2012/05/route-flags/

おすすめ記事