Static Routing
Routing : Routing is the process of selecting a path for traffic in a network or
between or across multiple networks
A routing table is a data table stored in a router or a network host that lists the
routes to particular network destinations
There are two methods to complete routing table entries
1 static routing
2 dynamic routing
A router is a networking device that forwards data packets between computer
networks
Static Routing is manual,network admin completes router's routing table entries
by using commands.It has limitations,it doesn't work on large networks
Points
When traffic comes for a network which is not directly connected with
router,the router shoul not discard that traffic but forward to other routers
The network in which all routing table entries are complete is converge
topology
In static routing,the path is updated by user or administrator
Why we use it?
Static routing has three primary uses:
ease of routing table maintenance in smaller networks with little growth or
change.
Routing to and from sub networks. A network accessed by a single route,
and the router has only one neighbor.
Single default route to represent a path to any network.
Advantages of Static Routing
1. Predictability
The path that static routing takes to the destination is very predictable.
Even if there is a change in the network design and layout, there won't be
any changes in the router. The users always know where the path is going
to be.
2. Network Overheads
Unlike dynamic routing, static routing does not contain any overheads ;
almost zero. Therefore, routers and network links don't get overhead
imposing.
3. Configurations
Configuring networks those are small is relatively easy compared to a large
network. The network administrator only has to apply changes to each
router so that they can reach to their respective network segments. These
network segments are not directly attached to the router.
4. Resource Requirement
Static routing requires very less number of resources. Extra resources such
as CPU and memory are not needed here.
5. Bandwidth
Static routing does not use any CPU cycles for the communication
purposes. Hence, it impose less load on the router CPU. This makes them
consume less bandwidth compared to a dynamic routing protocol.
Disadvantages of Static Routing
1. Maintenance
Configurations of network is only easier when the network is small,
whenever the size increases the complexity grows as well. Especially the
static configurations contains large number of routes which can take
tremendous amount of time to manage.
2. Updates
Not only maintenance, updating routes in a large network are known to be
a complicated process. Routes needed to be updated individually as well as
in the correct order. If in case the routes are updated in the wrong order,
there would be problems in the internet access.
3. Redundancy
In the event of a failure, there is no automatic updating in static routing.
Users have to adjust routes manually so that the data flows through an
alternative path.
4. Input Errors
Static routing is vulnerable to input errors since they are configured
manually. Errors can probably appear as a result of a mistake. Network
administrators can do mistakes in configuring routing paths or network
information.
5. Protocol Support
Routing protocols lacks the freedom of independence when working with
static routes. It always provides gives less preference with routes those are
configured with dynamic routing protocol.
Practical