Sunteți pe pagina 1din 8

Design Network: Network Diagram, major IP address = 155.55.0.

0/16

Given the network as in the diagram above, you are to perform the tasks:
Section 1: Using VLSM to create the IP planning
1. LAN1: 20 host addresses
2. LAN2: 200 host addresses
3. LAN3: 200 host addresses
4. LAN4: 100 host addresses
5. LAN5: 100 host addresses
6. LAN6: 10 host addresses
7. WAN link: 2 host addresses

Section 2: Basic router/switch configurations:


a. Hostnames: Assign the Routers/ Switches/ Severs/ PC names as in the
diagram (e.g router1, router2, , switch1, switch2, ..., DNS
Server1, , PC client)
b. Passwords & Banner Message: (Routers only)
i.
Console and vty lines are password protected, password=class
ii.
Set the privileged mode password (enable secret password) to cisco
iii.
Banner contains the name of the student who configures the device.
Banner (motd) example: Hello, this is router 1, configured by Nguyen Van A
1

c. Routers interfaces:
i.
Assign IP addresses and subnet masks
ii.
Create descriptions. Interface description example: Connect to
Router2
Section 3: Configuring the Servers:
a. Assign an IP address and Subnet mask, Default gateway
b. Active suitable services

Name-required
addresses
LAN1

Subnet address
255.255.255.224

155.55.3.1-155.55.3.30

Broadcast
address
155.55.3.31

LAN2

255.255.255.0

155.55.0.1-155.55.0.254

155.55.0.255

155.55.0.0

LAN3

255.255.255.0

155.55.1.1-155.55.1.254

155.55.1.255

155.55.1.0

LAN4

255.255.255.128

155.55.2.1-155.55.2.126

155.55.2.127

155.55.2.0

LAN5
LAN6

255.255.255.128
255.255.255.240

155.55.2.129-155.55.2.254
155.55.3.33-155.55.3.46

155.55.2.255
155.55.3.47

155.55.2.128
155.55.3.32

WAN link

155.55.3.65-155.55.3.66
255.255.255.252
155.55.3.67
155.55.3.64
IP address
Default gateway
Network number
155.55.3.65
Unwanted
155.55.3.64
155.55.3.1
Unwanted
155.55.3.0
155.55.0.1
Unwanted
155.55.0.0
155.55.1.1
Unwanted
155.55.1.0
155.55.3.66
Unwanted
155.55.3.64
155.55.3.33
Unwanted
155.55.3.32
155.55.2.1
Unwanted
155.55.2.0
155.55.2.129
Unwanted
155.55.2.128
155.55.3.2
155.55.3.1
155.55.3.0
155.55.3.3
155.55.3.1
155.55.3.0
Dynamic
Dynamic
155.55.3.0
155.55.3.34
155.55.3.33
155.55.3.32

Router1, S0/1
Router1, F0/0
Router1, Loopback2
Router1, Loopback3
Router2, S0/0
Router2, F0/0
Router2, Loopback4
Router2, Loopback5
DNS Server1
DHCP Server2
PC1
HTTP Server3

Address range

Network/Prefix
155.55.3.0

===============================================================
Thc hin trn router 1:
Router1:

Router> ena
Router#config t
Router(config)# hostname router1
Router1(config)# banner motd #Hello, this is router1, configured by Trinhnk #
Router1(config)# line console 0
Router1(config-line)#pass pnh
Router1(config-line)#login
Router1(config-line)# exit
Router(config)#line vty 0 4
Router1(config-line)#pass pnh
Router1(config-line)#login
Router1(config-line)#exit
Router1(config)#ena secret cisco
(Cc bn c th kim tra li bng c php lnh sau:
Router1(config)#exit
Router1# show run )
//Xong phan kiem cai dat pass va ten cho thiet bi.

Trong phan nay toi se huong dan cac ban cai dat cau hinh cho router1
Cac ban nho la de cai dat chinh xac thi cac ban nen di lan luot, tuy theo tung nguoi co
cach cai dat khac nhau nhung theo toi thi toi quy uoc cai cho router nhu sau:
Cong Serial -> Fast Ethernet -> Loopback ->ok
Chu y: la cac cong deu mac dinh o shutdown vi vay cac ban nho la sau khi cai dat xong
thi phai go lenh no shut nhe.
Bat dau cai dat cho router1:
Router1(config)# int s0/1
Router1(config-if)# ip add 155.55.3.65 255.255.255.252
Router1(config-if)# des *** Connecting to router2 ***
Router1(config-if)#no shut
Router1(config-if)# exit

Router1(config)# int f0/0


Router1(config-if)# ip add 155.55.3.1 255.255.255.224
Router1(config-if)# des *** Connecting to LAN1 ***
Router1(config-if)# no shut
Router1(config-if)# exit
Router1(config)# int loopback 2
Router1(config-if)# ip add 155.55.0.1 255.255.255.0
Router1(config-if)# exit
Router1(config)# int loopback 3
Router1(config-if)# ip add 155.55.1.1 255.255.255.0
Router1(config-if)# exit
Router1(config)# ip route 0.0.0.0 0.0.0.0 s0/1
Router1(config)# exit
OK
Bay gio cac ban co the xem lai bang cach su dung lenh show :
Show run
Show ip int brief
Show ip route

Doi voi router 2 cac ban lam tuong tu nhe.


VD: doi voi server1 : DNS cac ban click dup vao hinh sever1 tren packet tracer nhe
Sau do cac ban chi chon DNS la ON con lai la OFF

Cac server khac lam tuong tu nhu the


Doi voi PC cac ban chi can chon nhu hinh duoi la ok.

Xong roi do
Bay gio kiem tra thong mang
Cac ban vao DNS chon mot trang web bat ki roi lay tam dia chi cua thang HTTP nhe

Sau do cac ban vao thang HTTP copy code nay vao nhe :
<html>
<head>
<title> Bai 1: Thuc hanh thiet ke web HTML</title>
<body>
<font color="red" size="5" face="tahoma">
<center><h1>Thuc hanh thiet ke Web HTML</h1></center></font>
<hr align="center">
<font color="blue" size="4" face="times new roman">
<center><big>Bai tho: Trong dam gi dep bang sen</big></center>
<br>
<br>
7

<font color="blue" size="3" face="verdana">


<center>Trong dam gi dep bang sen <br>
La xanh bong trang lai chen nhi vang <br>
Nhi vang bong trang la xanh <br>
Gan bun ma chang hoi tanh mui bun <br>
<font color="f90af1" size="4" face="arial">
<br>
<br>
<center><b>Bien soan: Trinhnk </b></center>
</font>
</body>
</html>

Sau do cac ban vao PC vao Desktop -> web browser go www.cisco.com

S-ar putea să vă placă și