route (명령어)

위키백과, 우리 모두의 백과사전.

route
개발자Fred N. van Kempen, Microsoft, IBM, ReactOS 기여자들
운영 체제유닉스 계열, OS/2, 마이크로소프트 윈도우, ReactOS
플랫폼크로스 플랫폼
종류명령어
라이선스OS/2, Windows: 사유 상용 소프트웨어
ReactOS: GPLv2

route컴퓨팅에서 유닉스 계열마이크로소프트 윈도우IP 라우팅 테이블을 보고 조작하기 위해 사용되는 명령어이다. IBM OS/2, ReactOS도 지원한다. 라우팅 테이블을 수동으로 조작하는 일은 정적 라우팅의 한 특징이다.

구현체[편집]

유닉스 및 유닉스 계열[편집]

문법[편집]

route [-nNvee] [-FC] [<AF>]           List kernel routing tables
route [-v] [-FC] {add|del|flush} ...  Modify routing table for AF.
route {-h|--help} [<AF>]              Detailed usage syntax for specified AF.
route {-V|--version}                  Display version/author and exit.

예시[편집]

user@linux:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.101.0   192.168.102.102 255.255.255.0   UG    0      0        0 eth0
192.168.102.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.103.0   192.168.102.102 255.255.255.0   UG    0      0        0 eth0
192.168.12.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.12.1    0.0.0.0         UG    0      0        0 eth0

마이크로소프트 윈도우[편집]

문법[편집]

route [-f] [-p] [-4|-6] [Command [Destination] [mask Netmask] [Gateway] metric Metric if Interface

IBM OS/2[편집]

문법[편집]

route [-nqv] [COMMAND] [[MODIFIERS] args]

ReactOS[편집]

문법[편집]

라우팅 테이블 출력:

route print

Route 추가:

route add <target> [mask <mask>] <gw> [metric <m>]

Route 삭제:

route delete <target> <gw>

같이 보기[편집]

외부 링크[편집]