ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



Microsoft (MCSE, MCSD, MOUS, MCAD) > 70-216 > Diferences between Datagrams and Segments

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread


Featured site:  Online 70-216 practice exams from Cert21.com



Pages (2): [1] 2 »

Author Diferences between Datagrams and Segments
jocampo
Proud to be Colombian!
M




Registered: Aug 2002
Location: Ponce, PR
Country: Puerto Rico
State:
Certifications: MCSA [70-210/70-215/70-217/70-218] , Net+, A+, CST
Working on: 70-216

Total Posts: 1014
Question Diferences between Datagrams and Segments

Hi.

Checking my network monitor when i'm connected to internet i've found that the Datagrams send are equal to Datagrams Delivered, but Datagrams IN are not equal to the Datagrams OUT...¿why?....also, Segments Received are different to Segments Delivered. Could someone please explain this to me? And what's the main different between Datagrams and Segments.
Thanks a lot,

__________________
Best Regards
José A. Campo
MCSA, Net+, A+, CST



Colombia: flowers, rivers, oceans, soccer...and nice people!

Report this post to a moderator

Old Post 01-27-03 08:57 PM
jocampo is offline Click Here to See the Profile for jocampo Click here to Send jocampo a Private Message Add jocampo to your buddy list Find more posts by jocampo Reply w/Quote Edit/Delete Message IP: Logged
Slinky
Junior Member




Registered: Aug 2000
Location: 35° 24' N 97° 36' W
Country: US of A
State:
Certifications: A+, N+, MCSA
Working on: MCSE

Total Posts: 2009

Generally datagrams refer to UDP, and segments refer to TCP. As far as why the numbers are different, I can't explain that.

Report this post to a moderator

Old Post 01-27-03 09:23 PM
Slinky is offline Click Here to See the Profile for Slinky Click here to Send Slinky a Private Message Add Slinky to your buddy list Find more posts by Slinky Reply w/Quote Edit/Delete Message IP: Logged
Tronn
Senior Member
M




Registered: May 2001
Location: Basildon, Essex
Country: United Kingdom
State:
Certifications: Net+, MCPx2
Working on: (216) MCSE, MCSA, CCNA

Total Posts: 208

A segment is the PDU this is formed at the Transport layer when the data stream is segmented. This is then pasted down to the Network layer where the segment is encapsulated in a datagram (packet) this contains logical address information etc used for routing the packet (datagram) to the remote network. This is then passed down to the Data Link layer where the datagram is framed with information which includes physical addressing (MAC addresses). Finally the frame is passed down to the physical layer where it is broken down into bits ready to be placed on the physical network.

There is loads of info I've left out but that is a very basic look from segments to bits etc.

From all my studying the terms packet and datagram have been used interchangeably.

As for the difference in datagram's in to datagram's out. This is to do with the way TCP/IP works. You request a web page with only a few datagram's (three way handshake) and then the web server will send say four datagram's and your PC will send 1 acknowledgement that those four datagram's were received. So your receiving four times more datagram's than your sending. This is why most cable and xDSL connections are asynchronous as you normally receive more data (download) than you send (upload).

Sorry I got a bit carried away there.

__________________
There are only 10 kinds of people in the world, those who understand binary and those who don't!

Last edited by Tronn on 01-27-03 at 10:33 PM

Report this post to a moderator

Old Post 01-27-03 10:22 PM
Tronn is offline Click Here to See the Profile for Tronn Click here to Send Tronn a Private Message Add Tronn to your buddy list Find more posts by Tronn Reply w/Quote Edit/Delete Message IP: Logged
jocampo
Proud to be Colombian!
M




Registered: Aug 2002
Location: Ponce, PR
Country: Puerto Rico
State:
Certifications: MCSA [70-210/70-215/70-217/70-218] , Net+, A+, CST
Working on: 70-216

Total Posts: 1014

Mmmm....so, according to your explanation, Datagrams sent and received must have to be the same, right?


Let' see my own case again. These are the numbers showed by my Neteork Monitor:

(IP)Datagramas received: 13257
(IP)Datagrams sent: 13257

(UDP)Datagrams In: 4790
(UDP)Datagrams Out: 5203

(TCP)Segments Received: 8378
(TCP)Segments Sent: 9046

__________________
Best Regards
José A. Campo
MCSA, Net+, A+, CST



Colombia: flowers, rivers, oceans, soccer...and nice people!

Last edited by jocampo on 01-27-03 at 11:40 PM

Report this post to a moderator

Old Post 01-27-03 11:25 PM
jocampo is offline Click Here to See the Profile for jocampo Click here to Send jocampo a Private Message Add jocampo to your buddy list Find more posts by jocampo Reply w/Quote Edit/Delete Message IP: Logged
Tronn
Senior Member
M




Registered: May 2001
Location: Basildon, Essex
Country: United Kingdom
State:
Certifications: Net+, MCPx2
Working on: (216) MCSE, MCSA, CCNA

Total Posts: 208

No. As your a client machine you should find that you have received more datagrams than you have sent.

__________________
There are only 10 kinds of people in the world, those who understand binary and those who don't!

Report this post to a moderator

Old Post 01-27-03 11:38 PM
Tronn is offline Click Here to See the Profile for Tronn Click here to Send Tronn a Private Message Add Tronn to your buddy list Find more posts by Tronn Reply w/Quote Edit/Delete Message IP: Logged
jocampo
Proud to be Colombian!
M




