User talk:Alabyadhm

Motivation
To set up a network such that there is a DHCP server that must be able to lend IP addresses to the client connected to it.DNS Server in the same network as that of webserver and dhcp server must be able to resolve the domain name such that the client is able to access the web page created in the webserver.

Understanding the Protocol
DHCP :Dynamically assigns IP address to the client. WebServer:hosts the webpage with the domain name.[addysite.com] DNS must be able to resolve the IP address to the corresponding domain name.

The Requirements
For DNS:bind9 package must be installed. For DHCP:isc-dhcp-server package must be installed. For Webserver:Apache2 package must be installed. For backup,we used rsync and crontab. For firewall,we used IPTables. For VPN,we used pptp.

Steps to perform the setup / installation
For DNS:named.conf.local file is configured to carry the forward and reverse zone files information.ipv6 reverse file info is also added. Forward and Reverse files for both ipv4 and ipv6 have been created. resolv.conf file is altered to carry the dns info. For DHCP,dhcpd.conf file is configured with the range information and the lease time. dhcpd6.conf is configured to provide ipv6 addresses. For webserver,we created addysite ,a copy of the default to carry information about the domain name and the path of the folder that has the directory of the webpages.[we created only index.html. IPTables:We added the rules from the terminal using the keyword iptables. Backup:We created public key pair and enabled ssh such that destination machine can be accessed without password.

Testing
When we typed the domain name,we were able to get the index page of addysite.com. DHCP tested by physically connecting the dhcp server machine with that of the client.The cilent machine picked up the IP address in the specified range. DNS is tested with the dig tool.