Book now with code EOY2025
networker050184 wrote: » What you are thinking of is proxy arp. If the router has a route to the remote subnet it will respond with it's own MAC. If there is no route the router will not respond with a proxy arp response.
?Do I have the hardware type in ar$hrd? Yes: (almost definitely) [optionally check the hardware length ar$hln] ?Do I speak the protocol in ar$pro? Yes: [optionally check the protocol length ar$pln] Merge_flag := false If the pair <protocol type, sender protocol address> is already in my translation table, update the sender hardware address field of the entry with the new information in the packet and set Merge_flag to true. ?Am I the target protocol address? Yes: If Merge_flag is false, add the triplet <protocol type,sender protocol address, sender hardware address> to the translation table. ?Is the opcode ares_op$REQUEST? (NOW look at the opcode!!) Yes: Swap hardware and protocol fields, putting the local hardware and protocol addresses in the sender fields. Set the ar$op field to ares_op$REPLY Send the packet to the (new) target hardware address on the same hardware on which the request was received.
networker050184 wrote: » I think you are misinterpreting the RFC. A router does not respond to ARP requests for objects other than itself except in the case of proxy arp. You have already seen this in your testing.
For each ARP datagram, an ARP reply is discarded if the destination IP address does not match the local host address. An ARP request is discarded if the source IP address is not in the same subnet. It is desirable that this test be overridden by a configuration parameter in order to support the infrequent cases where more than one subnet can co-exist on the same cable.An ARP reply is generated only if the destination protocol IP address is reachable from the local host, as determined by the routing algorithm, and the next hop is not through the same interface.
*Mar 1 00:18:25.955: IP ARP req filtered src 192.168.1.1 cc00.18b4.0000, dst 19 2.168.11.1 0000.0000.0000 wrong cable, interface FastEthernet0/0
*Mar 1 00:24:16.367: IP ARP: rcvd req src 192.168.1.1 cc00.18b4.0000, dst 192.168.11.1 FastEthernet0/0 *Mar 1 00:24:16.371: IP ARP: creating entry for IP address: 192.168.1.1, hw: cc00.18b4.0000 *Mar 1 00:24:16.371: IP ARP: sent rep src 192.168.11.1 cc01.18b4.0000, dst 192.168.1.1 cc00.18b4.0000 FastEthernet0/0
22karthikreddy wrote: » ARP gets the response only when the IP address is found. When you consider a network with only the end-systems and do a resolution you get the reply only if the system with the protocol address is present. Otherwise the ARP is just discarded. Same works with the router. when router doesn't find a path to the destination address it just discards.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!