0% found this document useful (0 votes)
9 views27 pages

Network Assignment Report

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 27

ARBAMI

NCH
UNIVERS
ITY
INSTITU
TE OF
TECHNO
LOGY

DEPAR
TMENTSEC B GROUP
MEMBERS
OF NETSANET
CSITRAMIT/1512/05
WODAJE

SITOTA NANA
RAMIT/1549/05
MATEWOS
KEBEDE
RAMIT/1459/05
REDWAN ABETI SUBMITTED
RAMIT/1522/05 TO:
KIBREAB
Contents
1 Peer to peer network (data share)………………………………………………..
3
1.2DHCP configuration………………………………………………………………3
1.3Network troubleshooting commands
1.4wireless network connection…………………………………………………………7
1.5 VLAN………………………………………………………………………………….
1.5.1 Understanding Vlan…………………………………………………………………8
1.5.2 Advantages of Vlan…………………………………………………………………..8
1.5.3 Configuring vlan……………………………………………………………………….9
1.6 Routing Protocols ……………………………………………………………………..11

1.6.1Static routing protocol………………………………………………………………12


1.6.2Dynamic routing protocol ……………………………………………………………12
1.7 What does IP routing mean……………………………………………………………13
1.7.1Configuration of static ip route………………………………………………………13
1.8 Setting passwords to a router…………………………………………………………18

1.9 VLSM ……………………………………………………………….………………21

2. OSPF configuration……………………………………………………………………23

1
Peer to peer network (data share)
Peer to peer means two or more computers (less than 10)
Connected into the network either directly with cable or through awirless technology(wi-fi)
There are steps to share files between two computer connected by cable directly
Step 1 connecting two computer by cable (UTP cable).
Step 2 setting ip address to one of the computer by following these steps.
Control panel->view network status->local area connection->ipv4->properties->setting ip
address
Step 3 do the same procedure on the on the other computer with step 2 .
Step 4 select the file on one of computer which need to copy a file in to another computer
then follow the following procedure
File ->right click->share file->specific people->select from whom we want to send every one
then add->share
Sep 5 the second computer also do the same thing (step4) to the share a file with one
previously share a file to it

DHCP configuration
 We are going ton DHCP configuration on would see how computer are connected to
the router, to swich and swich to router,and router to router.
In cisco packet tracer there is device such as router,switch,hub, computer cable…..etc
Cable can be divide in two category
 Cross-over cable-> which used to connect the same type of device.
Straight through cable-> which used to connect different type of device.
To connect computer and router then
Connect through cross over with router
Select computer and router then
Connect through cross - over cable
Assigning ip address to the computer statically or dynamically for large number of computer
then config the router with CLI command

2
By passing the cisco packet tracer dialog(yes/no)no then to times enter
#Router >enable
#Router config t
#Router (conf-t) ip add xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
#Router(conf-t) no shut ->specifies that the internal interface connection will remain open
#Router (config) exit -> exits interface configuration mode and return to
global configuration mode
Now we are going to deal about DHCP configuration .
For DHCP configuration we are used computer , switches and router.
First connecting computer with switch through cross-over cable then switch with router with
cross –over cable by selecting number of interface depend on the type of router and switch
that you selected at the start up
Switch used to connect the same network devices
To make the line open between switch and router we used these command
Click on the router goto CLI
By passing the cisco packet tracer dialog(yes/no):no
Twice enter
#Router>enable
#Router conf t
#Router int fa0/0 onto the router side
#Router ip add xxxx.xxxx.xxx.xxx xxxx.xxx.xxx.xxx
#Router ip address or default gateway
#Router no shut
#Router # exit
To define the DHCP address pool
By clicking on the router which is connecting to different computers
Then go to CLI
Passing the dialog(yes/no): n
#Router > enable
#Router #conf t
#Router(conf) #ip dhcp pool router name
Assigning the ip address to group of computers

