GNS3 – Basic lab topology with DHCP and DNS servers

Basic lab topology with DHCP pool and DNS server

Today we will setup a DNS server on CiscoCSR1000v router and DHCP pool for 10.1.10.0/24 subnet on SW-A.

  1. DHCP pool for users
  2. DNS server on router

1. DHCP pool for users

In first step we will configure DHCP pool for users with name SWAUsers on SW-A switch. We will exclude used addresses 10.1.10.1 and 10.1.10.2

SW-A configure DHCP server pool with name SWAUsers

en
conf t
do sh ip int brief
ip dhcp excluded-address 10.1.10.1 10.1.10.2
ip dhcp pool SWAUsers
network 10.1.10.0 255.255.255.0
default-router 10.1.10.1
end

wr!

PC1 assign ip from DHCP

show
ip dhcp
ping 8.8.8.8

2. DNS server on CiscoCSR1000v router

Now we will enable and configure DNS server on R1 router. For domain name we will use fullstackquest.local with IP 10.1.100.253

Configure DNS on R1

en
conf t
ip dns server
ip domain-lookup
ip domain name fullstackquest.local
ip host fullstackquest.local 10.1.100.253
end

ping fullstackquest.local
ping yahoo.com

wr!

Configure DNS on PC1

ip dns 10.1.100.253
ping google.com

That’s all for today’s DNS server and DHCP setup. If you have ideas on how to improve this topology or what information should I add, leave a comment below

Thanks. I hope it will help you to progress your skills.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.