0% found this document useful (0 votes)
13 views4 pages

Ex 8

Uploaded by

mailing2chinka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Ex 8

Uploaded by

mailing2chinka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Experiment – 8

AIM: To Implement Default Routing using Cisco Packet Tracer


MATERIAL REQUIRED:
 Cisco Packet Tracer Software
 2 Routers
 2 Switches
 6 PCs (PC0 to PC5)
 Straight-through cables for PC-Switch connections
 Cross-over cable (or Serial connection) for Router-Router connection

THEORY:
Default Routing: Default routing is a type of routing in which a router is configured to
forward packets to a specified "default" next hop or destination when no specific route exists
for the packet's destination in the routing table. This is often used when routing information
for all possible destinations is unavailable, but a default route can direct packets to a central
router or gateway. Default routing simplifies network configuration by reducing the need to
define individual routes for each destination, making it particularly useful in smaller or less
complex networks.
In default routing, the router typically uses the IP address of the next-hop router as the
destination for all packets that do not match any other specific route. It is commonly used in
edge routers that connect a local network to an external network, such as the Internet. The
default route is typically represented by the destination network 0.0.0.0 with a subnet mask of
0.0.0.0, indicating that it applies to any destination not explicitly listed in the routing table.

NETWORK TOPOLOGY:
PROCEDURE:

Step 1: Add Devices to the Workspace

 Open Cisco Packet Tracer.

 Add:
o 2 Routers (Router0, Router1)
o 2 Switches (Switch0, Switch1)

o 6 PCs (PC0–PC5)

Step 2: Connecting the Devices

1. Connect Router0 and Router1:

o Use a Copper Cross-Over Cable.

o Connect Router0's GigabitEthernet0/0 to Router1's GigabitEthernet0/0.

2. Connect Router0 to Switch0:


o Use a Copper Straight-Through Cable.

o Connect Router0’s FastEthernet0/1 interface to Switch0's


FastEthernet0/1 port.
3. Connect Router1 to Switch1:

o Use a Copper Straight-Through Cable.

o Connect Router1’s FastEthernet0/1 interface to Switch1's


FastEthernet0/1 port.
4. Connect PCs to Switches:

o Use Copper Straight-Through Cables.

o Connect:

 PC0, PC1, and PC2 to Switch0 (FastEthernet ports).

 PC3, PC4, and PC5 to Switch1 (FastEthernet ports).

Step 3: Assigning IP Addresses to Devices

1. Assign IP Address to Router0:

o FastEthernet0/1: 192.168.1.1 255.255.255.0

o GigabitEthernet0/0: 10.0.0.1 255.255.255.252

2. Assign IP Address to Router1:


o FastEthernet0/1: 192.168.2.1 255.255.255.0

o GigabitEthernet0/0: 10.0.0.2 255.255.255.252

3. Assign IP Addresses to PCs:

 Network 1 (PCs on Switch0):

o PC0: IP: 192.168.1.2 255.255.255.0, Gateway: 192.168.1.1

o PC1: IP: 192.168.1.3 255.255.255.0, Gateway: 192.168.1.1

o PC2: IP: 192.168.1.4 255.255.255.0, Gateway: 192.168.1.1

 Network 2 (PCs on Switch1):

o PC3: IP: 192.168.2.2 255.255.255.0, Gateway: 192.168.2.1

o PC4: IP: 192.168.2.3 255.255.255.0, Gateway: 192.168.2.1


o PC5: IP: 192.168.2.4 255.255.255.0, Gateway: 192.168.2.1

Step 4: Configuring Routing on Routers

1. Configure Routing on Router0:

o Access Router0’s CLI.

o Enter Global Configuration Mode:

o Router> enable

o Router# configure terminal

o Set the default route pointing to Router1:


o Router(config)# ip route 0.0.0.0 0.0.0.0 10.0.0.2

o Exit configuration mode:

o Router(config)# exit

2. Configure Routing on Router1:

o Access Router1’s CLI.

o Enter Global Configuration Mode:

o Router> enable
o Router# configure terminal

o Set the default route pointing to Router0:


o Router(config)# ip route 0.0.0.0 0.0.0.0 10.0.0.1
o Exit configuration mode:

o Router(config)# exit

OUTPUT:
Test Connectivity Between PCs:

 From PC0 (192.168.1.2), open the command prompt and ping PC3 (192.168.2.2).

 Successful ping replies confirm that the default routing setup is working correctly
between both networks.

You might also like