ログイン
編集不可のページディスカッション情報添付ファイル
Routing

MMA

ルーティングテーブルとは

FreeBSD

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.254      UG          0    18471    em0
127.0.0.1          link#4             UH          0       98    lo0
192.168.0.0/24     link#1             U           5  1185181    em0
192.168.0.205      link#1             UHS         0        0    lo0

Linux

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0

Destination

Gateway

Genmask

ネットマスクの意味(IPv4)

IP  (10)      192      168        1        0
IP  ( 2) 11000000 10101000 00000001 00000000

mask(10)      255      255      255        0
mask( 2) 11111111 11111111 11111111 00000000

設定方法

routeコマンドを使って設定する。

FreeBSD

書式

Linux

書式


CategoryNetwork CategoryDocument CategoryWikiBooks

Routing (最終更新日時 2011-07-31 11:56:57 更新者 chmod)