Compare cert salaries and plan your next career move
kobem wrote: in this situation ARP broadcast is sent to the local things and from IP address we find MAC address with ARP ok!
kobem wrote: the thing i didn't solve is ,if we know the IP address of hostB , we make our processes due to IP address , why do we have to convert IP to MAC? (and ARP is for layer 3 ?)
kobem wrote: hi everyone , i returned . the thing i didn't solve is ,if we know the IP address of hostB , we make our processes due to IP address , why do we have to convert IP to MAC? (and ARP is for layer 3 ?) second one about console cable of router if we can telnet to remote devices easily , why do we use console cable between PC and router and if we are not connected to any network?
kobem wrote: sorry but ARP is layer 3 , look at www.en.wikipedia.org and layer scheme ARP is at layer 3
Address Resolution Protocol (ARP) is the method used in the TCP/IP suite. When a network device needs to send data to another device on the same network, it knows the source and destination network addresses for the data transfer. It must somehow map the destination address to a MAC address before forwarding the data. First, the sending station will check its ARP table to see if it has already discovered this destination station's MAC address. If it has not, it will send a broadcast on the network with the destination station's IP address contained in the broadcast. Every station on the network receives the broadcast and compares the embedded IP address to its own. Only the station with the matching IP address replies to the sending station with a packet containing the MAC address for the station. The first station then adds this information to its ARP table for future reference and proceeds to transfer the data. When the destination device lies on a remote network, one beyond a router, the process is the same except that the sending station sends the ARP request for the MAC address of its default gateway. It then forwards the information to that device. The default gateway will then forward the information over whatever networks necessary to deliver the packet to the network on which the destination device resides. The router on the destination device's network then uses ARP to obtain the MAC of the actual destination device and delivers the packet.
and important one for example 192.168.1.0/24 and 172.16.1.0/24 are these same subnets because of /24 ?
if two hosts are in the same network do we use ARP ?
kobem wrote: hi everyone , i returned . i ask a question related to ARP first , we have one host for example hostA and another host for ex. hostB and between them a router exists i want to send a packet from hostA but router (gateway i mean) doesn't know the MAC(hardware)address of hostB but knows its IP address (logical) in this situation ARP broadcast is sent to the local things and from IP address we find MAC address with ARP ok! the thing i didn't solve is ,if we know the IP address of hostB , we make our processes due to IP address , why do we have to convert IP to MAC? (and ARP is for layer 3 ?) second one about console cable of router if we can telnet to remote devices easily , why do we use console cable between PC and router and if we are not connected to any network?
dissolved wrote: kobem wrote: To answer your other question We use a console cable to configure a router or other network device. Some people have security policies within their network, that permit them to use local access only (read: Not telnetting over the network). Hence why we use the console cable. The other reason is when the router is not on the network do you mean restriction? so if am in Paris and trying to connect hong kong and using a console cable here is this reasonable?
kobem wrote: To answer your other question We use a console cable to configure a router or other network device. Some people have security policies within their network, that permit them to use local access only (read: Not telnetting over the network). Hence why we use the console cable. The other reason is when the router is not on the network
kobem wrote: dissolved wrote: kobem wrote: To answer your other question We use a console cable to configure a router or other network device. Some people have security policies within their network, that permit them to use local access only (read: Not telnetting over the network). Hence why we use the console cable. The other reason is when the router is not on the network do you mean restriction? so if am in Paris and trying to connect hong kong and using a console cable here is this reasonable? No, a console cable is called a console cable because it assumes you are there locally at the "console". A little decieveing since a router doesn't really have a console like a monitor, but either way it assumes local/physical access directly to the router. It's useful for configuring a router offline, before you place it in production, for one example.
kobem wrote: so , if i want to reach a router remotely , i don't use a console cable, i will telnet
Compare salaries for top cybersecurity certifications. Free download for TechExams community.