MiniBytes by Route Genix | ICMP Redirects

MiniBytes by Route Genix | ICMP Redirects

RouteGenix

1 год назад

74 Просмотров

Cisco ICMP Redirects are a networking feature that allows routers to inform hosts about more efficient paths for routing their IP packets. When a router receives a packet from a source host, it checks if the next hop is on the same subnet as the source. If not, and if the router has a better next-hop address for that packet, it sends an ICMP Redirect message to the source host. This message informs the host to update its routing table and send subsequent packets directly to the better next-hop router. ICMP Redirects help optimize network traffic by minimizing unnecessary hops and improving overall routing efficiency within Cisco networking environments.


Initial Config:

R1:

conf t
Host R-1
interface g0/0
ip add 192.168.123.1 255.255.255.0
no shut
exit
ip route 4.4.4.4 255.255.255.255 192.168.123.2
ip route 192.168.24.0 255.255.255.252 192.168.123.2

R2:

conf t
host R-2
interface g0/0
ip add 192.168.123.2 255.255.255.0
no shut
exit
int g0/1
ip add 192.168.24.1 255.255.255.252
no shut
exit
ip route 4.4.4.4 255.255.255.255 192.168.24.2


R3:

conf t
int g0/0
ip add 192.168.123.3 255.255.255.0
no shut
exit
no ip routing
ip default-gateway 192.168.123.1

R4:

conf t
int g0/0
ip add 192.168.24.2 255.255.255.252
no shut
exit
int loop 0
ip add 4.4.4.4 255.255.255.255
exit
ip route 192.168.123.0 255.255.255.0 192.168.24.2


Verification:

R1:

Debug ip icmp

R2:

ping 4.4.4.4


#rg_minibytes #india #routegenix #cisco #ccna #cisconetworking #ccnp #ccnpencor #ccie #ciscocertification #network #newtech #networkadmin #cisconetworkingacademy #networkdesign #networkcourse #informationtechnology #itcertification #computernetworks #datacenter #ccnatraining #networking #networkengineer #networkadmin #ciscocert #ciscocertified #interviewpreparation #config #configuration #ciscoccnp #ccna200301 #ccnasecurity #router #switch #computercertification #study
Ссылки и html тэги не поддерживаются


Комментарии: