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 IP路由顯示緩存

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 217.212.227.18從172.16.0.69通過192.168.0.1開發eth2鋼骨混凝土172.16.0.50
cache緩存 mtu 1500 advmss 1460 hoplimit 64 iif eth0 MTU的1500 advmss 1460 hoplimit 64國際投資論壇為eth0

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 ( Tata Indicom寬帶) 。

How to delete the route cache如何刪除幹線高速緩存

ip route flush cache IP路由刷新緩存