1829734 Members
2662 Online
109992 Solutions
New Discussion

routing tables

 
Suhaimi Jalal
Occasional Contributor

routing tables

how to add routing tables using SAM on HPUX11i
8 REPLIES 8
Anshumali
Esteemed Contributor

Re: routing tables

Not on system today...but open sam->go to networking and configuration->Routes...
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Deepak Kr
Respected Contributor

Re: routing tables

Hi,

Here you go:

start SAM
#sam
Select Networking and Communications
Select routes
Choose action from menu.

But I think it is easier to add routing using commands:

Use the route command to set the route and then manually edit /etc/rc.config.d/netcconf
to make it permanent.

For more info refer to man route

Regds..
Deepak

"There is always some scope for improvement"
Prashanth Waugh
Esteemed Contributor

Re: routing tables

Hi Suhaimi,

you can add using command line.
route add net networkip netmask gatway
== ====================================
you can make the entry in /etc/rc.config.d/netconf for route entry
===========================================
Then you can check the roting table using
#netstat -rn

Regards
Atul

For success, attitude is equally as important as ability
Suhaimi Jalal
Occasional Contributor

Re: routing tables

Thanks Guys

Deepak, if i want to use command line do i need to issue the route add command first and edit the /etc/rc.config.d/netconf or i just edit the config file without do the route add command.

Thanks again
Prashanth Waugh
Esteemed Contributor

Re: routing tables

Hi Suhaimi,

Why we are editing netconf bcoz for making the permanent change.if u add using command line and some day u rebooted the system then change will not effective.So can use the command line also make the entry in netconf.

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: routing tables

Hi suhaimi,

First u make it using command line
#route add net
then edit netconf
========================================
if ur adding directly in netconf it will not effective until ur server will reboot or
making it effective u should stop/start the service.its given below
#/sbin/init.d/net stop
#/sbin/init.d/net start
but the problem is that u cant do it on production system bcos u r stoping the net service for a moment.
=========================================
So best way is add first using command line it will be effective till ur server will not reboot.when ur server will reboot then you have already make a change in netconf so it will take care and the change will be effective.
Hope this explanation clear ur doubts

Best Luck
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: routing tables

Hi Suhaimi,

If u have already add the entry in netconf then u can check whether its effective or not using
#netstat -rn

Regards
Atul
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: routing tables

Hi Suhaimi,

Pls read the How many points should I assign to replies? this topic on ITRC .

Regards
Prashant
For success, attitude is equally as important as ability