Ex 8
Ex 8
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:
Add:
o 2 Routers (Router0, Router1)
o 2 Switches (Switch0, Switch1)
o 6 PCs (PC0–PC5)
o Connect:
o Router> enable
o Router(config)# exit
o Router> enable
o Router# configure terminal
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.