cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in route add

SOLVED
Go to solution
HP UX Admin
Advisor

Doubt in route add

Can anybody explain how the 'rout add 'command works?

The situation where i need to add client of different network in DP cll server.

where i need to execute the route add command?
In cell server or client?
#route add net .......> which network addres i need to give
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Doubt in route add

Shalom,

route adds a path from current network to a network that can not be contacted.

an example works.

Lets say I'm in the 192.168.0 network and I need a server I admin to have a connection to a second network say 10.128.0 network.

So I'd do a route add from 192.168.0 to 10.128.0

In this case I'd want to add a route to both the DP server and the client to insure good two way communication.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
HP UX Admin
Advisor

Re: Doubt in route add

Hi,

Pls share me the command for adding the route according to the network you have mentioned.
P Muralidhar Kini
Honored Contributor
Solution

Re: Doubt in route add

Hi,

>> share me the command for adding the route
Refer the following links -

* Steps to create/configure Route
http://www.cyberciti.biz/tips/hp-ux-how-do-i-configure-routing-or-add-route.html

* Other discussion on similar requirement -
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1273735040180+28353475&threadId=1426154
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1274895083334+28353475&threadId=1282616

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
HP UX Admin
Advisor

Re: Doubt in route add

It's a very nice doc,now i understood the command.
Pls clear me if i am wrong.
From the source server,
#route add net (network of the destination IP)netmask(netmask of the dest IP) routerIP of the dest network

network of the destination IP >>>> will get in netstat -in output of dest server

How will i get the router IP of the destination network
Steven Schweda
Honored Contributor

Re: Doubt in route add

> How will i get the router IP of the
> destination network

My psychic powers are too weak to tell me
which systems in your network are gateways,
or what their IP addresses are. Many things
are possible, depending on the details of
your network configuration. Have you
revealed any information about your network?
I see none. Who is connected to whom, how?
What are the IP addresses? Any useful
information at all?