route
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[CentOS7]]
*routeコマンド [#sa274dd6]
**ルーティングテーブルの内容を表示する [#xcc2d278]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route &color(lime){←IPv4のルーティン...
|[root@localhost ~]# route -6 &color(lime){←IPv6のルーテ...
**経路を追加する [#t85127f7]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
**経路を削除する [#h926e56b]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
**拒否経路を追加する [#zba679d1]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
**拒否経路を削除する [#k31271d6]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
終了行:
[[CentOS7]]
*routeコマンド [#sa274dd6]
**ルーティングテーブルの内容を表示する [#xcc2d278]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route &color(lime){←IPv4のルーティン...
|[root@localhost ~]# route -6 &color(lime){←IPv6のルーテ...
**経路を追加する [#t85127f7]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
**経路を削除する [#h926e56b]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
**拒否経路を追加する [#zba679d1]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route add -net 192.168.1.0/24 gw 192...
**拒否経路を削除する [#k31271d6]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
|[root@localhost ~]# route del -net 192.168.1.0/24 gw 192...
ページ名: