What would happen if the same port number were used for both?

Because SNMP uses two different port numbers (UDP ports 161 and 162), a single system can easily run both a manager and an agent.  What would happen if the same port number were used for both?
Li SonapsAsked:
Who is Participating?
 
David Johnson, CD, MVPOwnerCommented:
udp is fire and forget.  Using separate ports makes for less overhead (is this a management packet or a agent packet remember this is the simple net management protocol
1
 
Dr. KlahnPrincipal Software EngineerCommented:
UDP is not like TCP where a connection can be handed off to another process.  Thus two ports are preferable.
0
 
Dr. KlahnPrincipal Software EngineerCommented:
No further input from questioner.  Points split among participants.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.