Skip to main content
Related image


IMPLEMENTATION OF DHCP IN CISCO PACKET TRACER

The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on UDP/IP networks whereby a DHCP server dynamically assigns an IP address and other network configuration parameters to each device on a network so they can communicate with other IP networks. A DHCP server enables computers to request IP addresses and networking parameters automatically from the Internet service provider (ISP), reducing the need for a network administrator or a user to manually assign IP addresses to all network devices.In the absence of a DHCP server, a computer or other device on the network needs to be manually assigned an IP address, or to assign itself an APIPA address, which will not enable it to communicate outside its local subnet.
DHCP can be implemented on networks ranging in size from home networks to large campus networks and regional Internet service provider networks. A router or a residential gateway can be enabled to act as a DHCP server. Most residential network routers receive a globally unique IP address within the ISP network. Within a local network, a DHCP server assigns a local IP address to each device connected to the network.
How to IMPLEMENT DHCP :
  1. Select 2 PCs , 1 Routers and 1 Switches .
  2. Make all the necessary connections .
  3. Assign IP addresses , subnets and gateways .
  4. In pc , goto IP Configuration and select DHCP .
  5. After all the connections are made and all the configuration is done goto the command line of router 1 .

Commands :

Router>enable
Router#config t
Router(config)#int gig 0/1
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#ip dhcp pool IP1
Router(dhcp-config)#net 192.168.1.0 255.255.255.0
Router(dhcp-config)#default 192.168.1.100
Router(dhcp-config)#exit
Router(config)#ip dhcp exc 192.168.1.2 192.168.1.10
Router(config)#exi

Comments

Popular posts from this blog

Packet Tracer Simulation – TCP and UDP Communications Part 1: Generate Network Traffic in Simulation Mode Step 1: Generate traffic to populate Address Resolution Protocol (ARP) tables.  Click MultiServer and click the Desktop tab > Command Prompt.  Enter the ping 192.168.1.255 command. This will take a few seconds as every device on the network responds to MultiServer.  Close the MultiServer window. Step 2: Generate web (HTTP) traffic.  Switch to Simulation mode.  Click HTTP Client and click the Desktop tab > Web Browser.  In the URL field, enter 192.168.1.254 and click Go. Envelopes (PDUs) will appear in the simulation window.  Minimize, but do not close, the HTTP Client configuration window. Step 3: Generate FTP traffic.  Click FTP Client and click the Desktop tab > Command Prompt.  Enter the ftp 192.168.1.254 command. PDUs will appear in the simulation window.  Minim...

Configuration of Routing Information Protocol

Configuration of Routing Information Protocol Routing Information Protocol  ( RIP ) is a dynamic  routing protocol  which uses hop count as a  routing  metric to find the best path between the source and the destination network. It is a distance vector  routing protocol  which has AD value 120 and works on the application layer of OSI model.  RIP  uses port number 520. Features of RIP 1. Updates of the network are exchanged periodically. 2. Updates (routing information) are always broadcast. 3. Full routing tables are sent in updates. 4. Routers always trust on routing information received from neighbor routers. This is also known as  Routing on rumours . RIP versions :  There are three vesions of routing information protocol –  RIP Version1 ,  RIP Version2  and  RIPng . RIP v1  is known as  Classful  Routing Protocol because it doesn’t send information of subnet mask in...
Configuration of Static/Dynamic NAT in Cisco Router Static NAT (Network Address Translation) is one-to-one mapping of a private IP address to a public IP address. Static NAT (Network Address Translation) is useful when a network device inside a private network needs to be accessible from internet. In order to configure NAT we have to understand four basic terms; inside local, inside global, outside local and outside global. These terms define which address will be mapped with which address. Term : Description Inside Local IP Address : Before translation source IP address located inside the local network. Inside Global IP Address : After translation source IP address located outside the local network. Outside Global IP Address: Before translation destination IP address located outside the remote network. Outside Local IP Address : After translation destination IP address locat...