- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to change default router on HP-UX 11.11?
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
Discussions
Discussions
Forums
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
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
тАО11-04-2003 04:24 AM
тАО11-04-2003 04:24 AM
How to change default router on HP-UX 11.11?
Can someone please tell me how to change the default router on an HP-UX 11.11 machine ?? I changed the IP address of the machine fron one net to other, so I need to point the machine to a different default router.
Thanks,
Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 04:27 AM
тАО11-04-2003 04:27 AM
Re: How to change default router on HP-UX 11.11?
You need to delete the old and add the new with the route command (man route), then edit the information in /etc/rc.config.d/netconf to make the change permanent (you could also change netconf and reboot).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 04:28 AM
тАО11-04-2003 04:28 AM
Re: How to change default router on HP-UX 11.11?
/sbin/set_parms ip_address
/sbin/set_parms addl_netwrk
This command will make the appropriate changes in the bootup config files for you.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 04:31 AM
тАО11-04-2003 04:31 AM
Re: How to change default router on HP-UX 11.11?
Note that this will automatically reboot the system, so schedule your time accordingly.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 08:30 AM
тАО11-04-2003 08:30 AM
Re: How to change default router on HP-UX 11.11?
route add default
then change your default route entry in /etc/rc.config.d/netconf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 12:57 AM
тАО11-05-2003 12:57 AM
Re: How to change default router on HP-UX 11.11?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 01:07 AM
тАО11-05-2003 01:07 AM
Re: How to change default router on HP-UX 11.11?
netstat -nr | grep default will give you the default route. To do it on the fly :
route delete < IP ADRSS>
route add < IP ADRESS>
you may like to look at this document too :
http://www2.itrc.hp.com/service/cki/docDisplay.do?docId=200000049791567
Also to make the change permanent you need to edit /etc/rc.config.d/netconf file to make the change permanent .
Manoj Srivastava