Data Networking/Fall 2014/Shalini/Working with an example

WORKING WITH AN EXAMPLE edit

The network is built with all the linux machines (DHCP, DNS and web servers). The devices are in the network 192.168.3.0/24. The default gateway is 192.168.3.1 and braodcast address is 192.168.3.255.

The servers start their corresponding services and client enters the network.

The IP address allocation for all the machines in the network are done by DHCP server, provided the network settings in the hosts is changed to DHCP IP allocation.

Once that is done, the DHCP server allocates the dynamic temporary IP addresss to the client, and permanent IP addresses to the DNS and webserver.

Client- 192.168.3.35

Webserver- 192.168.3.60

DNS- 192.168.3.52


Client IP allocation:

 


DNS server IP allocation:

 


Web Server IP allocation:

 


The working of the forward and reverse zones of the DNS server is tested from the client using the nslookup commands:

 Nslookup 192.168.3.52
 Nslookup 192.168.3.60
 Host www.fabfour.com
 Host vivek.fabfour.com
 


Nslookup from Webserver:

 

Nslookup from DNS:

 

The webserver is accessed from the browser of the client: