12-06-2005 07:28 AM - edited 03-03-2019 11:09 AM
How does the Address Resolution happen when we mention a static route with wan interface as the exit interace
ex: ip route 0.0.0.0 0.0.0.0 s0
incase of Broadcast interface it is using the proxy-arp process that the address resolution happens.
e: ip route 0.0.0.0 0.0.0.0 e0
what is it in the case of Wan Interface ?
Thanks,
Vikram
Solved! Go to Solution.
12-07-2005 03:15 AM
Vikram
Yes you are correct. If you configure a default route like ip route 0.0.0.0 0.0.0.0 e0 and the other router does not enable proxy arp then the packets will not be routed and will be dropped. In this situation if you turn on debug you would see the router reporting encapsulation failure because it was not able to find the destination MAC address for the next hop.
HTH
Rick
12-06-2005 07:56 AM
ARP is on a Ethernet segment on P2P like serials it is all with the encap (PPP/HDLC) so there are no ARP for tht
12-06-2005 09:28 AM
Vikram
I think that Gautam is on the right track. I would answer the question slightly differently though. Your question had to do with address resolution when a static route points to an interface rather than identifying the specific next hop address. As your question implies in this situation there must be some kind of address resolution. For LAN interfaces like Ethernet the address resolution is ARP/pro9xy ARP. For Frame Relay interfaces it is the Frame Relay mapping that provides address resolution. When the protocol is point to point like ppp or like HDLC and there is only a single neighbor on the connection then address resolution is authmatically built into the protocl and there is not a separate step of address resolution.
HTH
Rick
12-06-2005 09:23 PM
Hello Rick,
Thanks for the reply, it cleared my doubt.
Thanks,
Vikram
12-06-2005 08:24 AM
Hello Vikram,
We are talking about 2 thinks here. The routing table is used to forward packets. When you define a static route with a next-hop address:
ip route 0.0.0.0 0.0.0.0 10.10.10.2 (AD = 1)
the administrative distance is 1. The next hop network need to also be in the routing table as directly connected (AD = 0).
If you are using a static route
ip route 0.0.0.0 0.0.0.0 serial0
with an interface specification, it is considered a directly connected network.
HTH,
Nadine.
12-06-2005 09:22 AM
Hi Vikram,
In the ethernet case we need a destination MAC address for the ethernet frame, which we can obtain through an ARP. The ARP contains a request for the destination IP in the IP packet to be sent. If there is a router answering it with his MAC (proxy-arp) we are fine.
In the case of a serial interface there is no need for address resolution on layer 2, because there is only ONE other device out there.
So as a sending router the layer 2 frame (f.e. HDLC) can be readily built as it does not contain a device specific layer 2 address like MAC we need to know.
Hope this helps
Martin
12-06-2005 09:21 PM
Hello Martin,
Thanks for the reply, it cleared my doubt.
Referring to your reply, if there is isn't any router with proxy-arp enabled in a scenario with a route statement : ip route 0.0.0.0 0.0.0.0 e0
the packets will never be routed , isn't it ?
Thanks,
Vikram
12-07-2005 03:15 AM
Vikram
Yes you are correct. If you configure a default route like ip route 0.0.0.0 0.0.0.0 e0 and the other router does not enable proxy arp then the packets will not be routed and will be dropped. In this situation if you turn on debug you would see the router reporting encapsulation failure because it was not able to find the destination MAC address for the next hop.
HTH
Rick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: