리눅스 route 확인

Jmnote (토론 | 기여)님의 2012년 11월 22일 (목) 20:54 판 (→‎방법)
OS 라우트 확인, OS 라우팅 확인
route
netstat -r

1 방법

명령어
route
netstat -r
→ 두 명령어의 결과는 거의 같다. 어느 것을 써도 OK.
실행예시
[root@jmnote ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     1      0        0 eth1
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth1
[root@jmnote ~]# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     *               255.255.255.0   U         0 0          0 eth1
default         192.168.0.1     0.0.0.0         UG        0 0          0 eth1

2 같이 보기

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