Computer networksUNIT 3
Computer networksUNIT 3
NETWORK Layer
Design Issues
• Store-and-Forward Packet Switching
• Implementation of Connectionless Service (Datagram Switching
Subnet)
• Implementation of Connection-Oriented Service (Virtual Circuit
Switching Subnet)
• Services Provided to the Transport Layer
Store-and-Forward Packet Switching
• Reverse Address Resolution Protocol (RARP) finds the logical address for a machine that knows
only its physical address. Each host or router is assigned one or more logical (IP) addresses,
which are unique and independent of the physical (hardware) address of the machine.
• To create an IP datagram, a host or a router needs to know its own IP address or addresses.
• The IP address of a machine is usually read from its configuration file stored on a disk file.
• The machine can get its physical address (by reading its NIC, for example), which is unique
locally. It can then use the physical address to get the logical address by using the RARP
protocol.
• A RARP request is created and broadcast on the local network.
• Another machine on the local network that knows all the IP addresses will respond with a RARP
reply.
• The requesting machine must be running a RARP client program; the responding machine must
be running a RARP server program.
• The Bootstrap Protocol (BOOTP) is a client/server protocol designed to provide physical
address to logical address mapping. BOOTP is an application layer protocol.
• The administrator may put the client and the server on the same network or on different
networks.
• The Dynamic Host Configuration Protocol (DHCP) has been devised to provide static and
dynamic address allocation that can be manual or automatic.
• When a DHCP client sends a request to a DHCP server,
• The server first checks its static database.
• If an entry with the requested physical address exists in the static database, the permanent IP
address of the client is returned
• The dynamic aspect of DHCP is needed when a host moves from network to network or
is connected and disconnected from a network.
• DHCP provides temporary IP addresses for a limited time.The addresses assigned from
the pool are temporary address
THANK YOU