3
#Router(dhcp-config)#network network xxx.xxx.xxx.xxx. yyy.yyy.yyy.yyy //
Where xxx.xxx.xxx.xxx is the network address to be used by the DHCP pool
yyy.yyy.yyy.yyy is subnet mask for the network
#Router (DHCP-config)#default –router xxx.xxx.xxx.xxx.xxx
To provide the ip address of the default gateway
#Router ( )#do wr// saving the work (configuration we have made.
#Router ( )#exit
Then all pcs get dynamically ip address.

Network troubleshooting commands


Network troubleshooting commands are written on the command prompt
And in turn gives the required output.
When we say trouble shooting it is a means knowing problems and away of fixing them.
1-ip config :-the function of this command is
 To know tcp/ip configuration
 To know ip address,default , gateway,subnet mask
 To change ip address
The command is:
Ipconfig->enter

2-Ip config /all:- the function of this is


 To show all configuration of tcp/ip
 Host name, DNS
 To know leased obtained and expired ip address
 To know server name/ip address of server.
 To know mac address of ones own pc.

Command= ipconfig/all->enter

For example amu.edu.et

In addition to the above point IP config/all tells us


 Data or the time when does the server got the IP
 Expirary date of IP
3- Ping:-
Function:-
 To test connectivity between two computers /device

Command:

Ping 192.168.10.2->enter (this ip is the ip number of the other computer or user)

After pinging we faced two results

4
100%loss-(when the two users are not connected we got 100%loss and request timed out)

0% loss-(the two clients are connected as well or we see amessage that says reply)

In general the connectivity status is shown by

TTL-SUCCESSED AND ^-not connected

4-trancert :- it tells us the number of a packet passes until it reach its own destination
 Specify the delay of the packet
 is a computer network diagnostic tool for displaying the route
(path) and measuring transit delays of packets across an Internet
Protocol (IP) network.
Command:
Tracert->10.144.5.30(ip of our computer)->enter

5-ns look up(name server look up):-


 this command solves DNS(domain name service) related problems.
 To fix DNS related problems
 It is a network administration command-line tool available for many
computer operating systems for querying the Domain Name
System (DNS) to obtain domain name or IP address mapping or for
any other specific DNS record.
Command:
Nslook up amu.edu.et(website of the domain)->enter

6-netstat (network status):-


 netstat is a useful tool for checking your network configuration and activity.
 To tells status of tcp/ip
 To tell status of network
 it tells everything about our computers network status

The command:
netstat->enter
7-netstat –an:-
 same with netstat but it deals with TCP or UDP
COMMAND:
Netstat -an
8-pathping :-
 Comabination of two commands i.e ping and tracert
 Functions as two commands
Command:

5
Path ping 10.144.12.2 (ip address)

9-ARP(address resolution protocol)


Command:
arp –a->enter

10-getmac:-
 it tells one’s own computer’s mac address.
- mac Address can be disabled,if mac is disabled by any means one cannot use an internet
access.
Command:
Getmac->enter

wireless network connection


 in this section we have seen how to connect pcs directly to wireless device
 there are to two special cases when we use the type of cable
they are :- 1 router-> pc (we use cross over)
2 wireless access point ->switch (cross over)
We need wireless device,switch and pcs or end device
 by taking 1 wireless device,1 switch and two pcs we tried to connect them by using
cable
 wireless device ->switch –straight through cable
 switch->pcs ->straight through cable wireless device
