While configuring your routing (like 귀하의 라우팅을 구성하는 동안 (예 : load balancing with dual ADSL connections 로드 밸런싱과 adsl 연결을 이중 ) you would often need to view the current route cache and also to occasionally delete the current cache. ) 당신은 현재의 루트 캐시를 종종 볼 필요가 간혹에도 현재 캐시를 삭제합니다. Here is how you can do it. 여기에이 방법을 할 수있어.


How to display the route cache 루트 캐시를 표시하는 방법

ip route show cache 인터넷 프로토콜 경로 캐시를 표시

A sample entry from the list is: 목록에서 항목의 예제는 :
217.212.227.18 from 172.16.0.69 via 192.168.0.1 dev eth2 src 172.16.0.50 192.168.0.1 dev eth2 src 217.212.227.18에서 172.16.0.50를 통해 172.16.0.69
cache 캐시 mtu 1500 advmss 1460 hoplimit 64 iif eth0 hoplimit 64 줘 eth0 mtu 1500 advmss 1460

This tells us that all requests from 172.16.0.69 (my machine’s IP) to 217.212.227.18 (Akamai machine) gets routed via eth2 interface using the gateway 192.168.0.1 (Tata Indicom Broadband). 이것이 우리에게 말해줍니다로부터 요청하는 모든 172.16.0.69 (내 컴퓨터의 ip)를 217.212.227.18 (akamai 머신)가 라우팅을 통해 eth2 인터페이스를 사용하는 게이트웨이 192.168.0.1 (타타 Indicom를 광대역).

How to delete the route cache 루트 캐시를 삭제하는 방법

ip route flush cache 인터넷 프로토콜 경로 캐시를 플러시