Question

In: Electrical Engineering

a. In an IPv4 environment, if a host on a LAN is about to send an...

a. In an IPv4 environment, if a host on a LAN is about to send an IP packet to another host on the same LAN, how does it know the MAC address of the interface card of the destination host? What is the protocol which is used to obtain the MAC address?

b. If a host is moved to another LAN, connected to a different router, will its MAC address be the same? Explain why.

Solutions

Expert Solution

Answer :- a.) ARP protocol is used in IPv4 to get the MAC address(Medium Access Control address) of a LAN. Each LAN has its own MAC address and this is same as the physical address or the ethernet address. MAC address is composed of 48 bit or six hexadecimal digits, separated by colons or dashes.

MAC addresses are only used and needed on a LAN segment. Your host only has to know the MAC address of the default router, which must be on the same LAN. It gets that by knowing the IP address and then from doing an ARP (Address Resolution Protocol) broadcast and remembering the answer in ARP cache. From that point, all packets out are sent to the MAC address of the router.

b.) Yes, if host has moved to different LAN connected to different router then the MAC address changes. MAC address is unique to network device(ethernet, router etc.) wanting to utilize TCPIP network or LAN or WLAN service. It is "burnt into" the device by manufacturer of the device or Card.


Related Solutions

Suppose Host A wants to send a large file to Host B. The path from Host...
Suppose Host A wants to send a large file to Host B. The path from Host A to Host B has three links, of rates R1 = 200 kbps, R2 = 2 Mbps, and R3 = 1 Mbps. Assuming no other traffic in the network, what is the average throughput for the file transfer? Suppose the file is 4 million bytes, on average, how long will it take to transfer the file to Host B? Repeat (a) and (b), but...
Consider a scenario where Host A and Host B want to send messages to Host C....
Consider a scenario where Host A and Host B want to send messages to Host C. Hosts A and C are connected by a channel that can lose and corrupt (but not reorder) messages. Hosts B and C are connected by another channel (independent of the channel connecting A and C) with the same properties. The transport layer at Host C should alternately deliver M (M>1) consecutive messages received from A to its application layer and N (N>1) consecutive messages...
How long does it take to send a 15 MiB file from Host A to Host...
How long does it take to send a 15 MiB file from Host A to Host B over a circuit-switched network, assuming: - Total link transmission rate = 49.7 Gbps. - Network is FDM, with 7 permitted users, each with an equal bandwidth share. - A link connection requires a setup time of 84.5 ms. Your answer should be in miliseconds (ms) with one decimal place, and without the unit (e.g. "140.6" without the quotes)
A) In your LAN, you want to allow the external host to communicate only with your...
A) In your LAN, you want to allow the external host to communicate only with your internal Telnet server (TCP / 23). External hosts are not allowed to establish TCP connection with other internal servers. Write the appropriate filtering rules for the security policy. [15 points] Required fields for the filtering rule: RuleID, SourceIP, DestIP, SourcePort, DestPort, Protocol, SYN, ACK, Action B) Assume that the firewall in question A) is a stateless firewall. Give an example of a packet that...
Host A wants to send 15 frames to Host B using Selective repeat protocol. How many...
Host A wants to send 15 frames to Host B using Selective repeat protocol. How many numbers of frames are transmitted by Host A if every 8th packet is lost or corrupted? Also compare the number of number of transmissions of Selective Repeat with Go Back 3.
An important point about the agent-host-environment model (the epidemiologic triangle) of epidemiologic investigation is that: A....
An important point about the agent-host-environment model (the epidemiologic triangle) of epidemiologic investigation is that: A. the agent is not as important a factor in disease causality as the host or the environment. B. diseases are multi-causal. C. it is necessary that the agent is linked to both the host and the environment and that the agent is present in every case of the disease. D. in order to prove causality, which is a difficult task, the researcher must prove...
In your LAN, you want to allow the external host to communicate only with your internal...
In your LAN, you want to allow the external host to communicate only with your internal Telnet server (TCP / 23). External hosts are not allowed to establish TCP connection with other internal servers. Write the appropriate filtering rules for the security policy. [15 points] Required fields for the filtering rule: RuleID, SourceIP, DestIP, SourcePort, DestPort, Protocol, SYN, ACK, Action
1- When you send a message out to somebody on the same LAN, the target Mac address is needed
True or False:1- When you send a message out to somebody on the same LAN, the target Mac address is needed •2- When you send a message out to somebody on the same LAN, the target IP address is needed •3-When you send a message out to somebody on the same LAN, the target Mac address and IP address are needed •4- When you send a message out to somebody on the Internet, the target Mac address is needed •5-...
What are the differences between IPv4 and IPv6? What is the format of an IPv4 address?  
What are the differences between IPv4 and IPv6? What is the format of an IPv4 address?  
Apply the epidemiology triangle to the following communicable diseases: Tuberculosis Identify the host, agent, and environment...
Apply the epidemiology triangle to the following communicable diseases: Tuberculosis Identify the host, agent, and environment for tuberculosis What is/are the route(s) of transmission? What type of immunity is obtained, if any? Describe CHN interventions at the primary, secondary, and tertiary level. What are the barriers to controlling tuberculosis and how can a P/CHN intervene? Identify and post an evidenced-based infographic on tuberculosis
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT