기존 리눅스 시스템에서 사용하던 네트웍 관련 툴들을 하나로 묶어 놓은 유틸리티 입니다.
예를 들면 아래 표와 같이 기존 유틸리티와 iproute2 의 상관 관계를 살펴볼 수 있다.
용도 | 기존 net-tools | iproute2 |
Address and link configuration | ifconfig | ip addr, ip link |
Routing tables | route | ip route |
Neighbors | arp | ip neigh |
VLAN | vconfig | ip link |
Tunnels | iptunnel | ip tunnel |
Multicast | ipmaddr | ip maddr |
Statistics | netstat | ss |
자세한 사용법은 계속 추가해 나갈 예정입니다.
1. Address and link configuration
2. Routing tables
legacy command : route
new command : ip route
2.1 기본 라우팅 룰 확인하는 방법
mkkim_babo $ ip rule list
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
2.2 show routing table
ip route
ip route show table main
ip route show table local
ip route show table all
3. Neighbors
4. VLAN
5. Tunnels
6. Multicast
7. Statistics
'linux' 카테고리의 다른 글
IPv4 packet forwarding (0) | 2012.05.03 |
---|---|
리눅스 콘솔내용을 시리얼로 출력해서 보려면 (0) | 2012.04.03 |
ubuntu 에서 tftp server 설치하는법 (0) | 2011.11.24 |
GNOME 설정 (0) | 2011.09.27 |
Iconv 로 인코딩 변경하기 (0) | 2011.09.26 |