Acnmicroproject2 PDF
Acnmicroproject2 PDF
EDUCATION
1
MSPM’s
Yashwantrao Chavan Institute of
Polytechnic
Department of Computer Technology.
is
Submitted by
Chavan Rohini (3202)
of 5th semester of diploma in Computer Technology of
YASHWANTRAO CHAVAN INSTITUTE OF POLYTECHNIC
(code:1158) has completed the term work satisfactorily in subject
Advanced Computer Network. (22520) for the academic year 2024 to
2025 as prescribed in the curriculum.
Place: - Beed Enrollment no: 2211580116
2
Micro-Project Proposal
Brief Description
Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that
automatically provides an Internet Protocol (IP) host with its IP address and other
related configuration information such as the subnet mask and default gateway. RFCs
2131 and 2132 define DHCP as an Internet Engineering Task Force (IETF) standard
based on Bootstrap Protocol (BOOTP), a protocol with which DHCP shares many
implementation details. DHCP allows hosts to obtain required TCP/IP configuration
information from a DHCP server
3
2 Software Ubuntu Operating System 1
4. 4th Implementation
4
INDEX
2
7.The forwarding of initial DHCP messages by using a DHCP relay
agent, which eliminates the need for a DHCP server on every subnet.
4. Literature Review:
A DHCP server is used to issue unique IP addresses and automatically
configure other network information. In most homes and small businesses,
the router acts as the DHCP server. In large networks, a single computer
might act as the DHCP server.
In short, the process goes like this: A device (the client) requests an IP
address from a router (the host), after which the host assigns an available IP
address to allow the client to communicate on the network. A bit more
detail below...
After the DISCOVER packet reaches the DHCP server, the server attempts
to hold on to an IP address that the device can use, and then offers the
client the address with a
DHCPOFFER packet.
Once the offer has been made for the chosen IP address, the device
responds to the DHCP server with a DHCPREQUEST packet to accept it,
after which the server sends an ACK that's used to confirm that the device
has that specific IP address and to define the amount of time that the
device can use the address before getting a new one.
If the server decides that the device cannot have the IP address, it will send
a NACK. All of this, of course, happens very quickly and you don't need to
3
know any of the technical details you just read in order to get an IP address
from a DHCP server.
Because these devices can get an IP address automatically, they can move
freely from one network to another (given that they're all set up with
DHCP) and receive an IP address automatically, which is super helpful
with mobile devices.
Though there are plenty of advantages to using DHCP, there are certainly
some disadvantages as well. Dynamic, changing IP addresses should not be
used for devices that are stationary and need constant access, like printers
and file servers.
4
Although devices like that exist predominantly in office environments, it's
impractical to assign them with an ever-changing IP address. For example,
if a network printer has an IP address that will change at some point in the
future, then every computer that's connected to that printer will have to
regularly update their settings so their computers will understand how to
contact the printer.
The same idea comes into play if you need to have permanent remote
access to a computer in your home network. If DHCP is enabled, that
computer will get a new IP address at some point, which means the one
you've recorded as that computer having, will not be accurate for long. If
you're using remote access software that relies on a IP address-based
access, you'll need to use a static IP address for that device.
DHCP servers usually assign each client with a unique dynamic IP address,
which changes when the client’s lease for that IP address has expired
How it work?
255.255.255.0)
Now after the client receives the offer it requests the information officially
sending REQUEST message to server this time by unicast.
7
What information getting from DHCP are necessary and which are optional?
In theory, only IP address and mask is needed for device to work. This is true
in scenario that device is within the same subnet with other devices and
communicates with others knowing their IP addresses. In such way there is
no need for going beyond own subnet and that’s why gateway is not needed.
Using only IP addresses for communication also eliminates the need of name
translations so DNS is still optional. However, in real world scenarios most
of communication goes beyond the subnet and relays on Fully Qualified
Domain Names (FQDN).
You can ask yourself if there is a need for having DHCP server in the same
L2 segment
(VLAN), because DHCP OFFER message relays on broadcast destination
address which is good for the same subnet only. Right trace! But for the sake
of DHCP scalability there is option to have DHCP server outside the subnet. In
such solution DHCP discover packets typically getting to default gateway
interface are transformed into unicast packets (DHCP discover embedded
message) with giaddr field that tells server about logical attachment
identification. Packet is sent directly to IP of server located somewhere in
routable IP cloud. Giaddr helps the DHCP server to find the correct address
pool for granting the address.
8
6. Actual Resources Used:
S.NO Name Of Specifications Qty
Resources/material
7. Outputs of Micro-Project:
Install the DHCP server role on Windows Server 2008, follow these steps:
Select DHCP Server from the list of roles and then click Next.
9
The wizard displays an explanation of DHCP.
Click Next.
The wizard displays a list of the server’s network connections that have
static IP addresses, as shown in the following illustration. (In this
example, only one network connection has a static IP address assigned.
Most network servers will have at least two.)
Select the static IP addresses you want to use for the DHCP server. Then
click next.
The wizard asks for the DNS configuration information, as shown below
10
1. Enter the domain name and DNS servers. To enter a DNS server, type
its address in the IP address text box and then click Add.
2. Click Next.
The wizard next asks for the WINS configuration information.
5.The wizard asks for a name and description for the new scope, as shown
below.
11
12
1. Enter the information for the new scope.
o Scope Name: The name can be anything you want. Use a generic
name such as Office or your company name unless you’re creating
two or more scopes. Then, the names should indicate the function of
each scope.
o Subnet Mask: This is the subnet mask issued for IP addresses in this
scope.
2. Select the Activate This Scope check box and then Click OK.
The scope is created, as shown below.
1
1. If you want to create additional scopes, repeat steps 10–12.
You can create as many scopes as you want for your DHCP server.
The wizard asks whether you want to enable stateless mode, which is used for
IPv6.
Disable this mode unless dealing with IPv6 clients is important to your network.
3. Click Next.
The wizard asks for the credentials to use when creating this DHCP
server. The default is to use your current login credentials.
4. Click Next.
5. Click Install.
1
The DHCP server is created. This might take a few minutes. When
the server is finished, a final results page is displayed to confirm that
the server was properly installed.
6. Click Close.
You’re done!
a) Practical Outcomes:
1
9. Application of this Micro-Project:
Efficiency. It's easier than configuring each node/host statically (manually),
both initially and then if/when the LAN topology ever changes and the host
moves networks (e.g., laptops, phones, etc.).
Simplicity. DHCP provides the ability to assign (and manage) more multiple
parameters (is more than just the host IP address), required parameters
such as the subnet mask, and very helpful (required for most needs) things
like the default gateway, DNS servers (and domain name). Then there are
optional things like TFTP servers and time (NTP) servers, log servers, etc.
Security. DHCP provides an audit trail for who (what MAC and client-ID)
had an IP address at what time. It can also be used in a security context,
where a router may require a host within a subnet to have obtained it's IP via
DHCP, else it will deny/block it.
1
Micro Project Evaluation Sheet
Name of Student: - Chavan Rohini Enrollment No :2211580116
Name of Programme: - COMPUTER TECHNOLOGY
Semester: -V Course Title: - Advanced Computer Network Code: -
22520
Title of the Micro-Project: - Setup Static & Dynamic DHCP Server
Outcomes Achieved: -
1. Implement Network layer Protocol
2. Configure IPv6 Network
3. Choose routing protocols
4. Implement different transport layer protocols
5. Configure various applications layer protocols
Quality of Prototype/Model
5
Report Preparation
6
(B) Individual Presentation / Viva (Convert above total marks out of 4 marks)
Presentation
7
Viva
8
1
(A) (B)
Process and Product Assessment (6 Individual Presentation/Viva (4 Total (Marks
marks) marks) 10)