Q:Which layer of Tcp/Ip stack works with frames?
A:
From above figure,we can know easily know it that frames works in Layer 2 of Tcp/Ip stack model. Layer 2 is also known as Data Link layer.Above figure,Tcp/ip model has 5 layers,but sometimes it has 4 layers.Get further reading,you can click this link:Does Tcp/Ip model has 4 layers or 5 layers .Layer 1 is also known as Physical layer.
Q: What's difference between frame and packet?
A:Frame only works within Lan but can't work outside Lan.Each mac address is only meaningful within its layer segment (layer 2),mac address of frame is assigned by device manufactuer.
Packet only works in Wan(aka outside Lan),ip adress of packet is assigned by ISP.
Q:How physical address change hop to hop?
A:It's the mac address of data packet which change from hop to hop.
https://learningnetwork.cisco.com/thread/74343
Q:Format of frames in networking that captured using wireshark.
A:The following is a description of the frame format describled by the original Ethernet Version 2 specification as released by DEC,Intel,and Xerox.Like the 802.3 spec,the Version 2 spec defines a Datalink Header consisting of 14 bytes(6+6+2) of information,but the Version 2 spec does not specify an LLC Header.
Let's now have a closer look at the Ethernet 2 frame format.
The Data Link Header
Now ,I show a screenshot related Ethernet 2 frame.
OFFSET 0-5 The Destination Address
Offset 6-11:The Source Address
Offset 12-13:The Ethertype
User Data and FCS
Data:46-1500 Bytes
FCS:Last 4 Bytes
Q:What's the difference between Ethernet 802.3 and Ethernet 2?
A:The biggest difference Ethenet 2 and 802.3 is the fields of their Ethernet headers.Ethernet 2 and 802.3 is the fields of their
Ehernet headers.Ethernet 2 is much more popular for reasons that I'll make clear shortly.Its header fields are:
There are frame formats from the IEEE:IEEE 802.3,IEEE 802.0 with SNAP,and 802.3 with 802.2 Modem operating systems can send and receive any of these frame formats.The main difference between Version 2 and IEEE frames is that the Type field in Version 2 has beeb replaced with a with a 2-byte Length field in the IEEE formats. To run TCP/IP over IEEE 802.3, the SNAP format has to be used. That requires 8 bytes of the data field to identify the kind of data the frame is carrying: three bytes for the Logical Link Control, three bytes for the SNAP header, and two bytes for the Protocol Type field. That means the data field shrinks from the standard range of 46 to 1500 bytes down to a range of 38 to 1492. This is the reason most network managers stay with Ethernet II. The Ether Type field contains two bytes of hexadecimal code. This table translates the codes to some of the more commonly used codes:
Ether Type | Protocol |
0x0800 | Internet Protocol, Version 4 (IPv4) |
0x0806 | Address Resolution Protocol (ARP) |
0x8035 | Reverse Address Resolution Protocol (RARP) |
0x8100 | VLAN-tagged frame (IEEE 802.1Q) |
0x814C | Simple Network Management Protocol (SNMP) |
0x86DD | Internet Protocol, Version 6 (IPv6) |
0x8847 | MPLS unicast |
0x8848 | MPLS multicast |
0x8870 | Jumbo Frames |
0x888E | EAP over LAN (IEEE 802.1X) |
0x88E5 | MAC security (IEEE 802.1AE) |
0x88F7 | Precision Time Protocol (IEEE 1588) |
References:
https://networkengineering.stackexchange.com/questions/49427/how-physical-addresses-change-hop-to-hop
https://learningnetwork.cisco.com/thread/74343
https://superuser.com/questions/647016/does-tcp-ip-model-has-4-layers-or-5-layers
https://en.wikipedia.org/wiki/Physical_layer
https://www.globalknowledge.com/us-en/resources/resource-library/articles/what-is-the-difference-between-ethernet-ii-and-ieee-8023/
https://osqa-ask.wireshark.org/questions/20862/how-to-display-the-packets-crc-in-the-gui-and-how-to-edit-crc-with-bad-value
http://www.firewall.cx/networking-topics/ethernet/ethernet-frame-formats/201-ethernet-ii.html