in Computer Networks edited by
13,784 views
27 votes
27 votes

Match the following:
$$\begin{array}{llll} \text{(P)} & \text{SMTP} &(1)& \text{Application layer} \\ \text{(Q)} & \text{BGP}& (2) & \text{Transport layer} \\   \text{(R)} & \text{TCP}& (3) & \text{Data link layer} \\  \text{(S)} & \text{PPP}& (4) & \text{Network layer} \\ &&(5) & \text{Physical layer}  \\ \end{array}$$

  1. $\text{P - 2, Q - 1, R - 3, S - 5}$
  2. $\text{P - 1, Q - 4, R - 2, S - 3}$
  3. $\text{P - 1, Q - 4, R - 2, S - 5}$
  4. $\text{P - 2, Q - 4, R - 1, S - 3}$
in Computer Networks edited by
13.8k views

2 Comments

Answer: Option (B).

P - 1, Q - 4, R - 2 is Self Explanatory, but for S-PPP , refer:

In terms of the OSI model, PPP provides Layer 2, or data-link, service. PPP is a full-duplex protocol that can be used on a variety of physical media, including twisted pair copper wire, fiber optic lines or satellite links. PPP uses a variation of High-level Data Link Control (HDLC) for packet encapsulation.
11
11
if BGP is network layer protocol how does it use TCP as the transport layer?
2
2

4 Answers

35 votes
35 votes
Best answer

Answer is B.

  • SMTP is an application layer protocol used for e-mail transmission.
  • TCP is a core transport layer protocol.
  • BGP is a network layer protocol backing the core routing decisions on the Internet.
  • PPP is a data link layer protocol commonly used in establishing a direct connection between two networking.
edited by

4 Comments

doubt : but Wikipedia says BGP is application layer protocol

https://en.wikipedia.org/wiki/Border_Gateway_Protocol

0
0

BGP: It is a Network layer protocol.

Border Gateway Protocol (BGP) is a routing protocol used to transfer data and information between different host gateways, the Internet or autonomous systems. BGP is a Path Vector Protocol (PVP), which maintains paths to different hosts, networks and gateway routers and determines the routing decision based on that. It does not use Interior Gateway Protocol (IGP) metrics for routing decisions, but only decides the route based on path, network policies and rule sets.Sometimes, BGP is described as a reachability protocol rather than a routing protocol.

BGP roles include:

  • Because it is a PVP, BGP communicates the entire autonomous system/network path topology to other networks
  • Maintains its routing table with topologies of all externally connected networks
  • Supports classless interdomain routing (CIDR), which allocates Internet Protocol (IP) addresses to connected Internet devices

When used to facilitate communication between different autonomous systems, BGP is referred to as External BGP (EBGP). When used at host networks/autonomous systems, BGP is referred to as Internal BGP (IBGP).

7
7
physical layer is used ppp in tcp/ip protocal right? in iso model data link layer uses ppp
0
0
14 votes
14 votes
I guess answer is (b) here.PPP is a data link layer protocol

https://docs.oracle.com/cd/E18752_01/html/816-4554/ipov-6.html
by
10 votes
10 votes
Correct answer is :: P - 1, Q - 4, R - 2, S - 3

Explanation::
SMTP is application layer protocol but take help of TCP for activation over link for transfering mail.

TCP:: It is transport layer protocol.

BGP:: Border Gateway procoly is used to connect two AS and used in Network layer.

While PPP:: Point to point connection with the help of MAC will come under the category of Data Link layer.
–5 votes
–5 votes
The answer is (C). PPP - refers to Point to Point Protocol which falls under Physical Layer.
Answer: