networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Ether Frame size
PostPosted: Fri May 04, 2012 2:43 am 
Offline
New Member
New Member

Joined: Fri May 04, 2012 2:27 am
Posts: 38
Certs: none yet :)
Hello !

I have a question regarding the eth. frame size. I was convinced (by my teacher) that the maximum SDU size is 1500bytes or 1518 bytes with the header, and 1522 bytes with a header and a 802.1Q tag. Also I understand that there is a preambule field of 8 bytes which heralds the coming of the frame and a IPG with a variable size of 12 - 20 bytes (size depends on the manufacturer of the NIC).
Are these two components (preambule and IPG) added to the overall data frame size? Wikipedia says they are (max size is 1538-1542) and alot of others say they arent (1518-1522)

Which one is true? Can someone clarify?

Thank you very much.

James


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 2:52 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6048
Location: Perth, WA
Certs: CCNA
For a first post I'm impressed by the quality of this question.

*tips hat*

_________________
- Pete


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 3:10 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12425
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Who says they are and aren't? I'm interested to read where each is said.

As far as I know 1500 is the actual data payload, hence any other bits and pieces are added onto that, it's not part of the original 1500 payload.

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 3:24 am 
Offline
Senior Member
Senior Member

Joined: Sat Oct 11, 2008 1:02 pm
Posts: 366
Location: Riga, Latvia
Certs: CCIP
i believe preamble and SFD (start frame delimiter) is not a part of an actual ethernet frame. NIC's send them so the other end can distinguish when the actual ethernet frame starts. Besides, there is no such thing as max ethernet frame size of 1518bytes (or 1522, if with 802.1q tag)- these are just the defaults, thus, the most commonly used frame sizes. With enabling jumbo frames, the ethernet frame size goes way beyond the default values.


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 4:20 am 
Offline
New Member
New Member

Joined: Fri May 04, 2012 2:27 am
Posts: 38
Certs: none yet :)
@mellowd : my teacher said that preambule and IPG are not added on the data link layer, but are added on the physical layer. He said that the ethernet header consists of a destination & source MAC, ether type info and finally a hash function result. He also said that preambule and inter packet gap are added on the physical layer and that they belong to that frame but are not added to its size, and that if someone asks me what is the maximum size of a standard ethernet frame I should reply 1522. But now Ive gone to wikipedia's entry on ethernet frame and they say that preambule and IPG are added to the overall size. Im confused :mrgreen:

@errtime : So you believe I really shouldnt think about it that much. Well it itches me, I want to understand. I cant help myself.. :wall:


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 10:02 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 984
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
I would agree with your teacher in that the IPG and the preamble are part of the physical communication (OSI layer 1 if you will) and that they are not part of the L2 frame.

I have seen somewhere else that referred to the IPG and preamble as part of a frame however I can't remember whether it was simply doing a cross-section of what it would look like on the wire (including L1 additions) or whether they were speaking purely hypothetical at L2.

I have always been taught the same as you, that the maximum size is 1518 for a standard frame, then plus any additional tags you may have (Dot1Q etc.)

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 10:35 am 
Offline
Post Whore
Post Whore

Joined: Fri Jul 09, 2010 7:38 pm
Posts: 1802
errtime wrote:
there is no such thing as max ethernet frame size of 1518bytes
Well, if you follow the IEEE there is; jumbo frames are not defined in the standard.

_________________
http://networking.ventrefamily.com


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Fri May 04, 2012 10:43 am 
Offline
Post Whore
Post Whore

Joined: Fri Jul 09, 2010 7:38 pm
Posts: 1802
davidrothera wrote:
I have seen somewhere else that referred to the IPG and preamble as part of a frame however I can't remember whether it was simply doing a cross-section of what it would look like on the wire (including L1 additions) or whether they were speaking purely hypothetical at L2.
The issue is often confused because the link speed (mbps/gbps/etc) includes the IFG, Preamble, and CRC - but the interface (load-interval) ignores some of it. Some might call those few bytes "noise", but when you're dealing with small payloads it can really add up. Here is an example:

http://networking.ventrefamily.com/2010 ... alyst.html

_________________
http://networking.ventrefamily.com


Top
 Profile  
 
 Post subject: Re: Ether Frame size
PostPosted: Sat May 05, 2012 3:18 am 
Offline
New Member
New Member

Joined: Fri May 04, 2012 2:27 am
Posts: 38
Certs: none yet :)
@javentre : So the link speed includes this minimum 20 bytes, but they are not accordingly incremented in the NOS because they are processed on the physical layer? This varies from implementation to implementation right? So in the other words, every network device will and must first process the preambule and ifg of the frame and afterwards the 18 byte header inside of the frame starting with the hash. The load report of the interface will omit the preambule and ifg, because the statistics that the interface collects accounts only for bytes received on layer 2. So layer 2 devices see the overhead of a maximum of 1500 byte SDU as a value of 18 or a value of 22 bytes. That makes sense.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group