Several references of the OSI model states the following:
- A layer serves the layer above it and is served by the layer below it.
- Each layer provides services to the next-higher layer and shields the upper layer from the details of how the services below it are actually implemented.
Therefore, the Network Layer (#3) should provide services for the Transport Layer (#4) and not the other way around. However, there are some routing protocols (Network Layer) that uses UDP and TCP services (Transport Layer), for example:
- RIP (Routing Information Protocol) uses UDP
- BGP (Border Gate Protocol) uses TCP
How do we reconcile that? Am I missing something?