"리눅스 route"의 두 판 사이의 차이

(Route 문서를 리눅스 route 확인(으)로 옮김)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 17개는 보이지 않습니다)
1번째 줄: 1번째 줄:
#넘겨주기 [[리눅스 route 확인]]
{{다른뜻|영어 route}}
==개요==
;리눅스 route
;/sbin/route
*리눅스에서 route 설정 상태 확인하는 명령어
 
==route 확인==
<syntaxhighlight lang='console'>
root@zetawiki:~# route
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
default        135.246.135.1  0.0.0.0        UG    0      0        0 eth0
135.246.135.0  *              255.255.255.0  U    0      0        0 eth0
</syntaxhighlight>
<syntaxhighlight lang='console'>
root@zetawiki:~# route -n
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        135.246.135.1  0.0.0.0        UG    0      0        0 eth0
135.246.135.0  0.0.0.0        255.255.255.0  U    0      0        0 eth0
</syntaxhighlight>
 
==기본 route 추가==
{{참고|리눅스 기본 게이트웨이 추가}}
<syntaxhighlight lang='bash'>
route add default gw 192.168.1.254 eth0
</syntaxhighlight>
 
==같이 보기==
* [[route add default gw]]
* [[리눅스 route 확인]]
* [[리눅스 게이트웨이 확인]]
* [[리눅스 스태틱 라우팅 설정]]
* [[리눅스 ifconfig]]
* [[게이트웨이]]
 
==참고==
*https://en.wikipedia.org/wiki/Route_(command)
 
[[분류: /sbin]]
[[분류: 리눅스 네트워크]]
[[분류: net-tools]]

2021년 9월 24일 (금) 23:18 기준 최신판

  다른 뜻에 대해서는 영어 route 문서를 참조하십시오.

1 개요[ | ]

리눅스 route
/sbin/route
  • 리눅스에서 route 설정 상태 확인하는 명령어

2 route 확인[ | ]

root@zetawiki:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         135.246.135.1   0.0.0.0         UG    0      0        0 eth0
135.246.135.0   *               255.255.255.0   U     0      0        0 eth0
root@zetawiki:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         135.246.135.1   0.0.0.0         UG    0      0        0 eth0
135.246.135.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0

3 기본 route 추가[ | ]

route add default gw 192.168.1.254 eth0

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}