Question

protocols in a general computer network

Asked by: ragnarok123

I am currently developing an application related with network packet analyzer.
The question is simple, in a common network, what kind of packets exist ?

suppose that the network is using tcp/ip and OSPF as routing protocol, what packets will exist?
so far I figure that it will only be TCP/IP data packet, icmp, tcp/udp and tcp/ip for OSPF purpose

can someone give me a detailed answer ?
thanks

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-11-01 at 06:49:50ID21615085
Topics

Miscellaneous Networking

,

Network Switches & Hubs

,

Network Auditing Software

Participating Experts
8
Points
500
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ICMP packets
    Hi, I'm trying to make application to catch every ICMP echo request (ping) ,before my kernel(?!?) echo reply on it or even right after that (i need source IPaddr,packet_len) , i've browsed 'icmp.dll' info and didn't understand how to recieve them from this way . i hope someo...
  2. ICMP
    Does anyone know how to program ICMP under Delphi, or at all? I know nothing about it, and can't find good programming-related resources to it on the internet. I want to write my own ping-program, and that I know uses ICMP protocols. I found a link to the ICMP specificatio...
  3. more ICMP packets than http packets
    Hello everybody! this is my favourite place to get expert assistance. So i have come up with a question. I work for an ISP(about 10K customers). The problem we face more frequently is that there are more ICMP packets coming from the customer premise. With the outbreak of the ...
  4. Capturing ARP/UDP/TCP/ICMP packets/frames
    I need to see (bit by bit) ARP/UDP/TCP/ICMP requests and response packets to study these protocols. There is a software to do that (to capture the packets and allow see bit by bit)? And, how to make these packets flow on the network (example: I know that to see ICMP packet I ...
  5. Server is sending ICMP 8 packets.
    We're running Aix version 5 on an RS6000 P530 and it's sending out ICMP 8 packets. How do I stop it and why would it do it?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: AccyStanleyPosted on 2005-11-01 at 07:52:23ID: 15200849

Download Ethereal and see for yourself - would be real useful for the rest of your application too.

www.ethereal.com

Good luck

 

by: RDAdamsPosted on 2005-11-01 at 08:04:56ID: 15200971

It depends totally on the network.  Different protocols are used depending on your environment.  When you have a mixed environment then more protocols will likely be present.

 

by: Naser72Posted on 2005-11-01 at 08:20:40ID: 15201122

 

by: JonShPosted on 2005-11-01 at 09:02:36ID: 15201477

Let's give some answers then:
A pC boots up and requests an address: DHCP Request
DHCP server hands out an address: DHCP Reply
Computer A want to transfer a file,
computer A ARPS for computer B: ARP requests and replies (also proxy replies)
Name Resolution: DNS packets, maybe NBT too?  maybe (shudder) WINS?

etceteras, and so far I am ignoring the routing protocol packets (OSPF in your case).

 

by: giltjrPosted on 2005-11-01 at 09:42:57ID: 15201836

How far up the protocol chain do you want to go?  IP is layer 2, TCP and UPD are layer 3.  You have other protocols that sit on top of TCP/UP.  JonSh has mentioned some, NetBIOS, WINS (which is actually part of NetBIOS) and DNS.  In addition to those you have HTTP, FTP, Telnet, etc., etc., etc..

Do you want to decode layer 1; Ethernet, Token Ring, ATM, ect?

 

by: JonShPosted on 2005-11-01 at 10:11:59ID: 15202097

giltjr asks an excellent question.  And you'll see different kinds of traffic depending on where you sample in a large network.  You have all the layer 1 (physical differences) and layer 2 (framing options) stuff that you might or might not see depending on where you plug your analyzer in.  Do you have to decode vlans and trunks?

 

by: pseudocyberPosted on 2005-11-01 at 10:27:30ID: 15202246

You mention OSPF - you typically don't see OSPF inside a LAN.

Lots of ARP, if you run VRRP you'll see that.  DHCP.  Lots of STP.

What does this mean:  I figure that it will only be TCP/IP data packet, icmp, tcp/udp and tcp/ip for OSPF purpose

TCP & UDP exist encapsulated within IP, which in turn is encapsulated in an Ethernet Frame.  "TCP/IP" data packet - most packets carry "data" - even if it's a TCP ACK - that TCP portion will be considered IP data.

Do you have TCP/IP Illustrated Vol 1 & 2 by Richard Stevens?  If not, pick them up.
http://www.amazon.com/exec/obidos/tg/detail/-/0201633469/qid=1130869618/sr=8-1/ref=pd_bbs_1/002-6410915-8860038?v=glance&s=books&n=507846

 

by: xaxiusPosted on 2005-11-01 at 11:57:55ID: 15203107

The shortest and best answer is really to run Ethereal on a LAN segment that would be typical of the environment that your app is going to run in.

To ask about protocol types in a common network, is really still somewhat general since it's totally dependant on what type of hosts are going to be running on your network.  It's easy to assume Windows clients but if you have a mixed environment of Windows, Macs, Linux, then you're going to see some other traffic.  Regardless though, Ethereal is a good one to give packet info.

 

by: keith_alabasterPosted on 2005-11-01 at 13:47:17ID: 15204040

Truth is there is no such thing as a general network; it will all depend who you pose the question to. Novell guys will answer TCPIP, IPX/SPX, Microsoft people will tell you its mostly TCPIP whilst Apple users still insist that Streettalk is the only protocol worth bothering about. Why reinvent the wheel? The only answer is the one that fits the particular environment that you are assessing at the time. Most of the answers above give you the right answer and all fit nicely (most of the time) to the OSI model but that wasn't actually what you asked, was it?

Use the ethereal as suggested and the results will break the traffic down into the layers being used and then into the specific packet types. We use OSPF throughout our LAN as it is the fastest non-proprietary routing protocol we could use. We then use EIGRP as a middle area betwen our cores (as these are all Cisco) and then BGP between our neighbours, other ISP's.

 

by: JonShPosted on 2005-11-01 at 14:26:04ID: 15204386

keith_alabaster,

ya made me laugh - when I think of "street talk", I think of Banyan Vines :)

 

