- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Defaut Gateway
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 11:48 PM
09-04-2001 11:48 PM
Defaut Gateway
I have a problem with Default Gateway in my server.
I have used the command 'route' for add the gateway, but in this away I must every morning to do this.
How and Where I can write the Gateway in definitive way?
Thanks
Paolo Paparella
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 11:56 PM
09-04-2001 11:56 PM
Re: Defaut Gateway
You don't to add it everyday. You can define it in your /etc/rc.config.d/netconf file like below.
ROUTE_DESTINATION[i]="default"
ROUTE_GATEWAY[i="aa.xx.yy.zz"
ROUTE_COUNT[i="1"
Where i is your default lan interface usually "0".
You can do a /sbin/init.d/net stop and /sbin/init.d/net start to activate.
For subsequent reboots, the system will add the gateway for you.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 11:58 PM
09-04-2001 11:58 PM
Re: Defaut Gateway
set_parms addl_network to add the default gateway.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 12:45 AM
09-05-2001 12:45 AM
Re: Defaut Gateway
There are different ways to set default gateway. I hope set_parms is the safest way to do this.
#set_parms addl_netwrk
Now it will ask for default gateway, gateway hostname and subnet address. Set it properly. Then go to /etc/rc.config.d directory. Checkup the default gateway entry is changed to the new one which U given in netconf file.
Another way is run sam->networking and communication->network addresses->action. Here U can see the option for changing th default gateway.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 05:51 AM
09-05-2001 05:51 AM
Re: Defaut Gateway
Have a look at these earliar threads from the forun itself.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x22845220af9bd5118ff10090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xae765220af9bd5118ff10090279cd0f9,00.html
Hope this helps
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 06:35 AM
09-05-2001 06:35 AM
Re: Defaut Gateway
you can do this in 2 ways. make the entry in /etc/rc.config.d/netconf file for the parameters ROUTE_GATEWAY[0]="x.x.x.x"
ROUTE_COUNT[0]="1"
x.x.x.x is your default gateway and reboot the machine.
Or you can also do it by command
#set_parms addl_netwrk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 07:12 AM
09-05-2001 07:12 AM
Re: Defaut Gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 12:55 PM
09-05-2001 12:55 PM
Re: Defaut Gateway
surest bet is to edit the netconf file as mentioned above, where [#] #=the card that is enabled