You are on page 1of 3

WHAT IS RIP AND HOW IT IS DIFFERENT FROM EIGRP ?

WHAT IS DHCP AND HOW TO CONFIGURE ?

Ans. 1)

 RIP is a distance vector routing protocol.

Sl.No. RIP EIGRP


1 It stands for Routing information It stands for Enhanced Interior Gateway Routing
protocol. Protocol.
2 It is a distance vector routing It is a distance vector as well as link state
protocol. protocol.
It is also called as hybrid protocol.
3 It supports upto 15 hops. It supports upto 255 hops.
By default hop count is 100.
4 It’s update timer is 30sec
Invalid timer is 180sec
Floss timer is 240sec
5 Metrix- hop count Metrix- Composite(reliability, load, relay)
6 Algorithm-distance vector routing Algorithm-dual(diffusing update Algorithm).
protocol.
7 RIP has 2 versions- It is a classless protocol.
1.classful, 2.classless
RIP version 2 supports VLSM
8 It’s administrative distance value is It’s administrative distance value is 90.
120.

Ans. 2)

 DHCP is a Dynamic Host Configuration Protocol used by networking devices like routers, servers,
laptops, PC’s, network printers, etc, in order to automatically obtain correct network
parameters like IP addresses, subnet masks, Default Gateways, Domain Names, DNS server
addresses and TFTP server addresses so that they can access network and internet resources.
 The following actions can be performed with DHCP:

 Lease IP addresses for a specific amount of time to the DHCP clients, and the IP address can be
renewed automatically when the client requests for a renewal.
 Update DHCP client parameters automatically by changing a server or scope option at the DHCP
server rather than performing this action individually on all DHCP clients.
 Reserve IP addresses for specific computers or other devices so that they always have the same
IP address.
 Exclude IP addresses or address ranges from distribution by the DHCP server so that these IP
addresses and ranges can be used to statically configure servers, routers, and other services that
require static IP addresses.
Advantages of DHCP :

 Reliable IP address configuration.


 DHCP minimizes the configuration errors caused by manual IP address configuration like IP
address conflicts caused by the assignment of an IP address to more than one computer at the
same time.
 Reduced network administration.
 The ability to define TCP/IP configurations from a central location.

The Router can be both a DHCP server and DHCP client.

Configuring a Router as a DHCP server :

 Let us take a Router India as a DHCP server, we use network 175.175.0.0/16, the router
interface fastethernet 0/0 ip is 175.175.100.1.

The PC’s get their IP’s from the DHCP Router.

Router > en

Router # config t

Router (config) # hostname India

Router (config) # ctrl+z

wr

India # config t

India (config) # int f0/0

India (config-if)# ip address 175.175.100.1 255.255.0.0

India (config-if)# no shut

India (config-if)# ctrl+z

wr

India#

India# config t

India (config) # int s0/0

India (config-if) # ip address 10.0.0.1 255.0.0.0


India (config-if) # no shut

India (config-if) #ctrl+z

wr

India# config t

India (config) #ip dhcp pool Testking

India (config-dhcp) #network 175.175.0.0

India (config-dhcp) #default-router 175.175.100.1 255.255.0.0

India (config-dhcp) #dns-server 175.175.100.5

India (config-dhcp) #ctrl+z

wr

You might also like