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

Setting up app layer Services

Packet tracer tutorial for DHCP,DNS,HTTP,FTP,MAIL SERVER


Umair Bilal Chaudhry
The Setup and topology
Overview
• Set up the following services on the servers in Packet Tracer: DHCP, DNS, HTTP (Web),
FTP, and Mail. If you configure everything correctly you should be able to: receive ip
addressing to the DHCP clients from the DHCP server, resolve domain name requests
from the DNS server, successfully receive requested web pages from the web server,
upload and download files after logging into the FTP server, and send and receive email
to and from the mail server. Here is a rough outline of the steps involved:
• Physically connect all of the devices with appropriate cables,
• Configure IP addressing on all of the networking devices (follow the device labels),
• Configure the server services on the devices as listed (dhcp, dns, mail, web, ftp),
• Verify that all of the configured services work by testing from the client computers,
• Note: In this Cisco PT activity the services and testing do not extend beyond the LAN i.e.
router.
Gateway
• Click the router and select the config tab
• Move down to the Ethernet port where you have connected the cable
to the router
• Click it (FastEthernet0/0)
• Setup the gateway IP address and turn that port on
Static IP’s to servers
• Select the DHCP_DNS Server. Go to the Desktop tab and select ip
configuration.
• Enter the static IP for this server (192.168.1.254). Enter the gateway
and DNS to be ip of the gateway configure in the previous step
• No select HTTP_FTP server and repeat the same step with ip
192.168.1.253. Make sure in all remaining servers, you use
192.168.1.254 as the DNS address
SERVER 1: DHCP
• Select DHCP_DNS server and go to the services tab.
• Select DHCP and enter the default gateway and dns address that you
want your devices to pick from the dhcp query.
• Define the range of users and save the configuration.
• Go to each client/computer and click the desktop tab->ip
configuration and select DHCP radio button
• Repeat for each client
SERVER 2: HTTP
• Go to server 2 HTTP_FTP and visit the services tab.
• Select HTTP and check if HTTP and HTTPS is on.
• You may modify the default page by changing the index.html file you
see in the tab.
• Verify HTTP services by going to the clients->desktop->browser and
entering the ip address of the http server in the address bar.
SERVER 1: DNS
• Go to the DHCP_DNS server->services->DNS
• Make all 4 records i:e type A, type CNAME, type NS and type SOA and
turn the service on.
• Enter the fields as follow: The text in red fills out the text boxes
• 1: DNS A-Record: test.com – ip of test.com
• 2: DNS CNAME: www.test.com – test.com
• 3. DNS NS: ns1.test.com - machine name
• 4. DNS SOA: test.com, prim: ns1.test.com, mailbox: webadmin.test.com;
3600,3600,600,86400
Test connectivity by going to the clients->desktop->browser and entering the
name of your website
SERVER 2: FTP
• Go to server 2 HTTP_FTP -> services -> FTP
• Create a new user and password and make sure to turn on the
service.
• Check the services by going to the clients->desktop-
>commandprompt
• Ping the ftp server to check if it is accessible.
• Access the ftp server by typing ftp ip/domainName of ftp ser er
• E ter user a e a d pass ord for access a d use dir co a d to
check if you can see the ftp server files
• Use get to do load a d put to upload a file to the ser er
SERVER 3: MAIL
• Go to server 3 ->services ->email
• Enter the domain name(mail.test.com) and create a user. Make sure to
turn the SMTP and POP on
• Add an A-Record to DNS server (mail.test.com) followed by the ip of mail
server
• Check by going to the clients -> desktop -> email
• Enter the user name and email address user@mail.test.com
• E ter i co i g a d outgoi g ail ser er mail.test.com
• Enter user name and password that was created
• Check service by emailing from the user to the same user itself. Check
inbox to see if the user received the email
Flow of Data
• Use simulation mode to monitor how the data flows in you network.
• Press capture to simulate a single hop/cycle. Press multiple times to
see hop to hop flow.

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