0% found this document useful (0 votes)
12 views17 pages

DNS, Telnet

The document provides an overview of network devices including switches, DHCP servers, DNS servers, and HTTP servers, detailing their functions and configurations. It outlines the steps to configure these servers and enable Telnet on a Cisco router, ensuring proper communication and connectivity within a network. Additionally, it explains how to test Telnet connectivity from a client PC to the router.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views17 pages

DNS, Telnet

The document provides an overview of network devices including switches, DHCP servers, DNS servers, and HTTP servers, detailing their functions and configurations. It outlines the steps to configure these servers and enable Telnet on a Cisco router, ensuring proper communication and connectivity within a network. Additionally, it explains how to test Telnet connectivity from a client PC to the router.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

DHCP,DNS,HTTP,Telnet

ICT & Electronics


Data Communications and Networking: Configure DNS,HTTP
T D KAVU
1. Switch:
l
A network switch is a computer networking device that connects devices
together on the same network. In other words, we also say that the switch is a
networking device which connect a large number of systems on the same
network
l
A switch is a medium through we send and receive data packet from one
system to another in a same network.
l
If you want to connect systems from the different networks in that case switch
is useless in that situation we use a router to connect systems from different
networks.
DHCP server:

The DHCP (dynamic host configuration protocol) is a standardized network
protocol which is used on internet protocol (IP) networks.

DHCP is used to assign IP automatically to the system with the help of a
machine called DHCP server.

A DHCP server enables computers to request IP addresses and networking
parameters automatically

In the absence of a DHCP server, each computer on the network needs to
statically (manually) assigned to an IP address.
DNS server:

DNS (domain name server) is a server which is used to assign names to an IP
address.

It allows you to connect to any website or network by simple names instead of their
IP address

It is really very hard to memorization of IP addresses of any website and network
so here DNS help us by convert the number into a name.

Now we just type only name instead of IP of any website and network to search it
on the internet.
HTTP server:

HTTP (hypertext Transfer Protocol) is a medium which is used to make
communication in between client and server

The primary function of a HTTP server is to store, process and deliver web pages to
clients

Pages delivered are most frequently HTML documents, which may include images,
style sheet and scripts in addition to text content.
Topology
Step 1:

First of all we go to the DHCP server and click on it to open it.

Then a screen will be open in it, we will click on the desktop option and then click on
IP configuration to provide IP address statically to the DHCP server and also give
the IP address of the DNS server in the column of DNS server.
Step 2:

After that now choose the service option in it to make that server as a DHCP server
and it is able to provide an IP address automatically to the other systems.

In it, we fill all entries on this server and choose ON option in it as given below to
turn on DHCP server.
Step 3:

Now we configure DNS server by clicking on it. After clicking on the DNS server we
click on the desktop option and then click on IP configuration option to provide IP
address to the DNS server

In IP configuration option we change it from static to DHCP. Now it has taken IP
address automatically from the DHCP server.
Step 4:

Now before make this machine a DNS server, we go to HTTP server and provide IP
address to it by using DHCP server similarly as DNS server and then after that click
on services option to make this machine as an HTTP server

In services we choose HTTP from the left sidebar and now there create a page or
edit a page which you want to see in your web browser.

After that we again, click on DNS server and then select DNS option from the right
sidebar in it and click on it to configure this machine as a DNS server.

In it, we give the name and IP address of the HTTP server and then click on add
option in it to provide a name to IP address of the HTTP server which helps us to
open that web page by name instead of IP address of the HTTP server and
generally name will be easy to memorize by us.

After that we choose ON option to start DNS server
Step 4:
Continue

Now all servers are configured by us and Now we move on PCs to provide IP
address to them by using a DHCP server.

After that we will go to any PC on that network and then go to the web browser and
we type name of our page google.com in it which is given in the DNS server by us to
open it in our system browser.
Continue

And now outcome will be appeared in the form of our page which is made by
us in HTTP server.

It indicates that all servers are working properly because the messages go to
DNS server where it directs it to the http server and the webpage google.com
loads from HTTP server to our computer screen.
Enable Telnet and SSH on Cisco Router

To enable telnet on Cisco router, simply do it with “line vty” command.

Create a topology as follows where all clients get IP address from DHCP Server on
Router
R1 console

Go to router R1 console and configure telnet with “line vty” command.

R1>enable

R1#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#line vty 0

R1(config-line)#password Pass123

R1(config-line)#login

R1(config-line)#logging synchronous

R1(config-line)#exec-timeout 40

R1(config-line)#motd-banner

R1(config-line)#exit

The “line vty” command enable the telnet and the “0″ is just let a single line or
session to the router. If you need more session simultaneously, you must type “line
vty 0 10“.

The “password” command set the “Pass123” as password for telnet. You can set
your own password.
Continue

The “login” command authenticate and ask you the password of telnet. If you type
“no login” command, the telnet never authenticate for password which is not a good
practice in real network environment.

The “logging synchronous” command stops any message output from splitting your
typing.

The “exec-timeout” command just sets the time-out limit on the line from the default
to “40″ minutes.

The motd-banner forces a banner message to appear when logging in.

OK, the Telnet services enabled successfully. But you must set the enable password
for router in order to control it remotely.

R1(config)#enable password Password

R1(config)#exit
Testing Telnet Connectivity

Now from a client PC test the telnet connectivity and to insure that it works fine or
not yet.

Let’s test telnet from the admin PC

Type telnet 192.168.10.1 and press enter, then enter the telnet password.

Next type enable command and press enter, then type the router password.

Packet Tracer PC Command Line 1.0

PC>telnet 192.168.10.1

Trying 192.168.10.1 …Open

User Access Verification

Password:

R1>enable

Password:

R1#

Now you are remotely connected to router R1 and you can execute all router
commands through telnet command line interface.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy