Overview
The Network Layer is all about networks and routing packets to the correct network, it is the "Layer of The Internet" the layer of the IP protocol. The IP protocol is a connectionless protocol, it doesn't care about setting up a connection prior to sending like TCP's three way handshake, it just sends. IP is also a best effort protocol in that it isn't reliable, it leaves reliability up to TCP with its sequence numbers and syns and acks. IP is only concerned with getting the packets to the right network, i.e the Best Path. The Network Layer header specifies the network addressing i.e. source and destination IP addresses.
IP Addressing - Example
192.168.1.111 - If this is the ip address
255.255.255.0 - and this is the netmask or subnet mask
192.168.1.111 - then the network is red, and the host is green ... why?
255.255.255.0 - the network portion is defined by the red 255s and the host portion is defined by the green 0 portion.
192.168.1.0 - the first address is the network address and cannot be assigned to a host
192.168.1.255 - the last address is the broadcast address and cannot be assigned to a host
192.168.1.1 thru 254 - are available for host addresses
If we convert the 255.255.255.0 netmask from decimal to binary the 1s represent the network portion and the zeros represent the host portion:
11111111.11111111.11111111.00000000 - Binary
255.255.255.0 - Decimal
The above ip address and netmask together can be represented as:
192.168.1.111 /24 - The /24 represents the number of binary 1s in the netmask counted from left to right
11111111.11111111.11111111.00000000 - 24 x1s or /24
Broadcast Domains
The Protocols of the Network Layer
IPv4 - The most widely used network layer protocol, and part of the TCP/IP suite used on the internet. A connectionless, best effort protocol.
IPv6 - The successor to IPv4, with 128 bit addresses instead of 32 bit addresses to solve address space and other issues.
ICMP - Internet Control Message Protocol, part of the TCP/IP suite responsible for error messages when services or destinations are unreachable. ICMP is used directly by the ping and trace route utilities.
IPsec - Internet Protocol Security is a TCP/IP suite protocol that provides authentication and encryption similar to SSH, but at the network level for packets, making any type of TCP/IP communication secure. It has been back-engineered into IPv4, and is required under IPv6 for interoperability.
IPX - Novell Internetwork Packet Exchange, a protocol used by Novell NetWare systems that has become depreciated since the acceptance of TCP/IP
Appletalk - A proprietary Apple protocol, depreciated and no longer supported in the latest releases of Apple's operating system.
CLNS/DECNet - Connectionless Network Service. A connectionless protocol that is not found on the internet, but still used in many telecommunications networks.
Video Tutorials - Routing Basics
| < Prev | Next > |
|---|





