Mac (media access control) address: A unique identifier for a network adapter .
48 bit long (04-BF-1B-22-03-A5)
24 bit OUI - Identifies manufacture 04-BF-1B(dell) identifies manufacture intel,dell,oracle,hp etc.
24 bit - Identifies network device
Virtual Mac : In virtual world. Hypervisor manages virtual mac.
IPV4 Address: ex . 172.16.1.100
-- A unique number assigned to a network adapter.
-- 32 bit long , composed of network prefix and host number.
-- Dynamic IP (DHCP) Vs static IP- IP can be allocated by DHCP or static.
<---------14------------> <--20--> <--20--> <data> <4>
<----------------------------------------Ethernet Frame------------------------------------------------->
<------------------------------ 46 to 1500 bytes -------------------------------------------------------->
- Ethernet frame header--- source and destination Mac
- IP Header -- Source IP and Destination IP
- TCP Header -- Source PORT and Destination PORT
The Maximum Transmission Unit (MTU) is the largest amount of data that can be transmitted in a single packet on a network. It is a parameter that is determined by the underlying network technology, and can be configured on network devices such as routers and switches.
https://www.geeksforgeeks.org/what-is-mtumaximum-transmission-unit/
ARP (address resolution Protocol)
00:12:22:21:34:F4 192.168.0.111 |
00:12:22:21:34:F6 192.168.0.112 |
00:12:22:21:34:33 192.168.0.113 |
M1 |
M2 |
M3 |
Subnet ---192.168.0.1/24
Arp -a
1. M1 send ARP request who is having IP 192.168.0.112?
2. ARP broadcast to the network
3. M2 and M3 received ARP request
4. Only M2 respond ARP I am at 00:12:22:21:34:F6
5. ARP hits the wire
6. M1 receives the reply