NE7112 CASE STUDY NETWORK DESIGN(Team Work) LABS
M.E. COMPUTER SCIENCE AND ENGINEERING (WITH SPECIALIZATION IN COMPUTER NETWORKS)
CASE STUDY 1 ANALYZING THE PERFORMANCE OF VARIOUS CONFIGURATIONS AND PROTOCOLS IN
1.1. Establishing a Local Area Network (LAN)
The main objective is to set up a Local Area Network,concepts involved
in this network are IP addressing and the Address Resolution Protocol
(ARP). The required equipment's are 192.168.1.1 ,192.168.1.2,
192.168.1.3,Host A Host B Host C, Switch/HUB, three PC`s equipped with
at least one NIC, one HUB or Switch and the necessary cables. Once the
physical LAN is set up the hosts need to be configured using the
ifconfig command. To verify communication among the machines the ping
command is used. Next, to manipulate the routing tables at the hosts to
understand how machines know where to send packets. Since the ifconfig
command places a default route into the routing tables this route must
be deleted. to blindfold the machine. The ping command is used again to
show that communication is no longer available. To re-establish
communication the routes are put back into the routing table one host at
a time. Communication i once again verified using the ping command.
REQUIREMENTS:
- 3 Windows PC or 3 Linux PC, Each PC must Have One NIC cards.
- 1 Switch (8 port) or 1 Hub.
- 3 Straight Line LAN(cat-5) Cables with RJ-45 Sockets.
- Power supply
- Class C IP Address. using Static IP configuration.
- Basic Network Configuration Commands. For Switch and PCs.
- Cisco Packet Tracer 6.0.1
- Download Cisco Packet Tracer 6.0.1.exe
- Open The CISCO PACKET TRACER software.
- Draw The Three PC using End Device Icons.
- Draw The CISCO 24 Port Switch Using Switch icon lists.
- Make The Connections using Straight-Through Ethernet Cables.
- Enter The IP Address To Each Machine.
- Check the IP address for Every PC using ipconfig or ifconfig Command.
- Check The Connections using Ping Commands.
- View The MAC Address Table.
- Download This Video Lab
PC-1 IP ADDRESS :
PC-2 IP ADDRESS :
PC-3 IP ADDRESS :
VIEW THE SWITCH MAC ADDRESS TABLE :
Switch>show mac-address-table
Graphical View :
ARP Table For Switch :
ARP is Layer 2 to Layer 3 mapping; if our switches are Layer 2 and pings
are on the same network, there is no arp cash on switches.
PING PC 1 - PC 2 :
ping command is a Network Utility Command. ping tools use
Internet Control Message Protocol (ICMP). ping used to verify the
connection between source PC to Destination PC.
c:>ping 192.168.1.3
PING PC 1 - PC 3
c:>ping 192.168.1.3
OSI LAYER ARCHITECTURE :
INPUT PROTOCOL DATA UNIT (PDU):
OUTPUT PROTOCOL DATA UNIT (PDU):
RESULT:
Thus the Experiment Was Configured Successfully.
DOWNLOAD THE LAB:
----------------------------------------------------------------------------------------------------------------------------------
1.2. Connecting two LANs using multi-router topology with static routes :
The main objective is to extend routing connection by using multiple
routers. The concepts include IP addressing and basic network routing
principles. Connect two LANs topology. During router configuration
attention is paid to the types of interfaces as additional issues are
involved with set-up. For example, the serial interfaces require
clocking mechanisms to be set correctly. Once the interfaces are working
the ping command is used to check for communication between LANs. The
failure of communication illustrates the need for routes to be
established inside the routing infrastructure. Static routes are used to
show how packets can be transported through any reasonable route. It is
run trace route on two different configurations to demonstrate the
implementation of different routes.
REQUIREMENTS:
- 4 Windows PC or 4 Linux PC, Each PC must Have One NIC cards.
- 2 Switch (8 port) or 2 Hub.
- 6 Straight Line LAN(cat-5) Cables with RJ-45 Sockets.
- Power supply
- Class C IP Address. using Static IP configuration.
- Basic Network Configuration Commands. For Router,Switch and PCs.
- Cisco Packet Tracer 6.0.1
- 2 Cisco Routers (Model 1841)
- 1 serial cable for router to router connection.
- Download Cisco Packet Tracer 6.0.1.exe
- Download This Lab
- Open The CISCO PACKET TRACER software.
- Draw The 4 PC using End Device Icons.
- Draw The 2 CISCO 24 Port Switch Using Switch icon lists.
- Draw The 2 Cisco 1841 Routers Using Router icon lists.
- Make The Connections using Straight-Through Ethernet Cables.
- Configure Routers R1 and R2.
- Enter The IP Address To Each Machine.
- Configuring Static Routing for Each routers.
- Configuring RIP Routing for Each routers.
- Check the IP address for Every PC using ipconfig or ifconfig Command.
- Check the Connections using Ping Commands.
- View the MAC Address Table.
- View the ARP Address Table.
- view the Routing Table.
- Download This Video Lab
| Physical Connection |
ROUTER R1 CONFIGURATION
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config)#interface Serial0/0/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#
SET THE CLOCK RATE
Router(config)#interface serial0/0/0
Router(config-if)#clock rate ?
Speed (bits per second
1200
2400
4800
9600
19200
38400
56000
64000
72000
125000
128000
148000
250000
500000
800000
1000000
1300000
2000000
4000000
<300-4000000> Choose clockrate from list above
Router(config-if)#clock rate 72000
ADDING STATIC ROUTING:
Router(config-if)#ip route Destination Network| Destination N/W SubnetMask |Next Hop Address
Router(config-if)#ip route 192.168.2.0 255.255.255.0 192.168.3.2
ADDING RIP ROUTING:
Router#config terminal
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 20.0.0.0
ROUTER R2 CONFIGURATION
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config)#interface Serial0/0/0
Router(config-if)#ip address 192.168.3.2 255.255.255.0
Router(config-if)#
SET THE CLOCK RATE
Router(config)#interface serial0/0/0
Router(config-if)#clock rate ?
Speed (bits per second
1200
2400
4800
9600
19200
38400
56000
64000
72000
125000
128000
148000
250000
500000
800000
1000000
1300000
2000000
4000000
<300-4000000> Choose clockrate from list above
Router(config-if)#clock rate 72000
ADDING STATIC ROUTING:
Router(config-if)#ip route Destination Network| Destination N/W SubnetMask |Next Hop Address
Router(config-if)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
ADDING RIP ROUTING:
Router#config terminal
Router(config)#router rip
Router(config-router)#network 192.168.2.0
Router(config-router)#network 20.0.0.0
PC CONFIGURATION:
PC-1>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::2E0:8FFF:FEBC:1B4C
IP Address......................: 192.168.1.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
PC-2>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::260:2FFF:FE61:B37C
IP Address......................: 192.168.1.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
PC-3>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::250:FFF:FE6D:ED85
IP Address......................: 192.168.2.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.2.1
PC-4>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::201:64FF:FE76:7A08
IP Address......................: 192.168.2.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.2.1
ROUTER R1 RUNNING CONFIGURATION:
Router>enable
Router#show running-config
Building configuration...
Current configuration : 703 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.3.1 255.255.255.0
!
interface Serial0/0/1
no ip address
!
interface Vlan1
no ip address
shutdown
!
router rip
network 20.0.0.0
network 192.168.1.0
!
ip classless
ip route 192.168.2.0 255.255.255.0 192.168.3.2
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
ROUTER R2 RUNNING CONFIGURATION:
Router>enable
Router#show running-config
Building configuration...
Current configuration : 703 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.3.2 255.255.255.0
!
interface Serial0/0/1
no ip address
!
interface Vlan1
no ip address
shutdown
!
router rip
network 20.0.0.0
network 192.168.2.0
!
ip classless
ip route 192.168.1.0 255.255.255.0 192.168.3.1
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
ROUTER R1 ROUTE TABLE:
Router#sh ip route
ROUTER R2 ROUTE TABLE:
Router#sh ip route
SHOW R1 ROUTER ARP TABLE:
SHOW R2 ROUTER ARP TABLE:
SHOW PC ARP TABLE:
OSI LAYER ARCHITECTURE:
R1 ROUTER
R2 ROUTER
INPUT PROTOCOL DATA UNIT (PDU):
OUTPUT PROTOCOL DATA UNIT (PDU):
OUT PUT:
c:>ping 192.168.2.2
c:>ping 192.168.1.3
RESULT:
Thus the Experiment Was Configured Successfully.
DOWNLOAD THE LAB:
----------------------------------------------------------------------------------------------------------------------------------
1.3 Analyzing the performance of various configurations and protocols
Original TCP versus the above modified one: To compare the performance
between the operation of TCP with congestion control and the operation
of TCP as implemented . The main objective is for students to examine
how TCP responds to a congested network. The concepts involved in the
lab include network congestion and the host responsibilities for
communicating over a network. This lab requires three PC’s connected to a
switch.One PC is designated as the target host and the other two PC’s
will transfer a file from the target host using FTP. A load is placed on
the network to simulate congestion and the file is transferred, first
by the host using the normal TCP and then by the host using the modified
version. This procedure is performed multiple times to determine
average statistics. The students are then asked to summarize the results
and draw conclusions about the performance differences and the
underlying implications for hosts operating in a network environment.
One Linux(fedora) Virtual PC.
Two Windows(xp) Virtual PC.
one Windows 7 PC with VMware Workstation
FTP Application layer protocol
TCP Transport layer protocol
Internet Connection
VMware Workstation 9.0.2
Wireshark-win32-1.10.0rc1
Class C IP Address.
Download This Video Lab
Download This Video Lab
FILE TRANSFER PROTOCOL
File Transfer Protocol (FTP) is the standard mechanism provided by TCP/IP for copying a file from one host to another.
PROCEDURE:
Start the 3 virtual machine one by one.
WINDOWS XP VIRTUAL PC-1
WINDOWS XP VIRTUAL PC-2
LINUX VIRTUAL PC
Make the Internet Connectivity to your System
Log in to Linux virtual Machine
Log in to Windows XP Virtual Machine
Open The terminal window on your Linux machine.
Log in to root user account
Assign the Ip address 192.168.1.5
# ifconfig
Install the VSFTPD ftp server package
# yum install vsftpd
TEXT MODE INSTALLATION
DOWNLOAD LINK
vsftpd-2.3.4-1.fc14.i686.rpm
Power on the vsftpd Server
# chkconfig vsftpd on
Start the vsftpd Services.
#service vsftpd start
Check the Vsftpd Service status
#service vsftpd status
Add tcp protocol entries into our Iptables.
# iptables -A INPUT -p tcp --dport 20 -j ACCEPT
# iptables -A INPUT -p tcp --dport 21 -j ACCEPT
# iptables -A INPUT -p tcp --dport 21 -j ACCEPT
View the Iptables values
# iptables -L# setup
Enable FTP protocol into your firewall configuration window.
Windows XP PC-1 Ip Address
Assign the IP Address to your first windows XP PC 192.168.1.2
c:/>ipconfig
Assign the IP Address to your first windows XP PC 192.168.1.2
c:/>ipconfig
Assign The IP Address to your second windwos XP PC 192.168.1.3
FTP SERVER CONFIGURATION:
Edit the ftp server configuration file.
# vi /etc/vsftpd/vsftpd.conf
Edit the ftp server configuration file.
# vi /etc/vsftpd/vsftpd.conf
Make some changes and add some lines to your vsftpd.conf configuration file
local_root=public_htmluse_localtime=YES
Add the user names to chroot_list file
# vi /etc.vsftpd.chroot_list
Add your user name fedora
Restart the vsftpd Service
Check the vsftpd service status
Set the Boolean values
# setsebool -P ftp_home_dir=1
On the Setseboolean
# setsebool -P allow_ftpd_anon_write on
Check the Boolean Status
# getsebool allow_ftpd_anon_write
Restart the FTP Server
# service vsftpd restart
# service vsftpd restart
TEXT MODE :
Go to XP PC-1
Open your command prompt windows
Type the following command
C:/>ftp 192.168.1.5
Enter your Linux user_name and password to login the linux machine
put the ftp>ls command
linux files also list out.copy the particular file using recv command
ftp> recv sample
files has been successfully copied.
Paste the files
VIEW THE FILE CONTENT:
GUI MODE :
Open Internet Explorer
Type the following text on Address bar.ftp://192.168.1.5
Enter linux machine user-name and password fro login
Your Linux Machine hase ben opened on your web browser
if u want any file from your linux machineCOPY THE FILE
Select the file.
Copy Selected file.
Paste on your windows XP Desktop
PASTE THE FILE
VIEW THE FILE CONTENT
TCP PROTOCOL ANALYZING
Open Wire-shark application select the interface .
Start the capture button.
All the incoming and outgoing information are captured.
Save your Wire-shark capture file.
View the Wire-shark capture file and Analyzing your TCP protocol information's and congestion's.
This application very use full for protocol Analyzing.
WIRE SHARK DISPLAY MY FTP LOGIN USER NAME AND PASSWORD
CLOSE THE FTP CONNECTION
Using quit command for close the FTP connection.shutdown your virtual PC'S
RESULT:
Thus the experiment was execute successfully.
CASE STUDY 7 CONFIGURING A FIRE WALL
Consider a Fire wall communication server with single inbound modem. Configure the modem to ensure security for LAN
What is Firewall?
A firewall is a layer of security between your home network and the
Internet. Since a router or modem is the main connection from a home
network to the Internet, a firewall is often packaged with those
devices. Every home network should have a firewall to protect its
privacy. firewalls are a combination of hardware and software The
hardware part gives firewalls excellent performance, while the software
part allows firewalls to be tailored to your specific needs.
Firewall Rules :
Firewall rules block or allow specific traffic passing through from one
side of the router to the other. Inbound rules (WAN to LAN) restrict
access by outsiders to private resources, selectively allowing only
specific outside users to access specific resources. Outbound rules (LAN
to WAN) determine what outside resources local users can have access
to. A firewall has two default rules, one for inbound traffic and one
for outbound. The default rules of the modem router are:
- Inbound
- Outbound
INBOUND RULES :
Block all access from outside except responses to requests from the LAN side
OUTBOUND RULES :
Allow all access from the LAN side to the outside.
NOTE :
You can define additional rules that will specify exceptions to the
default rules. By adding custom rules, you can block or allow access
based on the service or application, source or destination IP addresses,
and time of day. You can also choose to log traffic that matches or
does not match the rule you have defined.
HOW TO WORK FIREWALL :
HOW TO PROTECT OUR NETWORK FROM THE HACKER ATTACKS :
FIREWALL CARTOON LOGO :
REQUIREMENTS :
- Cisco Packet Tracer 6.0.1
- 3 PC windows or Linux PC's
- One Switch or Hub
- One DSL Modem
- One Application Server
- Communication Channels
- Class B IP Address.
- Basic Firewall things.
- Basic Network Configuration Commands.
- Download Cisco Packet Tracer 6.0.1.exe
- Download This Video Lab
PROCEDURE :
PHYSICAL CONNECTIONS :
SERVER IP ADDRESS :
SERVER>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::201:63FF:FEB1:4829
IP Address......................: 172.16.0.1
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 0.0.0.0
PC-1 IP ADDRESS :
PC>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::201:C9FF:FE64:518E
IP Address......................: 172.16.0.2
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 0.0.0.0
PC-2 IP ADDRESS :
PC>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::201:C9FF:FE64:518E
IP Address......................: 172.16.0.2
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 0.0.0.0
PC-3 IP ADDRESS :
PC>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::290:21FF:FEBC:CDA5
IP Address......................: 172.16.0.4
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 0.0.0.0
GRAPHICAL VIEW :
SERVER IP ADDRESS :
PC-1 IP ADDRESS :
PC-2 IP ADDRESS :
PC-3 IP ADDRESS :
BEFORE THE FIREWALL CONFIGURATION :
ICMP
ping command is a Network Utility Command. ping tools use Internet
Control Message Protocol (ICMP). ping used to verify the connection
between source PC to Destination PC.
PING BETWEEN WAN PC TO SERVER USING ICMP PROTOCOL :
ping was successful between the Server and Remote PC.
HTTP
Open the any PC web Browser type the server IP address in address bar. ( http://172.16.0.1 ). We can access the web page from the server.
WEB PAGE ACCESS BETWEEN SERVER TO WAN PC USING TCP PROTOCOL :
Web Page can Access successful on Remote PC from the Server.
AFTER THE FIREWALL CONFIGURATION :
We use Firewall Inbound Rules. Block all access from outside except responses to requests from the LAN side
Note :
- I Deny ICMP protocol Services from the out side Network
- I Allow TCP protocol Services from the out side Network
| I Deny ICMP protocol Services from the out side Network |
| I Allow TCP protocol Services from the out side Network |
ICMP :
ping command is a Network Utility
Command. ping tools use Internet Control Message Protocol (ICMP). ping
used to verify the connection between source PC to Destination PC.
PING BETWEEN WAN PC TO SERVER USING ICMP PROTOCOL :
ping was not successful between the Server and Remote PC. Because i block the out side network ICMP Services.
| Ping was not successful |
HTTP
Open the any PC web Browser type the server IP address in address bar. ( http://172.16.0.1 ). We can access the web page from the server.
WEB PAGE ACCESS BETWEEN SERVER TO WAN PC USING TCP PROTOCOL :
Web Page can Access successful on Remote PC from the Server. Because i Allow the TCP protocol Services from the out side Network.
| Web Page can Access successful |
RESULT :
Thus the Firewall Experiment was Configured Successfully.
------------------------------------------------------------------------------------------------------------
CASE STUDY 2 RIP AND OSPF Redistribution
This case study addresses the issue of integrating Routing Information
Protocol (RIP) networks with Open Shortest Path First (OSPF) networks.
Most OSPF networks also use RIP to communicate with hosts or to
communicate with portions of the inter-network that do not use OSPF.
This case study should provide examples of how to complete the following
phases in redistributing information between RIP and OSPF networks,
including the following topics:
| RIP AND OSPF Redistribution |
Most OSPF networks also use RIP to communicate with hosts or to
communicate with portions of the inter-network that do not use OSPF.
Cisco supports both the RIP and OSPF protocols and provides a way to
exchange routing information between RIP and OSPF networks.
REQUIREMENTS:
- CISCO 1841 Model 4 Routers.
- Two 8 port switchs.
- Two End Device PC's
- Communication medias (Serial Cable and copper straight through cable).
- Class C IP Address.
- Routing Protocols (RIP and OSPF).
- Router iso configuration commands.
- Cisco Packet Tracer 6.0.1.exe
- Power supply.
- Download This Lab
- Download This Video Lab
PROCEDURES :
Configuring a RIP Network
A RIP network illustrates a RIP network. Four sites are connected with serial lines.The RIP network uses a Class C address.Each site has a contiguous set of network numbers
ROUTER R4 NETWORK CONFIGURATION:
interface FastEthernet0/0
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.4.2 255.255.255.0
!
router rip
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
ROUTER R3 NETWORK CONFIGURATION:
interface Serial0/0/0
ip address 192.168.1.2 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.2.1 255.255.255.0
!
ROUTER R1 NETWORK CONFIGURATION:
!
interface Serial0/0/0
ip address 192.168.5.2 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.4.1 255.255.255.0
!
ROUTER R2 NETWORK CONFIGURATION:
!
interface FastEthernet0/0
ip address 192.168.6.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 192.168.1.1 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.5.1 255.255.255.0
!
Adding OSPF to the Center of a RIP Network :
A common first step in converting a RIP network to OSPF is to add
backbone routers that run both RIP and OSPF, while the remaining network
devices run RIP. These backbone routers are OSPF autonomous system
boundary routers. Each autonomous system boundary router controls the
flow of routing information between OSPF and RIP
ROUTER R3 OSPF CONFIGURATION:
!
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
!
ROUTER R1 OSPF CONFIGURATION:
!
router ospf 1
network 192.168.5.0 0.0.0.255 area 0
!
Adding OSPF Areas :
ROUTER R2 OSPF CONFIGURATION:
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 192.168.6.0 0.0.0.255 area 1
!
Setting Up Mutual Redistribution :
| MUTUAL REDISTRIBUTION |
Mutual redistribution between RIP and OSPF networks is running both OSPF and RIP.
R1 ROUTER MUTUAL REDISTRIBUTION :
router ospf 1
log-adjacency-changes
redistribute rip subnets
network 192.168.5.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1 metric 10
network 192.168.4.0
R3 ROUTER MUTUAL REDISTRIBUTION :
router ospf 1
log-adjacency-changes
redistribute rip subnets
network 192.168.1.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1 metric 10
network 192.168.2.0
NOTE:
I Explain The basic concept of RIP AND OSPF Redistribution. If you want More Advanced RIP AND OSPF Redistribution Concept. Please visit This Link Click Here
ROUTER R1 RUNNING CONFIGURATION FILE :
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.5.2 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.4.1 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
redistribute rip subnets
network 192.168.5.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1 metric 10
network 192.168.4.0
!
ip classless
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
ROUTER R2 RUNNING CONFIGURATION FILE :
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 192.168.6.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.1.1 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.5.1 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
network 192.168.6.0 0.0.0.255 area 1
!
router rip
!
ip classless
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
ROUTER R3 RUNNING CONFIGURATION FILE :
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.1.2 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.2.1 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
redistribute rip subnets
network 192.168.1.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1 metric 10
network 192.168.2.0
!
ip classless
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
ROUTER R4 RUNNING CONFIGURATION FILE :
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.0
!
interface Serial0/0/1
ip address 192.168.4.2 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router rip
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
!
ip classless
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
PING BETWEEN 192.168.6.2 TO 192.168.3.2 :
PING BETWEEN 192.168.3.2 TO 192.168.6.2 :
ROUTING TABLE :
For a Cisco router, the IOS command show ip route displays the routes in the routing table. There are several types of routes that can appear in the routing table:
Directly-Connected Routes:
When the router powers up, the configured interfaces are enabled. As
they become operational, the router stores the directly attached local
network addresses as connected routes in the routing table. For Cisco
routers, these routes are identified in the routing table with the prefix C. These routes are automatically updated whenever the interface is reconfigured or shutdown.
Static Routes:
A network administrator can manually configure a static route to a
specific network. A static route does not change until the administrator
manually reconfigures it. These routes are identified in the routing
table with the prefix S.
Dynamically-Updated Routes (Dynamic Routes) :
Dynamic routes are automatically created and maintained by routing
protocols. Routing protocols are implemented in programs that run on
routers and that exchange routing information with other routers in the
network. Dynamically-updated routes are identified in the routing table
with the prefix that corresponds to the type of routing protocol that
created the route, for example R is used for the Routing Information Protocol (RIP).
Default Route :
The default route is a type of static route which specifies a gateway to
use when the routing table does not contain a path to use to reach the
destination network. It is common for default routes to point to the
next router in the path to the Internet Service Provider. If a subnet
has only one router, then that router is automatically the default
gateway, because all network traffic to and from that local network has
no option but to travel through that router.
RIP:
- It is a distance vector routing protocol.
- send the complete routing table out to all interface every 30 seconds.
- Rip only use hop count to determine best way to remote Network.
- Maximum allowable hop count is 15
OSPF:
Open Shortest Path First (OSPF) is a non-proprietary link-state routing protocol described in RFC 2328.
identified in the routing table with the prefix O .
identified in the routing table with the prefix O .
- Uses the SPF algorithm to calculate the lowest cost to a destination
- Sends routing updates only when the topology changes; does not send periodic updates of the entire routing table.
- Provides fast convergence
- Supports VLSM and discontiguous subnets
- Provides route authentication
DOWNLOAD THIS LAB :
RESULT :
Thus the Experiment Was configured Successfully.












































No comments:
Post a Comment