- Posts: 27
- Thank you received: 0
ARP requests
17 years 4 days ago #23982
by jtartist
ARP requests was created by jtartist
If my computer needs to contact another host on a different network, and my computer did not have the destination host's mac address cached, would my computer send a broadcast ARP request, or would my computer not even bother and realize that the desination host is on a different network (based on my IP and subnet mask) and send the actual frame to my computer's gateway address so it can be routed to the appropriate network? I'm assuming it just sends it to the gateway address , but I wanted to be sure.
thx
-JT
thx
-JT
17 years 3 days ago #23983
by Smurf
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
Replied by Smurf on topic Re: ARP requests
Hi there,
You are correct in that it will go to the default gateway. Your machine checks its subnet to see what network its attached to and if the destination is on a different network then it sends everything to the default gateway.
The usual ARP process occurs during this process.
You are correct in that it will go to the default gateway. Your machine checks its subnet to see what network its attached to and if the destination is on a different network then it sends everything to the default gateway.
The usual ARP process occurs during this process.
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
- skepticals
- Offline
- Elite Member
Less
More
- Posts: 783
- Thank you received: 0
17 years 2 days ago #24001
by skepticals
Do you just mean the ARP process to get the MAC address of the router's interface?
Replied by skepticals on topic Re: ARP requests
The usual ARP process occurs during this process.
Do you just mean the ARP process to get the MAC address of the router's interface?
17 years 1 day ago #24020
by Smurf
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
Replied by Smurf on topic Re: ARP requests
Yes
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
- skepticals
- Offline
- Elite Member
Less
More
- Posts: 783
- Thank you received: 0
17 years 1 day ago #24027
by skepticals
Replied by skepticals on topic Re: ARP requests
Just wanted to make sure I understood... thanks!
- shathriyan1983
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
16 years 9 months ago #24934
by shathriyan1983
Replied by shathriyan1983 on topic how arp works
if you ping computer A from computer B, first the computer B does an anding function with its subnetmask inorder to find wether the destination is a local network or remote... if it is remote, then it forwards it to the gateway. In case if it is local then it looks in its arp cache for any previous entries ( so that it can contact without broadcasting ) If no previous entries, then it does a arp broadcast. which reaches every computer in the network and the particular computer with the requested ip will reply with it's mac address..
if you use a ethereal software , you can easily sniff the packets live
raajesh krishna
network engineer.[/b]
if you use a ethereal software , you can easily sniff the packets live
raajesh krishna
network engineer.[/b]
Time to create page: 0.129 seconds