Registered: Aug 2002
Location: Ponce, PR
Country: Puerto Rico
State:
Certifications: MCSA [70-210/70-215/70-217/70-218] , Net+, A+, CST
Working on: 70-216

Total Posts: 1014

quote:
Originally posted by Tronn
No. As your a client machine you should find that you have received more datagrams than you have sent.


Hi.

Check my post again, i edited it...


Well!!!!! i think i recall now, Segments received must be less than Sent because the 3 way handshake SYN process, right?....ok...i see ....but what about the IP values of Datagrams Send and Received? they have to be the same if there are no problems on the network?

__________________
Best Regards
José A. Campo
MCSA, Net+, A+, CST



Colombia: flowers, rivers, oceans, soccer...and nice people!

Last edited by jocampo on 01-27-03 at 11:46 PM

Report this post to a moderator

Old Post 01-27-03 11:41 PM
jocampo is offline Click Here to See the Profile for jocampo Click here to Send jocampo a Private Message Add jocampo to your buddy list Find more posts by jocampo Reply w/Quote Edit/Delete Message IP: Logged
Tronn
Senior Member
M




Registered: May 2001
Location: Basildon, Essex
Country: United Kingdom
State:
Certifications: Net+, MCPx2
Working on: (216) MCSE, MCSA, CCNA

Total Posts: 208

quote:
Originally posted by jocampo
Hi.

Check my post again, i edited it...


Well!!!!! i think i recall now, Segments received must be less than Sent because the 3 way handshake SYN process, right?....ok...i see ....but what about the IP values of Datagrams Send and Received? they have to be the same if there are no problems on the network?



Also, depending on the sliding window size, you only send one ACK datagram for every 3 or 4 datagrams received.

As for your IP figures. I'm not really sure what that's measuring. Again I would have thought that amount sent would be less than the amount received.

Anybody else?

__________________
There are only 10 kinds of people in the world, those who understand binary and those who don't!

Report this post to a moderator

Old Post 01-28-03 12:13 AM
Tronn is offline Click Here to See the Profile for Tronn Click here to Send Tronn a Private Message Add Tronn to your buddy list Find more posts by Tronn Reply w/Quote Edit/Delete Message IP: Logged
jocampo
Proud to be Colombian!
M




Registered: Aug 2002
Location: Ponce, PR
Country: Puerto Rico
State:
Certifications: MCSA [70-210/70-215/70-217/70-218] , Net+, A+, CST
Working on: 70-216

Total Posts: 1014

(IP)Datagramas received: 13257
(IP)Datagrams sent: 13257

(UDP)Datagrams In: 4790
(UDP)Datagrams Out: 5203

(TCP)Segments Received: 8378
(TCP)Segments Sent: 9046

Can someone please explain these values to me? They are taken from my Internet connection. why some of 'em are identicals...why some not......etc.... nobody??

__________________
Best Regards
José A. Campo
MCSA, Net+, A+, CST



Colombia: flowers, rivers, oceans, soccer...and nice people!

Report this post to a moderator

Old Post 01-28-03 08:31 PM
jocampo is offline Click Here to See the Profile for jocampo Click here to Send jocampo a Private Message Add jocampo to your buddy list Find more posts by jocampo Reply w/Quote Edit/Delete Message IP: Logged
cutshaw
Junior Member
F




Registered: Jan 2003
Location:
Country: United Kingdom
State:
Certifications: MCSE, MCDBA, CCNA
Working on:

Total Posts: 1

"From all my studying the terms packet and datagram have been used interchangeably."

A datagram is a data packet that has had the network address added to it during the ecapsulation process.

A packet is a group of bits which encompasses a header, data, and trailer.

Report this post to a moderator

Old Post 01-28-03 09:26 PM
cutshaw is offline Click Here to See the Profile for cutshaw Click here to Send cutshaw a Private Message Add cutshaw to your buddy list Find more posts by cutshaw Reply w/Quote Edit/Delete Message IP: Logged
Tronn
Senior Member
M




Registered: May 2001
Location: Basildon, Essex
Country: United Kingdom
State:
Certifications: Net+, MCPx2
Working on: (216) MCSE, MCSA, CCNA

Total Posts: 208

quote:
Originally posted by cutshaw
"From all my studying the terms packet and datagram have been used interchangeably."

A datagram is a data packet that has had the network address added to it during the ecapsulation process.

A packet is a group of bits which encompasses a header, data, and trailer.



But doesn't the encapsulation process include the addition of the header and trailer to the data (segment) with the header containing the network address?

From your description they still look very much like the same thing. Unless your saying that the header, which includes the source and destination network addresses, is added which makes a datagram. Then the trailer is added afterwards which then makes it a packet.

All very ambiguous if you ask me.

__________________
There are only 10 kinds of people in the world, those who understand binary and those who don't!

Report this post to a moderator

Old Post 01-28-03 10:06 PM
Tronn is offline Click Here to See the Profile for Tronn Click here to Send Tronn a Private Message Add Tronn to your buddy list Find more posts by Tronn Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Pages (2): [1] 2 » Post new thread   Post reply

Click here for list of 70-216 study guides

MCSE exam notes

70-216 exam details



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps