OSPF vs BGP
From WikiVS, the open comparison website
BGP stands for Border Gateway Protocol. OSPF stands for Open Shortest Path First. Both are protocols that deal with routes. OSPF is mainly found on corporate networks, whereas BGP is mainly found in the wild on the internet. OSPF is a broadcast protocol whereas BGP is a point-to-point protocol using TCP.
There are two types in BGP.They are 1.Internal BGP ( IBGP ) 2.External BGP ( EBGP )
IBGP includes routes exchange within the same AS where as EBGP includes exchange of routes between two AS.