Sie sind auf Seite 1von 3

Network Device & Configuration VLSM and Basic Configuration

Exercises 2
Case: Assume you are a network administrator for DMU. Debre Markos University has two campuses namely
Debre Markos(Main) and Burrie Campus. The university needs to connect the two campuses via a network and
provide various services across the network. The university needs to use 192.168.0.0/24 Network address
efficiently for all networks. As shown on the network topology the university is going to build
 One WAN (DMUMainToBurrie with 2 hosts)
 Two LANs (DMUMainLAN1 with 50 hosts, DMUBurrieLAN1 with 30hosts).

Fig1. DMU Network Topology


1. As a network administrator, use VLSM to divide the given Network address into subnets and write down
the subnet information in the table given below.

Network Name Network Range Network Broadcast Subnet Number of


Address Address Mask Valid Host
Addresses
DMUMainToBurrie
DMUMainLAN1
DMUBurrieLAN1

2. Open Packet tracer and design a network diagram as per the topology given above.
3. Connect a PC to each routers using console cable and the following the following.
 Disable dns-lookup in both routers.
 Change the name of router R1 to DMUMainRouter and router R2 to DMUBurrieRouter.
 Set “Welcome to DMU Main Campus Router” as MOTD for DMUMainRouter router
 Set “Welcome to DMU Burrie Campus Router” as MOTD for DMUBurrieRouter router
Network Device & Configuration VLSM and Basic Configuration

 Set “dmumain123” as privileged access (encrypted), console 0 & vty 0 4 password for
DMUMainRouter router.
 Set “dmuburrie123” as privileged access (encrypted), console 0 & vty 0 4 password for
DMUBurrieRouter router.
 Turn on all interfaces of each router in which connection has established such as se0/0/0 &
fa0/0 interfaces
 Set the clock rate as “4800” for each active serial interface of both routers.
 Assign IP addresses to the active interfaces of both routers manually as follows

Router Name Interfaces IP Addresses


DMUMainRouter Se0/0/0 1st valid host address of DMUMainToBurrie subnet
Fa0/0 1st valid host address of DMUMainLAN1 subnet
DMUBurrieRouter Se0/0/0 2nd valid host address of DMUMainToBurrie subnet
Fa0/0 1st valid host address of DMUBurrieLAN1 subnet

 Configure DHCP on DMU router to let the devices in DMUMainLAN1 and DMUBurrieLAN1
LANs obtain IP address from it: use the following information

DHCP Pool Name Network Address Default Router DNS Address Excluded
address Addresses
DMUMainLANPool DMUMainLAN1 DMUMainRouter DMUMainRouter The 1st five valid
subnet’s Network Fa0/0 interface’s IP Fa0/0 interface’s IP host addresses of
address and subnet address address DMUMainLAN1
mask subnet
DMUBurrieLANPool DMUBurrieLAN1 DMUBurrieRouter DMUBurrieRouter The 1st five valid
subnet’s Network Fa0/0 interface’s IP Fa0/0 interface’s IP host addresses of
address and subnet address address DMUBurrieLAN1
mask subnet

 Save all the configurations you have made so far to the NVRAM.
 Allow each client to obtain IP address from the DHCP server.
 Check connectivity.
Network Device & Configuration VLSM and Basic Configuration

Solution for exercise 2


Network Name Network Range Network Broadcast Subnet Mask Number of
Address Address Valid Host
Addresses
DMUMainToBurrie 192.168.0.96- 192.168.0.96 192.168.0.99 255.255.255.252 2
192.168.0.99
DMUMainLAN1 192.168.0.0- 192.168.0.0 192.168.0.63 255.255.255.192 62
192.168.0.63
DMUBurrieLAN1 192.168.0.64- 192.168.0.64 192.168.0.95 255.255.255.224 30
192.168.0.95

R1 Configuration R2 Configuration
R1>enable R2>enable
R1#Configure terminal R2#Configure terminal
R1 (config)#no ip domain-lookup R2 (config)#no ip domain-lookup
R1(config)# Hostname DMUMainRouter R2(config)# Hostname DMUMainRouter
DMUMainRouter(config)#banner motd # WelCome DMUBurrieRouter(config)#banner motd # WelCome
DMU Main Campus Router # DMU Burrie Campus Router #
DMUMainRouter(config)#enable secret dmumain123 DMUBurrieRouter (config)#enable secret dmuburrie123
DMUMainRouter(config)#line console 0 DMUBurrieRouter (config)#line console 0
DMUMainRouter(config-line)#password dmumain123 DMUBurrieRouter (config-line)#password dmuburrie123
DMUMainRouter(config-line)#exit DMUBurrieRouter (config-line)#exit
DMUMainRouter(config)#line vty 0 4 DMUBurrieRouter (config)#line vty 0 4
DMUMainRouter(config-line)#password dmumain123 DMUBurrieRouter (config-line)#password dmuburrie123
DMUMainRouter(config-line)#exit DMUBurrieRouter (config-line)#exit
DMUMainRouter(config)#interface fa0/0 DMUBurrieRouter (config)#interface fa0/0
DMUMainRouter(config-if)#no shutdown DMUBurrieRouter (config-if)#no shutdown
DMUMainRouter(config-if)#ip address 192.168.0.1 DMUBurrieRouter (config-if)#ip address 192.168.0.65
255.255.255.192 255.255.255.224
DMUMainRouter(config-line)#exit DMUBurrieRouter (config-line)#exit
DMUMainRouter(config)#interface se0/0/0 DMUBurrieRouter (config)#interface se0/0/0
DMUMainRouter(config-if)#no shutdown DMUBurrieRouter (config-if)#no shutdown
DMUMainRouter(config-if)#ip address 192.168.0.97 DMUBurrieRouter (config-if)#ip address 192.168.0.98
255.255.255.252 255.255.255.252
DMUMainRouter(config-if)#clock rate 4800 DMUBurrieRouter (config-if)#exit
DMUMainRouter(config-if)#exit DMUBurrieRouter (config)#ip dhcp pool
DMUMainRouter(config)#ip dhcp pool DMUBurrieMainLANPool
DMUMainLANPool DMUBurrieRouter (dhcp-config)#network 192.168.0.64
DMUMainRouter(dhcp-config)#network 192.168.0.0 255.255.255.224
255.255.255.192 DMUBurrieRouter (dhcp-config)#default-router
DMUMainRouter(dhcp-config)#default-router 192.168.0.65
192.168.0.1 DMUBurrieRouter (dhcp-config)#dns-server
DMUMainRouter(dhcp-config)#dns-server 192.168.0.1 192.168.0.65
DMUMainRouter(dhcp-config)#exit DMUBurrieRouter (dhcp-config)#exit
DMUMainRouter(config)#ip dhcp excluded-address DMUBurrieRouter (config)#ip dhcp excluded-address
192.168.0.1 192.168.0.5 192.168.0.65 192.168.0.70
DMUMainRouter(config)#exit DMUBurrieRouter (config)#exit
DMUMainRouter#copy running-config startup-config DMUBurrieRouter #copy running-config startup-config

Das könnte Ihnen auch gefallen