The blog includes a vivid coverage of the concepts of CCNA, CCNP (Routing & Switching) , Basic Linux and Linux servers. Projects have also been simulated to give a practical exposure.

Saturday 10 May 2014

DHCP server on Switch in GNS3

1 comment
DHCP server is the server which provides IP address dynamically to the host. In GNS3 IOS 3725 image is used as Layer 3 Switch. It has NM-16ESW slot which has 16 fastethernet ports.





In this topology R1 is Layer 3 switch and SW1 is Layer 2 switch (unconfigurable), 2 hosts. Switch R1 has DHCP server which gives IP address automatically to the hosts.

Configuration of Layer 3 switch R1 :-

IP address on interface

interface FastEthernet1/0
 no switchport
 ip address 10.0.0.1 255.255.255.0
 duplex full
 speed 100

DHCP pool on router :-


ip dhcp pool cisco
network 10.0.0.0 255.255.255.0
default-router 10.0.0.1

Start DHCP service

 # service dhcp

On Layer 3 switch, dhcp service has to start, without this service dhcp server will not start working.

On router this service is enabled by default.

 

 Automatic IP address on Host_1 and Host_2
On Host_1


On Host_2



In last whole topology is working.

By :- Vishal Sharma

1 comment :