CrazyEngineers
  • Networking doubts

    Sachin Jain

    Sachin Jain

    @sachin-0wuUmc
    Updated: Oct 21, 2024
    Views: 1.1K
    Guys i have few doubts which i am posting here....please look into them

    1. Since routers work at network layer then how can they use TCP/UDP for transmitting routing information
    i.e TCP is used by BGP (an exterior gateway protocol)
    And UDP is used by RIP (an Interior gateway protocol)

    TCP and UDP works at transport layer. Why they use TCP/UDP ?

    2. How do we know our application use which protocol.
    For example : -Suppose we want to know gtalk uses tcp or udp then how to check it ?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • sushant005

    MemberNov 11, 2010

    TCP is a connection - oriented protocol it means that for establishing the connection first sender send the request to the receiver and then after getting the request receiver give the feedback ACK to the sender and then in response a TCP packet with the ACK send bt the sender to say that connection is established and are ready to communicate.
    It is called as the three - handshake process.

    Where as UDP is connectionless protocol it means that it does not need to verify whether the receiver is listening or ready to accept the packet...and this is one of the reason why it is faster then TCP and the e-mail programs are UDP based. and i think Gtalk is also UDP based..

    do me correct if i m wrong...
    Are you sure? This action cannot be undone.
    Cancel
  • Sahithi Pallavi

    MemberNov 11, 2010

    hey Routers use TCP/UDP?
    As per my knowledge, they use IP like IPv4, IPv6.
    Are you sure? This action cannot be undone.
    Cancel
  • Morningdot Hablu

    MemberNov 11, 2010

    didn't get your first question.

    2.>
    Download Wireshark freeware understand the packet captured in the log .
    you can also use the command netstat -na and after closing all the network applications and open onlu gtalk without login.
    Are you sure? This action cannot be undone.
    Cancel
  • Sachin Jain

    MemberNov 11, 2010

    sahithi pallavi
    hey Routers use TCP/UDP?
    As per my knowledge, they use IP like IPv4, IPv6.
    Actully routers use routing protocols which use TCP/UDP

    There are 2 types of routing protocols
    1. Exterior gateway protocol (example BGP which use TCP)
    2. Interior gateway protocol (example OSPF,RIP which use UDP)

    IPV4 is used also.
    But above IPv4 tcp/udp is used
    Are you sure? This action cannot be undone.
    Cancel
  • Sachin Jain

    MemberNov 11, 2010

    @mohit thanx for answering the 2nd one.

    My 1st question is
    Since TCP/UDP are transport layer protocols so how can a router (a network layer device ) can use these protocols (above layer protocols) ?
    Are you sure? This action cannot be undone.
    Cancel
  • Raja_V

    MemberFeb 25, 2016

    As per the query provided above:

    TCP is used for BGP and UDP is used for RIP.
    The first point here to mention why BGP uses TCP rather than UDP?
    BGP uses TCP for the communication purpose as all other protocols does, the port number used by BGP to establish the communication is 179.

    RIP uses UDP and the port number used is 520.

    As per the OSI model these applications differ with the Internet Protocol Suit where in the Routing protocols are present in Application layer and the TCP UDP and other in Transport layer.

    Coming onto the second point : gtalk.

    As per the OSI model we can identify which layer provides what. X.400 standard to deliver the messages.

    We can use Wire shark to find which protocol is being used by the application. Its a free tool and can be downloaded from Internet, you can also check the time, bytes, packet size and the protocols used.

    I hope this information is informative.

    Regards,
    Raja.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register