On wireless device –click then config-> wireless ->fulfil wireless setting
Give WEP or security ID= xxxxxxxxxx (it must be 10)
It is optional to give SSID ,for example tourist,amu…..etc
we made DHCP to give the two pcs and IP address by it self
click on the pcs and IP configuration ->DHCP(in that this pc gains an IP address
 the same procedure is taken on the other pc.
 When we choose DHCP by default it gives IP address ,subnet mask
And default gateway to clients
In the above process we connected pcs to wireless device
By using switch as we know switch is used to connect pcs to router as well as
wireless device
#Trge other main target of this lab session was to connect computer or directly to
wireless device with out the use switch
The process it given below:-

6
 We picked up two pcs to connect with the wireless device with out the usage of
cable
 Firstly we click on the first pc ,then physical- we have light that is on so we are
going to make it off, then after we will drag and drop zoom in turn we will drug and
drop on Linksys-WMP300N from the modules.
 After drag and drop process we will turn light on
The same procedure is taken to the other pc.
To ensure the wireless connection
 Pc client->config ->wireless->WEP(wired eqievalence privacy)
 We will give password for the ssid (name of the company and any other)
Here apassword is made of 10 digit which can number or alphabet
 After finishing the above process we will click or proced to desktop->then pc
wireless ->connect
It is must be give password to make the adpter is active
 After giving the required password we will click on connect
So we can make the adapter active.
 Both pcs go through the same process.
After finishing give the required password the pcs can directly

Connect with wireless device.


 To check whether the pcs which are connected to wireless device
successfully transform information or not

VLAN

Understanding VLANs
A VLAN is a switched network that is logically segmented by function, project
team, or application, without regard to the physical locations of the users. VLANs
have the same attributes as physical LANs, but you can group end stations even if
they are not physically located on the same LAN segment. Any switch port can
belong to a VLAN, and unicast, broadcast, and multicast packets are forwarded
and flooded only to end stations in the VLAN. Each VLAN is considered a logical
network, and packets destined for stations that do not belong to the VLAN must
be forwarded through a router or bridge . Because a VLAN is considered a
separate logical network, it contains its own bridge Management Information
Base (MIB) information and can support its own implementation of spanning tree.

Advantages of vlan

7
 It is departmental wise
 It minimize collission
 Enhance security
 Easy for network adminstration

Configuring vlan

Elec
Csit

8
Computers on the cs&it side assigned ip address statically by clicking on computers
then desktop .
Statically assigning ip address starting from 192.168.10.2 ,subnetmask
255.255.255.0,defaylt gateway 192.168.10.1
For acomputera on eletrical departments ip address assigning starts from
192.168.11.2,subnetmask 255.255.255.0,default gateway 192.168.11.1
Switch>en //
Switch#conf t //configuring terminal means enter to global
configuration mode
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
*/in global configuration mode ,this command defines avlan and
puts aswitch in to avlan configuration mode.*/
Switch(config-vlan)#name csit // used to further define the vlan
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name elec
Switch(config-vlan)#exi
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access //defin then vlan membership mode
for the port
Switch(config-if)#switchport access vlan 10 */assign the port to vlan .valid vlan
ids are
1up to 4094 */
Switch(config-if)#exi //return to global configuration
mode
Switch(config)#int fa0/3 // inter the interface to be added
to vlan
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exi
Switch(config)#int fa0/2
Switch(config-if)#switchport mode access

9
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exi
Switch(config)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exi
Switch(config)#int fa0/5
Switch(config-if)#switchport mode trunk * / puts the interface able to
convert the link to atrunk link .the interface becomes atrunk interface if the
neghoring interface is set to trunk or desirable mode */
Switch(config-if)#exi
Router>enable
Router#conf t
Router(config-subif)#int fa0/0.10
*/ configure a subinterface for each VLAN the link will be a trunk for.
The interface number can be anything you want * /
Router(config-subif)#encapsulation dot1q 10
*/ Allows you to use a router interface as a trunk port to a switch. This is also
known as
"Router on a stick" because the switch uses the router to route between VLANs.*/
Router(config-subif)#ip add 192.168.10.1 255.255.255.0 //ip address of the router
and its subnet mask.
Router(config-subif)#int fa0/0.20
Router(config-subif)#ip add 192.168.11.1 255.255.255.0
Router(config-subif)#no shut // opening the line for
aconnection
Router(config-subif)#exi
Router(config)#int fa0/0
Router(config-if)#no shut

10
Routing Protocols
Distance Vector, Link State RIP, IGRP, EIGRP, OSPF
Routing protocols were created for routers. These protocols have been designed to allow the
exchange of routing tables, or known networks, between routers. There are a lot of different
routing protocols, each one designed for specific network sizes, so I am not going to be able
to mention and analyse them all, but I will focus on the most popular.
The two main types of routing: Static routing and Dynamic routing

Static routing protocol


Static routing is a type of network routing technique. Static routing is not a routing protocol;
instead, it is the manual configuration and selection of a network route, usually managed by
the network administrator. It is employed in scenarios where the network parameters and
environment are expected to remain constant.

Static routing is only optimal in a few situations. Network degradation, latency and
congestion are inevitable consequences of the non-flexible nature of static routing because
there is no adjustment when the primary route is unavailable.
Static known as oldest design configuration

Dynamic routing protocol


Dynamic routing protocols play an important role in today’s networks.Dynamic routing is a
networking technique that provides optimal data routing. Unlike static routing, dynamic
routing enables routers to select paths according to real-time logical network layout changes.
In dynamic routing, the routing protocol operating on the router is responsible for the
creation, maintenance and updating of the dynamic routing table. In static routing, all these
jobs are manually done by the system administrator.

Dynamic routing uses multiple algorithms and protocols. The most popular are Routing
Information Protocol (RIP) and Open Shortest Path First (OSPF).

There are 3 types of Dynamic routing protocols, these differ mainly in the way that they
discover and make calculations about routes:

1. Distance Vector. Distance Vector routers compute the best path from information passed
to them from neighbors
2. Link State. Link State routers each have a copy of the entire network map and compute
best routes from this local map
3. Hybrid

The Table below shows the main characteristics of a few different types of dynamic routing
protocols:

11
When we configure with RIP v1,RIP v2, IGRP it doesn’t need to write subnet
mask

Eg

#router RIP

#Version ½

#network network address

#network network address

#exit

What does IP routing mean?


IP routing is the process of transporting data from source to destination on a determined path
across two or more networks. IP routing enables two or more devices on different TCP/IP
networks to connect with each other. IP routing provides the path for reaching the destination
device.
Configuration of static ip route

12
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Router>en
Router#conf t
Router(config)#hostname g3complab
g3complab(config)#int fa0/0
g3complab(config-if)#ip add 192.168.1.1 255.255.255.0
g3complab(config-if)#no shut
g3complab(config-if)#exit
g3complab(config)#int fa0/1
g3complab(config-if)#ip add 192.168.3.1 255.255.255.0
g3complab(config-if)#no shut

13
g3complab(config-if)#exit
g3complab(config)#ip dhcp pool router
g3complab(dhcp-config)#network 192.168.1.0 255.255.255.0
g3complab(dhcp-config)#default-router 192.168.1.1
g3complab(dhcp-config)#exit
g3complab(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.2
g3complab(config)#do wr
Building configuration...
[OK]
g3complab(config)#

confuring of g4comp lab

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no


Router>en
Router#conf t
Router(config)#hostname g4complab
g4complab(config)#int fa0/1
g4complab(config-if)#ip add 192.168.3.2 255.255.255.252
g4complab(config-if)#no shut
g4complab(config-if)#exit
g4complab(config)#int fa0/0
g4complab(config-if)#ip add 192.168.2.1 255.255.255.0
g4complab(config-if)#no shut
g4complab(config-if)#exit
g4complab(config)#ip dhcp pool router
g4complab(dhcp-config)#network 192.168.2.0 255.255.255.0

14
g4complab(dhcp-config)#default-router 192.168.2.1
g4complab(dhcp-config)#exit
g4complab(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
g4complab(config)#do wr
Building configuration...
[OK]
g4complab(config)#

Configuration of dynamic routing protocol

Configuration for g3lab


--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Router>en // Turn on privileged commands
Router#conf t // Enter configuration commands,

15
Router(config)#hostname g3complab
g3complab(config)#int fa0/0
g3complab(config-if)#ip add 192.168.1.1 255.255.255.0
g3complab(config-if)#no shut // Interface FastEthernet0/0, changed state to up
g3complab(config-if)#exit //back to global configuration or Exit from the EXEC
g3complab(config)#int fa0/1
g3complab(config-if)#ip add 192.168.3.1 255.255.255.252
g3complab(config-if)#no shut
g3complab(config-if)#exit
g3complab(config)#ip dhcp pool main
g3complab(dhcp-config)#network 192.168.1.0 255.255.255.0
g3complab(dhcp-config)#default-router 192.168.1.1
g3complab(dhcp-config)#exit
g3complab(config)#router ospf 2
g3complab(config-router)#network 192.168.1.0 0.0.0.255 area 0
g3complab(config-router)#network 192.168.3.0 0.0.0.3 area 0
g3complab(config-router)#end
g3complab#write// to save our config
Building configuration...
[OK]

configuration of g4complab
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: n
Router>en
Router#conf t //Enter configuration mode
Router(config)#hostname g4complab
g4complab(config)#int fa0/0
g4complab(config-if)#ip add 192.168.2.1 255.255.255.0

16
g4complab(config-if)#no shut
g4complab(config-if)#exit
g4complab(config)#int fa0/1
g4complab(config-if)#ip add 192.168.3.2 255.255.255.252
g4complab(config-if)#no shut
g4complab(config-if)#
g4complab(config-if)#exit
g4complab(config)#ip dhcp pool main
g4complab(dhcp-config)#network 192.168.2.0 255.255.255.0
g4complab(dhcp-config)#default-router 192.168.2.1
g4complab(dhcp-config)#exit
g4complab(config)#router ospf 1
g4complab(config-router)#network 192.168.2.0 0.0.0.255 area 0
g4complab(config-router)#network 192.168.3.0 0.0.0.3 area 0
g4complab(config-router)#end
g4complab#write// Write running configuration to memory, network, or terminal
Building configuration...
[OK]

Setting passwords to a router


The user mode EXEC command-line interface (CLI) is sometimes referred to as “useless
mode” because it doesn’t do a whole lot. User mode lets you view interface statistics and is
typically used by junior administrators to gather facts for the senior staff. You don’t want
highly paid people sitting around gathering basic network statistics when a junior
administrator can be adequately trained to document this information.
To get into user mode, you can connect in one of three ways:
 Console: An RJ-45 connection on all Cisco routers allows full access to the router if no
passwords are set.
 Aux: An RJ-45 connection on most routers allows you to connect a modem to the port,
dial in to the router, and make a console connection.
 VTY: Virtual Teletype is used to allow a Telnet connection to the router, which will then
work like a console port. You must have an active interface on the router for Telnet to
connect to the router.
The console, aux, and VTY ports are used to get into user mode only and have nothing to do
with how the router is configured.

17
Console
the console port can be used to configure the complete configuration at any time. This makes
it very important to protect the console port with a password.

To configure a console user-mode password, use the Line command from global
configuration mode. There is only one console port on all routers, so the command is
line console 0
Router#config t
Router(config)#line console 0
Router(config-line)# // tells you that you are configuring the console, aux, or VTY lines.
To finish configuring the console port, you can use two more commands:

 Login:This tells the router to look under the console line configuration for the
password. If you do not use this command, you will not be prompted for a password
when you connect to the router’s console port.
 Password: This sets the console user-mode password. It is case sensitive.

The complete command will look like this:

Router#config t
Router(config)#line con 0
Router(config-line)#login
Router(config-line)#password netsi

VTY (Telnet)
The Virtual Teletype (VTY) lines are used to configure Telnet access to a Cisco router. As I
mentioned earlier, the VTY lines must be configured for Telnet to be successful.

Router#config t
Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password gift

Enable password
The Enable password is used to allow security on a Cisco router when an administrator is
trying to go from user mode to privileged mode. The Enable password is an old, unencrypted
password that will prompt for a password when used from privileged mode.

Here is an example:
Router#config t
Router(config)#enable password red
Router(config)#exit
Router#disable (the disable command takes you from privilege mode back to user mode)

18
Router>enable
Enter password:
Enable Secret
it is encrypted by default and supercedes Enable if it is set. In other words, if you set the
Enable password and then set the Enable Secret password, the Enable password will never be
used.

Here’s an example:
Router#config t
Router(config)#enable secret teku
To encrypt your passwords, use the global configuration command,then:-

Router#config t
Router(config)#service password-encryption
Router(config-line)#line con 0
Router(config-line)#login
Router(config-line)#password mati
Router(config-line)#exit

Case study
A network administrator have 192.168.2.0/24 network. The suffix/24 (prounonced as
slash 24) tell the number of bits used for the network address.he is having four
different campus with different number of hosts main campus has 100 hosts,Abaya
campus has 50 computers,nechsar –campus has 25 computer and chamo campus
has 5 computer.in e classfull ip address ,the subnet are fixed size.using the same
methodology the administrator can not fulfill all requirement f network.Therefore
show how VLSM(variable subnet mask ) can be used in order to allocate deparment
wise ip address. First sort sort the requirement of ips in decending order(highest to
order) then
I. For each department find out of the following:
a. Network address
b. Subnet mask
c. Getway address
d. First and last usable address
e. Broadcast address
II. Using OSPF config the following network

19
VLSM (VARIABLE LENGTH SUBNET MASK) CALCULATION
Variable Length Subnet Masking (VLSM) is a way of further subnetting a subnet.
Using Variable Length Subnet Masking (VLSM) we can allocate IPv4 addresses to
the subnets by the exact need. Variable Length Subnet Masking (VLSM) allows us to
use more than one subnet mask within the same network address space.we can divide
a network only into subnets with equal number of IPv4 addresses. Variable Length
Subnet Masking (VLSM) allows to create subnets from a single network with unequal
number of IPv4 addresses.

Example: We want to divide 192.168.2.0/24, which is a Class C network, into four networks,
each with unequal number of IPv4 addresses requirements as shown below.

/24-tells us the number of bits used for network address

1-Main campus- with 100 host

2-Abaya campus-with 50 host

3-Nechsar campus-with 25 host and lastly

4-Chamo campus –with 5 users or hosts

The administrator have an ip address 192.168.2.0/24 it is the Original Network (Network to


be subnetted ) – 192.168.2.0/24.

Main campus ip and subnet mask are given below

1) 192.168.2.0 255.255.255.128 which can be represented in binaries as below.

11000000.10101000.00000010.00000000

11111111.11111111.11111111.10000000

So from the above point :-

We got network address 192.168.2.0

Default gate way 192.168.2.1

Broadcast address 192.168.2.127

Initial and last ip addresses will be 192.168.2.2-192.168.2.126

Abaya campus ip and subnet mask are given

2) 192.168.2.128 255.255.255.192 which can be represented in binaries as below.

20
11000000.10101000.00000010.10000000
11111111.11111111.11111111.110000000

So from this ip and subnet we can get

Network address 192.168.2.128

Default gateway 192.168.2.129

Broadcast address 192.168.2.191

Initial and final ip addresesses will be 192.168.2.130-192.168.2.190

Nechsar campus ip and subnet mask are given

3- 192.168.2.192 255.255.255.224 which can be represented in binaries as below.

11000000.10101000.00000010.11000000
11111111.11111111.11111111.11100000

So from this ip and subnet we can get

Network address 192.168.2.192

Default gateway 192.168.2.193

Broadcast address 192.168.2.223

Initial and final ip addresesses will be 192.168.2.194-192.168.2.222

Chamo campus ip address and subnet mask is given below

4-192.168.2.224 255.255.255.248 which can be represented in binaries as below.

11000000.10101000.00000010.11100000
11111111.11111111.11111111.11111000

So from this ip and subnet we can get

Network address 192.168.2.224

Default gateway 192.168.2.225

Broadcast address 192.168.2.247

Initial and final ip addresesses will be 192.168.2.226-192.168.2.246

21
OSPF configuration

Configuration for main campus


Router>en
Router#conf t
Router(config)#hostname main
main(config)#int fa0/0
main(config-if)#ip add 192.168.2.1 255.255.255.128
main(config-if)#no sh
main(config-if)#
main(config-if)#exit
main(config)#int fa0/1
main(config-if)#ip add 192.168.3.1 255.255.255.252
main(config-if)#no sh
main(config-if)#exit
main(config)#ip dhcp pool main
main(dhcp-config)#network 192.168.2.0 255.255.255.128
main(dhcp-config)#default-router 192.168.2.1
main(dhcp-config)#end
main(config)#router ospf 1

22
main(config-router)#network 192.168.1.0 0.0.0.127 area 0
main(config-router)#network 192.168.3.0 0.0.0.3 area 0
main(config-router)#end
main#wr
Building configuration...
[OK]
Configuration for abayaa campus
Continue with configuration dialog? [yes/no]: n
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname abaya
abaya(config)#int fa0/0
abaya(config-if)#ip add 192.168.2.129 255.255.255.192
abaya(config-if)#no sh
abaya(config-if)#exit
abaya(config)#int fa0/1
abaya(config-if)#ip add 192.168.3.2 255.255.255.252
abaya(config-if)#no shut
abaya(config-if)#exit
abaya(config)#int fa0/1
abaya(config-if)#ip add 192.168.3.2 255.255.255.252
abaya(config-if)#no shut
abaya(config-if)#exit
abaya(config)#int fa1/0
abaya(config-if)#ip add 192.168.4.1 255.255.255.252
abaya(config-if)#no shut
abaya(config-if)#exit
baya(config)#ip dhcp pool main
abaya(dhcp-config)#network 192.168.2.128 255.255.255.192
abaya(dhcp-config)#default-router 192.168.2.129
abaya(dhcp-config)#end

23
abaya#
abaya#wr
Building configuration...
[OK]
abaya(config)#router ospf 2
abaya(config-router)#network 192.168.2.128 0.0.0.63 area 0
abaya(config-router)#network 192.168.3.0 0.0.0.3 area 0
abaya(config-router)#network 192.168.4.0 0.0.0.3 area 0
abaya(config-router)#end
abaya#wr
Building configuration...
[OK]
Configuration of nechasar campus
Continue with configuration dialog? [yes/no]: no
Router>en
Router#conf t
Router(config)#hostname nechsar
nechsar(config)#int fa0/0
nechsar(config-if)#ip add 192.168.2.193 255.255.255.224
nechsar(config-if)#no sh
nechsar(config)#int fa0/1
nechsar(config-if)#ip add 192.168.4.2 255.255.255.252
nechsar(config-if)#no sh
nechsar(config-if)#exit
nechsar(config)#int fa1/0
nechsar(config-if)#ip add 192.168.5.1 255.255.255.252
nechsar(config-if)#no shut
nechsar(config-if)#exit
nechsar(config)#ip dhcp pool main
nechsar(dhcp-config)#network 192.168.2.192 255.255.255.224
abaya(dhcp-config)#default-router 192.168.2.193
nechsar(dhcp-config)#end

24
nechsar#wr
Building configuration...
[OK]
nechsar(config)#router ospf 3
nechsar(config-router)#network 192.168.2.192 0.0.0.31 area 0
nechsar(config-router)#network 192.168.4.0 0.0.0.3 area 0
nechsar(config-router)#network 192.168.5.0 0.0.0.3 area 0
nechsar(config-router)#end
nechsar#wr
Building configuration...
[OK]
Configuration of chamo campus
Continue with configuration dialog? [yes/no]: n
Router>en
Router#conf t
Router(config)#hostname chamo
chamo(config)#int fa0/0
chamo(config-if)#ip add 192.168.2.225 255.255.255.248
chamo(config-if)#no sh
chamo(config-if)#exit
chamo(config)#int fa0/1
chamo(config-if)#ip add 192.168.5.2 255.255.255.252
chamo(config-if)#no sh
chamo(config-if)#exit
chamo(config)# ip dhcp pool main
chamo(dhcp-config)# network 192.168.2.224 255.255.255.248
chamo(dhcp-config)# default-router 192.168.2.225
chamo(dhcp-config)#end
chamo#wr
Building configuration...
[OK]
chamo(config)#router ospf 4

25
chamo(config-router)#network 192.168.2.224 0.0.0.7 area 0
chamo(config-router)#network 192.168.5.0 0.0.0.3 area 0
chamo(config-router)#end
mchamo#wr
Building configuration...
[OK]

26

You might also like