05-18-2011 10:15 PM - edited 03-04-2019 12:26 PM
Hi All,
I am new to the cisco IOS. As all know that there are two ways to configure the static route.as
IP route 10.0.0.0 255.255.255.0 < next Hop IP Address >
and
IP route 10.0.0.0 255.255.255.0 < Exit Interface >.
Can anyone explain the diference between thses to static routes ..
Any help willl be appreciated. Thanks in advance
05-18-2011 10:36 PM
Hi,
"IP route 10.0.0.0 255.255.255.0 < Exit Interface >" works perfectly for point-to-point interface such as serial interface.
"IP route 10.0.0.0 255.255.255.0 < next Hop IP Address >" is recommended for multi-acess network such as Lan segment. ARP is used to solve the next-hop mac-addresss.
HTH,
Toshi
05-19-2011 12:26 AM
Hi ,
IP route 10.0.0.0 255.255.255.0 < next Hop IP Address >" is recommended for multi-acess network such as Lan segment
And is mandatory on frame-relay physical serial interface and point-to-multipoint interface because there is no such thing as proxy InARP unlike in ethernet where there is proxy ARP.
Regards.
Alain.
05-19-2011 01:35 AM
On point to point interfaces like Serials/Tunnels, there will be no difference. But on FastEthernet interfaces think how your router will do it if it's connected to a switch with 24 ports, it will send out traffic to switch's interface, then what?
So 99% fo the times use next_hop_IP instead of exit_interfaces.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide