Вы находитесь на странице: 1из 8

UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017

REDES DE COMPUTADORAS I

SIMULATION OF DHCP, DNS, WEB AND EMAIL SERVERS


PRACTICE 2

Chavez Tonato Jessica Paulina


jchavezt@est.ups.edu.ec

Summary: This document presents the simulation A service is a set of primitive (operations) provided
of the procedure to configure and check the various by a layer a layer that is on top of it. The service
servers, services and records. defines what operations can perform coating for the
benefit of its users, but says nothing about how to
Key words : Packet Tracer, vty, console, router, implement these operations.
Lan, Wan, switch In contrast, a protocol is a set of rules governing the
format and meaning of packets or messages
OBJECTIVES exchanged equal entities on a layer.
2.2.3 Control in Internet protocols
1.1. GENERAL OBJECTIVE
Also the IP that is used for the data transfer, Internet
has several complementary control protocols that
Deploy DNS servers, DHCP, Web and
are used in the network, such as ICMP, ARP and
email address by using simulation software.
DHCP layer.
2.2.4 DHCP: Dynamic Host Configuration
1.2. SPECIFIC OBJECTIVE Protocol

Configure and verify the DHCP services Some Internet protocols assume that hosts are
Configure, and test Web services configured with some basic information, such as
Configure and verify the DNS records your own IP addresses. How they obtained this
Configure and verify the email services information hosts? It is possible to configure each
computer manually, but it is a tedious and error-
prone process to errors. There is a better way to do
2. THEORETICAL FRAME it, known as DHCP.

2.1 Network SOFTWARE When the server receives the request, it assigned a
free IP address and sends it to the host in a DHCP
2.1.1 Hierarchies of protocols OFFER packet (which can also be transmitted
through the router). So that this can work even when
Most of the networks are organized as a stack of the hosts do not have IP addresses, the server
layers, or levels, each constructed from which is identifies a host through its Ethernet address (which
below is transported in the DHCP DISCOVER packet).

A protocol is an agreement between the parties The assignment of IP addresses may be for a fixed
communicating to establish the way in which this period of time, a technique known as a lease. Just
communication will take place. before the expiry of the lease, the host must request
renewal DHCP. If you can not make a request, or if
2.1.2. The relationship between services and it is rejected, perhaps host no longer can use the IP
protocols address received before.

Services and protocols are different concepts. So it DHCP is described in the RFC 2131 and 2132. Used
should be emphasized that: widely on the Internet to set up all kinds of
parameters, in addition to providing IP addresses to
hosts. Just as in the networks of

Some common examples of information that is


configured with DHCP include the netmask, the IP

1
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

address of the default gateway and IP addresses of Cisco Packet Tracer Software
DNS servers and time. Router

2.2.5 World Wide Web


4. DEVELOPMENT AND PROCEDURE
The web, popularly known as the World Wide Web,
is an architectural framework to access certain In this laboratory practice, set and evidence
linked content distributed on millions of machines all addressing DHCP service; a DNS server is
online. configured to assign IP addresses to names of Web
sites; thus also, Setup the HTTP services and e-mail
This protocol called HTTP (Protocol transfer of through servers in Packet Tracer simulation; These
hypertext, the English HyperText Transfer applications customers are incorporated so that they
Protocol). Content can be simply a document that is have access to the services.
read from a disk, or the result of a query in a
database and the execution of a program.
As an example, the URL of the next page is:
http://www.cs.washington.edu/index.html
2.2.6 DNS: domain name system

The essence of the DNS is the invention of a


hierarchical naming scheme based on domains and
a distributed database system to implement this
naming scheme. DNS is used mainly to associate
hostnames to IP addresses, but can also be used
for other purposes. The DNS is defined in the RFCs
1034, 1035, and 2181, and is elaborated in more
detail in many other RFCs.
2.2.7 Email

In Figure 2-2 shows the architecture of the electronic


mail system, which consists of two types of
subsystems: user agents, which allow people to Fig 2. Simulated network in Packet Tracer
read and send e-mail, and agents of message
transfer, moving messages of the source to target. Configuration of DHCP addressing

1. Click on WRS and, subsequently, click on


the GUI tab (maximize the window).
1.1 The Basic Setup window is displayed by
default. Set the following parameters in
the Network Setupsection: (see Figure 3)
Fig 1. Architecture of the electronic mail system.

User-agent is a program that provides a graphic


interface, or sometimes an interface based on text
and commands, which allows you to interact with the
email system. It includes a means to write
messages and responses to these, deploy incoming
Fig 3. Network Setup, the window
messages and organize them to archiving, search, section Basic Setup of WRS
and delete them. The Act of sending new messages
to the mail delivery system is known as mail. 1.1.1 Place the IP Address 192.168. XX. XX. (In
the Router IPsection)
1.1.2 Choose the Subnet Mask 255.255.255.0. (In
3. MATERIALS AND EQUIPMENT the Router IPsection)
1.1.3 In the DHCP Server Settingssection, enable
PC with Internet access the DHCP server, click on Enabled.

2
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

1.1.4 Place in the Start IP Adreess, XX value box 2.2 Carry out the same procedure for other
1.1.5 Specify in Maximum number the value of XX, devices. In the case of printer inkjet, wait
this form establishes the number of IP for the indications of the professor. How is
addresses that are automatically assigned configured a printer so that it acquires an IP
to terminal devices. address correctly?
1.1.6 Put the address 64.100.8.8, in Static DNS 1. Switches off and the device is turned on
1.1.7 Navigate to the bottom and click Save. then it configures the corresponding
1.1.8 Exit he window WRS. FastEthernet and DHCP is selected.

Web services configuration


1. Configure the Central Server and Branch
Office Server Web services
1.1 Click CentralServer , and then click
the Servicestab, and then click HTTP.
1.1.1 Choose the option On to
enable HTTP and HTTPS.
1.2 Repeat the same procedure as the
previous two items to
Fig 4. Basic Setup of the WRS window
configure BranchServer.
2. Request DHCP addressing for end devices. This
section takes place in the Home Office. It will be 2. Verify the access to Web sites
configured with DHCP all devices terminals of this 2.1. Click on HomeLaptop and then click on
network. the Desktop, then in Web Browsertab.
2.1 Click on HomeDesktop and then click
on the Desktop, then in IP 2.1.1 In the Address Bar, enter 10.10.10.2 and click
Configurationtab. on Go, must be deployed IUS -
In the IP Configuration section choose DHCP and CentralServer Web site
wait until the WRS has responded to the request of
DHCP, this is evident when the device has acquired
an IP address with the other parameters set on the
DHCP server.

Fig 6. Basic Setup of the WRS window

2.1.2 Then, in the Address Bar,


enter 64.100.200.1 and click on Go, UPS-
Fig 5. Window Pc DHCP addressing
BranchServer web site will be displayed.
2.1.1 Currently HomeDesktop must possess a
complete IP configuration. If not, turn off and turn on
the device, and then check the IP allocation.
How can I verify that the device has
acquired the IP correctly?
It is the Gateway address, plus all devices
have the same mask.
2.1.2 Close the IP Configuration window
and HomeDesktop.

3
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

table 1, when typed correspondence


click on Add, so that the server perform
the relevant translation.

Register name Address


IUS.edinf.pKa 10.10.10.2

UPS.edu.EC 64.100.200.1
Table 1. DNS records to be added to famous.dns.pka

Fig 7. Window Address Bar 1.1.1 To save the records, select the record and then
for BranchServer. click Save
1.1.2 Close the server famous.dns.pka. Then click
on Back to get out of the Internet.
2.1.3 In the same way as the previous two items,
enter the
2 Testing proper functioning of DNS, the Home
address ius.edinf.pka and ups.edu.ec. Clic
Officeterminal devices clients, and then verify
k on Fast Forward Time in the yellow bar
the access Web servers.
that lies beneath the topology (to the left
2.1 Click on Tablet, on the Desktoptab, click
of Realtime), to accelerate the process. on Command Prompt.
What information is displayed in the browser 2.1.1 Check the IPv4 address by typing the
window? command ipconfig/all. You must show the
Hoost unresolved name IP address of the server DNS (64.100.8.8).
2.1.2 Verify connectivity to the DNS server with a
ping to 64.100.8.8.
Note: there is the probability that the first two or
three pings fail, because Packet Tracer simulates
the different processes that must occur so that a
remote device connectivity is successful.

Fig 8. The browser window

Why is this result shows?


Because it still does not add the names and
addresses of the registries.
What must you configure display web pages with
addresses introduced?
Configure the DNS server Fig 9. Command Prompt window
Records in the DNS server configuration
The Royal field of Internet registrars approved by 2.1.3 Check the operation of the DNS server by
typing the command nslookup
ICANN assigns domain names, but for this
ius.edinf.pka and nslookup
simulation, you control the ups.edu.ec. You must obtain a name-
server famous.dns.pka of Internet resolution showing their corresponding IP
1. Enter the Internetcloud. Then to the addresses.
server famous.dns.pka , and then click 2.1.4 Close the Command Prompt and enter
the Web Browser. Enter the corresponding
the Services tab, and then click DNS.
web pages and check that he is accessible
1.1. Add to the Name and Address boxes
to them.
(name registration and address 2.1.5 Close the Tablet.
respectively) records that are shown in

4
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

Configuration of email services. parameters in this window in the bottom left


1. Configure CentralServer and BranchServer the message will be displayed:
Receiving mail from POP3 Server 10.10.10.2
servers (SMTP) send and receive (with Receive Mail Success
POP3) e-mail.
1.1. Enter CentralServer , and then click
the Services tab and select the E-
mailbutton.

1.1.1 Choose the option On to enable SMTP and


POP3.
1.1.2 Specify the domain name in Domain
Name ius.edinf.pka and click on Set.
1.1.3 Create a mail, in the section User Setup, user
set User I
redesuno and password networks. Add the Fig 10. Window Mail Browser
user by clicking on the button +.
1.1.4 Close the CentralServer. With step function to receive email electronic was
1.2 Repeat the same procedure as successful.
paragraph 1.1. and its sub numbers to 2.2 Configuration of Smartphone as a client
configure BranchServer; so that this of e-mail BranchServer.
server can send (with SMTP) and 2.2.1 Go to the branch network and enter
receiving (POP3) email the Smartphone and then click on Email, so
Note: This configuration take in has the deploying the window Configure Mail. And
following differences to the domain set the following values:
name use ups.edu.ec, and user data Your Name : User mobile student
by setting your apellidomombre and
Email Address : apellidonombre@ups.edu.ec
password one
Incoming Mail Server : 172.16.0.3 (corresponding
to the BranchServerIP)
2 Configuration of e-mail clients. This passage is
Outgoing Mail Server : 172.16.0.3 (corresponding
exemplified through the configuration of
to the BranchServerIP)
terminal devices that use the service of User Name : lastfirst (configured in
electronic mail of your corresponding servers. the BranchServerparameter)
2.1 PC4 as CentralServeremail client Password : one (configured in
configuration. Be placed on PC4 and
the BranchServerparameter)
enter the team giving click, then click
2.2.2 Save your settings by clicking
on the Desktop tab and enter Email.
the Save. Immediately opens the Mail
2.1.1 In the window Configure Mail set values in the
Browserwindow.
spaces indicated below:
2.2.3 Click on the Receivebutton. If the server and
Your Name : User networks one client are configured with the appropriate
Email Address : redesuno@ius.edinf.pka parameters in this window in the bottom left
Incoming Mail Server : 10.10.10.2 (corresponding the message will be displayed:
to the CentralServerIP) Receiving mail from POP3 Server 172.16.0.3
Outgoing Mail Server : 10.10.10.2 (corresponding Receive Mail Success
to the CentralServerIP)
User Name : I redesuno (configured in
the CentralServerparameter)
Password : networks (configured in
the CentralServerparameter)
2.1.2 Save your settings by clicking
the Save. Immediately opens the Mail
Browserwindow.
2.1.3 Click on the Receivebutton. If the server and
client are configured with the appropriate

5
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

Fig 11. Window Mail Browser Maximum number of Users: number of users
which can be within a network.
With step function to receive email electronic was
successful.
2.2.4 Not close the window of your Smartphone or
your corresponding Mail
Browserconfiguration.
2.3 Send an email from clients configured
(PC4 and Smartphone).
2.3.1 From Smartphone Mail Browser , click
on Compose.
2.3.2 Set the following parameters in the
corresponding spaces:
To : redesuno@ius.edinf.pka
Subject: Mail student Networking 1
In the Email body: write a personalized mail
Give click on the Sendbutton to send the email.
2.3.3 PC4-go to check that you have received the
email. In PC4 once login to the Desktop tab
and then Email.
2.3.4 Click on the Receivebutton. An email
from apellidonombre@ups.edu.ec
(Smartphone)will be displayed. To view the
contents of it, double click on the email.
2.3.5 Press click on Reply, in the Email body write
your answer and click on Send.
2.3.6 Check that on the Smartphone has recived the Fig 11. Network simulated in Packet Tracer
answer.

Complementary work
Now that you have interacted with services in a
simulated network, in the present laboratory
networks of computers I, it has acquired some skills
to be put into practice. With the new skills in
simulation reflects the space below:

1. In a new Packet Tracer file, create a new


network with; interconnected via a switch
(model 2960), two PCs and a server
configure the server to assign IP addresses Fig 12. DHCP configuration
automatically to the PCs of your new
network. Once you have performed this
procedure indicate what are the following
spaces, within the DHCP configuration on
the server of Packet Tracer: Pool Name,
Start IP Address, Subnet Mask, and
Maximum number of Users.

Pool Name: is the name of the group from the


DHCP server.
Start IP Address: is the IP address that is
assigned to the server.
Subnet Mask: is the subnet that is assigned
automatically depending on the IP address
mask that has given it to the server. Fig 13. IP Configuration of the Pc

6
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

2. What is the difference between POP3 and


Research IMAP?
1. Inquire about web pages that allow you to
transform automatically, normal language (Justify your answer using a comparative
HTML format, both text and images. (Justify table, with at least 3 differences)
your answer through an example on the
page and its corresponding link) POP IMAP
You can download all You have to be
https://wordtohtml.net/ the messages on the connected to the
computer in a small internet all the time
https://documento.online- space of time and then who will read a
convert.com/es/convertir-a-html watch them even if not message and reply
connected to the messages
internet
A user can only be More than one user
connected to download can connect to the
email same account.
The messages are If you change
saved on the computer computer at any time,
and you will need to were you can access
have the same messages also.
computer to read old
mail.
Table 3. Differences between POP3 and IMAP

Conclusions

It was able to observe that he prevents the


manual configuration of the address IP
Fig 12. Page in HTML language
machine by machine so it minimizes
configuration errors and typographical
file:///C:/Users/Usuario/AppData/Local/Tem errors.
p/Rar$EXa0.201/PROCEDIMIENTOS_PR Also that could solve the conflicts caused
ACTICA_RDCI-2.html when the allocation of an IP address to
more than one device at the same time.
2. Are what companies in Ecuador DNS 6 Bibliography
records? (Justify your answer - indicate if they
are accredited by ICANN) [1] cisco [Online] available at:
https://learningnetwork.cisco.com/thread/5098
[2] a. Casillas [Online] March 2009, available at:
http://redestipostopologias.blogspot.com/2009/03/t
opologia-de-redes.html

[3] A. Jesin ; Paket tracer network


simulator, [Online] available at:
https://books.google.com.ec/books?id=eVOcAgAA
QBAJ & printsec = frontcover & dq = packet + tracer
& hl = es-419 & sa = X & ved =
0ahUKEwjgscelwIXXAhWh3YMKHY__DiAQ6AEIL
TAB #v = onepage & q = packet % 20tracer & f =
fals | e
Table 2. Ecuador DNS records

7
UNIVERSIDAD POLITCNICA SALESIANA Fecha: 06/10/2017
REDES DE COMPUTADORAS I

[4] C. Cabrera (April 2015) [Online] available at:


http://cesarcabrera.info/blog/%C2%BFcomo-usar-
eficientemente-packet-tracer-i-caracteristicas/

Вам также может понравиться