Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Firewalls
[Top] [All Lists]

Re: Newbie question... Firewalls vs cisco routers - Proxy arp versus dir

Subject: Re: Newbie question... Firewalls vs cisco routers - Proxy arp versus directly connected networks...
Date: Mon, 11 Jul 2005 17:30:21 -0400
On 7/11/05, Dagmar d'Surreal <evildagmar@gmail.com> wrote:
On 7/11/05, chip <chip.gwyn@gmail.com> wrote:

Let's say everything was just turned on, no arp table exists yet.  Now
when the router attempts to talk to a host (192.168.0.10) it will
first send out an ARP request to the broadcast address of the network.
 If your network is 192.168.0.0/24 then the request is sent to
192.168.0.255 (the broadcast).

Are you *sure* about this Chip?  It's been years since I've looked at
the RFC for ARP, but it seems to me that it would be rather bizarre
for the router to send a layer 3 message to solve a layer 2 problem.
What I thought it should be doing is sending out an arp query to the
broadcast ethernet (not IPv4) address, which is FF:FF:FF:FF:FF:FF, and
with a quick invocation of tcpdump it seems that I'm at least correct
in some cases...

12:55:21.096374 00:0a:e6:c4:eb:fe > ff:ff:ff:ff:ff:ff, ethertype ARP
(0x0806), length 42: arp who-has 192.168.2.39 tell 192.168.2.1
12:55:22.093988 00:0a:e6:c4:eb:fe > ff:ff:ff:ff:ff:ff, ethertype ARP
(0x0806), length 42: arp who-has 192.168.2.39 tell 192.168.2.1
12:55:23.093989 00:0a:e6:c4:eb:fe > ff:ff:ff:ff:ff:ff, ethertype ARP
(0x0806), length 42: arp who-has 192.168.2.39 tell 192.168.2.1

The rest of your post is correct, excepting that they don't *always*
have to be on the same IPv4 network when they're on the same logical
segment.  Strange and terrible things may happen if they're not
(mysterious packet duplication and other topological abominations) but
they will, under certain circumstances, communicate even without a
static route on both hosts.


You are correct about the ARP address, I got to thinking about that
after I hit send.  Ah well.

-- 
Just my $.02, your mileage may vary,  batteries not included, etc....

<Prev in Thread] Current Thread [Next in Thread>