BGP stands for Border gateway protocol. It is used to exchange the routing information between the networks. It makes the internet work. It always selects the local path preference. Because of the below reasons it is choosing the path than the best path.
- Firstly RIP (Routing Information Protocol) selects the path with lowest hop count.
- OSPF (Open Shortest Path First) selects the path with the lowest cost. This is more important.
- The best path in internet depends on how we are forwarding the traffic and to which autonomous system instead of the shortest path.
- Higher local preference path is preferred.
-Shortest AS Path is preferred. It is much more important.
- We should prefer the path with lowest origin type.
So BGP establishes the connection with the shortest path. If the connection is broken for some reasons, it can automatically arrange the routing tables to reach the Autonomous system.
ARP stands for Address Resolution Protocol. To reach a specific device we use this protocol. It enables communication between two networks. It is used to connect a layer 3 (Network layer) address (such as an IP address) with a layer 2 (Data Link layer) address (MAC address). ARP finds the hardware address also known as MEDIA ACCESS CONTROL (MAC) address, of a host from its known IP Address. ARP provides a necessary bridge between physical and logical address on a TCP/IP protocol.
IP address Overview
Address resolution on a single LAN
Address resolution when interconnected by a router
ARP and Proxy ARP
ARP Cache entry
ARP converts IP addresses to ethernet addresses. ARP is vital as the original ethernet hardware communicates using ethernet addresses, not IP addresses.
This is based off of a series of UseNet posts (one in particular) on the alt.certification.network-plus news group.
The major differences between ARP and BGP are as follows −
|1||Definition||It stands for Address Resolution Protocol. To reach a specific device we use this protocol. It enables communication between two networks.||It stands for Border gateway protocol. It is used to exchange the routing information between the networks. It makes the internet work.|
|2||Need||It is used to discover the link-layer which are linked with the given IP address||It will exchange routing information for the internet.|
|3||Used||It is used to set on IPv4 address that is a 32bit logical address to the physical address||When the routing protocol is used between different ISPs it is known as external BGP.|
Within their network is known as internal BGP.
|4||OSI Layer||The working of the ARP Model is between 2 layer and 3 layer||It is present in Layer number 4 above the TCP/IP layer.|
|5||Safety||It is a secure protocol as compared to BGP.||It is not a secure protocol. It is not safe to use.|