by: keith_alabasterPosted on 2005-11-02 at 09:43:48ID: 15210062

:) It made me feel old when I thought about it...

 

by: ragnarok123Posted on 2005-11-06 at 02:40:54ID: 15233627

thanks alot for the answers, i might need to give more specifications here..
(thanks to keith_alabaster)

actually i do not want to be too complicated..
the application will actually generate fake packet data, such as packet type, size, source, destination, etc..
it will then put the 'fake' data into database to be later processed..

since network is not actually the main objective (secondary only), i might be satisfied with the model of campus network only...
thus typical microsoft network, running TCP/IP with a dozen of routers, simple structure of VLANs or LANs
it may connect to the internet using routing protocols and does not necessarily include BGP (it is too big)
also, i might only want to involved first three layers (physical, data link and network), since my project is to analyze packet type, not really what is encapsulated inside...thus eliminate the HTTP, Telnet, FTP, etc...

all of you have given me so much new things to consider...thank you3x
by the end i might split the points then....

 

by: giltjrPosted on 2005-11-06 at 06:26:19ID: 15233997

What exactly are you attempting to do?  Some of your other questions, network traffic database, building spyware (deleted), and tracking windows activity (deleted) along with the statment " generate fake packet data" seems a little unusual to me.

 

by: JonShPosted on 2005-11-06 at 07:01:43ID: 15234115

Might be simler to plug into someone's existing network, grab some packets, re-write them and stuff them into your database, no?

 

by: giltjrPosted on 2005-11-06 at 10:31:00ID: 15234789

JohSh, your question is one of they reasons I asked my last one.  In one of other question he did state that he got Ethereal to work to trace  network traffic, see:

     http://www.experts-exchange.com/Networking/Q_21431153.html

So what is he really attempting to do?

 

by: ragnarok123Posted on 2005-11-09 at 06:56:29ID: 15256491

Sorry to be impolite....but i dont think what i am trying to do is important here
there is indeed connections with previous question, but you dont have to care about it
all i wanna know is just about network packets, how they interact...and so on...

as soon as i have answers, i will close this thread....
(got half so far...)

thanks...

 

by: pseudocyberPosted on 2005-11-09 at 07:00:13ID: 15256534

>>all i wanna know is just about network packets, how they interact...and so on...

I reiteriate, "Do you have TCP/IP Illustrated Vol 1 & 2 by Richard Stevens?  If not, pick them up."
http://www.amazon.com/exec/obidos/tg/detail/-/0201633469/qid=1130869618/sr=8-1/ref=pd_bbs_1/002-6410915-8860038?v=glance&s=books&n=507846

 

by: keith_alabasterPosted on 2005-11-09 at 07:30:21ID: 15256846

Haven't read those particular books but checking out the detail of the OSI model and the network model should give you the basis. The whole 'networking' philosophy is based around not caring what the frames and packets are doing or how they are interacting together. As I am sure you already know, the requirement is for a layer to be able to communicate between the next higher and lower ones. This is what allows IPX/SPX and TCP/IP packets to be carried across the same topology and to the same machines.

The two models I mention above will give you a graphical representation of how the various layers are aligned and into which layer a particular protocol would fit.

http://images.google.com/imgres?imgurl=http://homepages.luc.edu/%7Ebmontes/CIEP489-Images/OSI-Model.gif&imgrefurl=http://homepages.luc.edu/%7Ebmontes/CIEP489-Pages/Extra-Materials.html&h=427&w=512&sz=29&tbnid=PN6aygStFioJ:&tbnh=106&tbnw=127&prev=/images%3Fq%3Dosi%2Bmodel%26hl%3Den%26lr%3D&oi=imagesr&start=2

 

by: keith_alabasterPosted on 2005-11-09 at 07:32:52ID: 15256871

http://en.wikipedia.org/wiki/OSI_model

This is another one I like

 

by: giltjrPosted on 2005-11-09 at 09:34:58ID: 15258171

Well, your right we don't need to know.  Just like when you are feeling bad and you go to the doctor to get checked out, you don't need to tell the doctor anything.  You can make him just guess why you are there and what they need to do.

If we understood what you were attempting to do we might be able to give you more help or more references.

Based on your questions you are either attempting to do something that could be considered illegal, you have an idea for a new product/function, or something else that I can't even begin to guess.  For the illegal function, I can see why you would not want to tell us.  For a new product/function I could also see why you would not want to tell us.  As for something other than being illegal or a new product/function I have no idea why you would not want to tell us.

In a "common network" the type of packets that exist are those that are needed for the type of communciations required.  In my network I may have packets that I think are common that most other's don't.  Of couse I have IBM mainframes using SNA protocols that I think are common (70% of the world corporate data still exists on IBM mainframe and still go though SNA) while other may not think SNA type traffic is common.  I have very little IPX/SPX so I don't think that is common, but somebody who started off in the Novell world may think that is very common.

You asked for detailed answer to a generic question with no back ground.  I doubt if you will get the full answer you want.  Answers are related not just to a question, but the expected results.  Without knowing the epxected results, the answer may be meaning less, because the question could be the wrong question.

Good luck with your project and hopefully somebody will stumble across the correct answer for you.

 

by: ragnarok123Posted on 2005-11-13 at 13:05:24ID: 15284434

all i want is an answer about something...
if i have a WRONG question...at least one could provide suggestions...not criticism

btw i got what i want....i will give the points...thanks a lot everyone

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...