...ist er eventuell schon im Zielnetzwerk angekommen? » ARP broadcast, reply, alle glücklich.
Ich hab nun ne Weile versucht aus Ciscos grandiosen "route maps" u.Ä. etwas derartiges rauszulesen und hab dabei die Rahmenbedingungen 'statisches IPv4 routing' zufällig aus der Spambox gezogen. Hat mich wieder halbwegs realistisch suchen lassen und siehe da:
Zitat von Cisco IOS IP and IP Routing Command Reference, Release 12.1 IP Routing Protocol-Independent Commands :
ip route
Vor dem Absatz "Examples":
[ Adding a static route to an Ethernet or other broadcast interface (for example, ip route 0.0.0.0 0.0.0.0 Ethernet 1/2) will cause the route to be inserted into the routing table only when the interface is up. This configuration is not generally recommended. ]
When the next hop of a static route points to an interface, the router considers each of the hosts
within the range of the route to be
directly connected through that interface, and therefore it will send ARP requests to any destination addresses that route through the static route.
The practical implication of configuring "ip route 0.0.0.0 0.0.0.0 Ethernet 1/2" is that the router will consider all of the destinations that the router does not know how to reach through some other route as directly connected to Ethernet 1/2.
So the router
will send an ARP request for each host that it receives packets for
on this network segment. This configuration can cause high processor utilization and a very large ARP cache (along with attendant memory allocation failures). Configuring a default route or other static route that directs the router to forward packets for a large range of destinations to a connected broadcast network segment can cause your router to reload.
[ Specifying a numerical next hop that is on a directly connected interface will prevent the router from using Proxy ARP. However, if the interface with the next hop goes down and the numerical next hop can be reached through a recursive route, you may specify both the next hop and interface (for example, "ip route 0.0.0.0 0.0.0.0 Ethernet1/2 10.1.2.3") with a static route to prevent routes from passing through an unintended interface. ]
Zeilenumbrüche u.Ä. hauptsächlich damit ich das selbst nun nachvollziehen kann.
Ist also eigentlich das, was jeder last hop router meiner momentanen alkoholisierten Ansicht nach zu tuen hat. Sollte die Zieladresse zwar nur über solch eine route formal erreichbar, aber nicht im selben Netzwerksegment wie das output interface sein wäre alles andere als ICMP destination unreachable natürlich Schwachsinn, völlig richtig.
Es sei denn, siehe Ittis proxy ARP und Wikipedia.. *g
Dabei steht das Ziel noch ein+ Netzwerksegment weiter und der dazwischenliegende router fühlt sich im Segment des Ciscos zuständig und tut grob Folgendes(?):
Er leitet den ARP request ins eigentliche Zielsegment weiter. »
Gibt es dort eine Antwort vom Ziel antwortet der nun tatsächliche last hop router mit seiner eigenen MAC Adresse dem Cisco. »
Cisco sendet glücklich, last hop router routet glücklich.
Da der Cisco dabei aber gar nicht mitkriegt, dass er nicht der letzte router ist ist das - was sich aus proxy ARP an totalem Scheiß tatsächlich entwickeln kann - alles ausnahmsweise nicht mal Ciscos Schuld.
...wieso schreib ich das jetzt alles nochmal?
###
Zusammenfassend:
wenn ein router ein Paket nur 'über' ein interface ausliefern kann hat er der last hop router zu sein und das Ziel ihm mit destination MAC zu antworten; oder irgendein seltsames direkt angebundenes Konstrukt, das sich für das Ziel ausgibt.
Wenn das nicht geschieht müsste tatsächlich das Paket selbst an die broadcast Adresse ausgeliefert werden. Das würde irgendwas á la subsequentes flooding oder selective flooding routing erzwingen, was zwar unter dem einen oder anderen Gesichtspunkt wirklich klasse ist, aber der overhead... » Fehlschlag.
The next available Cisco sagt zu "show ip route" übrigens auch "$lokales_netzwerk/24 is directly connected, $interface".
Man möge meinen ausschweifenden Schreibstil entschuldigen.