no ip redirects no ip unreachables

 
 
 
no ip redirects 
 
路由器A和路由器B在同一個網段中。現在有PC的網關設置爲A的地址 192.18.3.1. 在發送數據過程中可能會出現發往 192.168.2.X 網段的數據。這樣數據包會先到A的接口再流向B。
ip redirects 可以使用ICMP 包。告知PC 以後發往192.168.2.X 的數據直接發給B。而不需要通過自己。
 
no ip redirects 是關閉這項功能。特別是在HSRP中。主要是爲了避免讓客戶端使用真實的MAC地址通訊。
 
 
no ip unreachables
 
ICMP unreachables are normally limited to no more than one every one-half second per input interface, but this can changed by using the ip icmp rate-limit unreachables global configuration command.
 
如用用戶使用ACL列表。那麼所有不符合條件的數據包在經過路由器時會被丟棄。返回顯示  目標主機不可達。因爲沒有合適的路由。 使用 no ip unreachables  後。只會出現 timeout 。
 
 
 
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章