1827715 Members
2622 Online
109968 Solutions
New Discussion

hpux network

 
Raj_Ranjan
Frequent Advisor

hpux network

Can anybody tell me the diffrence between Static, dynamic and default routing.

Thnaks

Rajee
4 REPLIES 4
Tim Nelson
Honored Contributor

Re: hpux network

static = never changes
dynamic = changes ( dynamically )
default = where it goes when there is nowhere else specified.

Matti_Kurkela
Honored Contributor

Re: hpux network

Default route/default router/default gateway: if a machine does not know a more specific destination for the IP packet, the machine sends it to the default gateway.

Static routing: you configure the routes for your machine to match your network and the routes stay that way until you change them.
The simplest case of static routing is a machine that has only a default route defined.

Dynamic routing: you run a routing daemon that talks with the other routers in your network and your immediate neighbours and adjusts your routing automatically to select the optimal routes based on availability, congestion and other criteria.

If a machine has only one network interface, the default route is usually enough. If your network topology is complex, you may need some static routes in addition to the default route.

Dynamic routing is usually needed only when you have a large, complex network that connects multiple sites and/or has multiple connections to the Internet.

MK
MK
YAQUB_1
Respected Contributor

Re: hpux network

Hi Raj,

First of all you know....

What is a Route:-
================
To understand what a route is, we have to explain what routing is, why we need it and how routers do routing.

Routing is the process of moving a packet of data from one network to another network based on the destination IP address. The Internet uses routing to move data from your computer, across several networks, to reach a final destination, like a website. Specialized computer devices that perform this routing function are referred to as routers. Routers use the information contained in a route to make decisions about which network interface to forward a packet through in order to reach the destination address in the packet. Routers maintain a list of routes which is often referred to as a routing table.

Routers look up routes in the routing table to figure out how to move data from one network to another network. Routes are simply the signposts that tell a router which network interface to forward a packet through in order to reach the packet's intended destination.

Static Routes:-
===============
Static routing is not really a protocol, simply the process of manually entering routes into the routing table via a configuration file that is loaded when the routing device starts up. As an alternative, these routes can be enterd by a network administrator who configures the routes.

Since these routes don't change after they are configured (unless a human changes them) they are called 'static' routes.
Static routing is the simplest form of routing, but it is a manual process and does not work well when the routing information has to be changed frequently or needs to be configfured on a large number of routing devices (routers). Static routing also does not handle outages or down connections well because any route that is configured manually must be reconfigured manually to fix or repair any lost connectivity.

Dynamic Routes:-
================
Dynamic routing protocols are software applications that dynamically discover network destinations and how to get to them.

A router will 'learn' routes to all directly connected networks first. It will then learn routes from other routers that run the same routing protocol. The router will then sort through it's list of routes and select one or more 'best' routes for each network destination it knows or has learned.

Dynamic protocols will then distribute this 'best route' information to other routers running the same routing protocol, thereby extending the information on what networks exist and can be reached. This gives dynamic routing protocols the ability to adapt to logical network topology changes, equipment failures or network outages 'on the fly'.

Default Routes:-
===============
A default route is also referred to as the 'route of last resort'. This is the route a router uses when all other routes have been examined and none seem to be the right route to use.

BR/
Yaqub
Jeeshan
Honored Contributor

Re: hpux network

Hi Raj

yes, Matti's answer is the best one.

Static routing in hp-ux is like, if you set IP routing manuallly.

Dynamic routing is automatically when there is a DHCP like daemon running in the network.

Default routing is what the OS set it universally. Mostly the default routing set in 0.0.0.0 means all.
a warrior never quits