- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can you change the default route without a reb...
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
06-10-2002 04:28 AM
06-10-2002 04:28 AM
Server: L2000 HP-UX 11.0
Can you change the default route without a reboot? Is there another way other than updating the '/etc/rc.config.d/netconf' file
and then rebooting the server?
(10 points to any good answer).
Thank you Gino.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 04:32 AM
06-10-2002 04:32 AM
Re: Can you change the default route without a reboot?
You can also check this link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x234fa22831ebd5118ff40090279cd0f9,00.html
Search string was:
"route add" +default
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 04:35 AM
06-10-2002 04:35 AM
Re: Can you change the default route without a reboot?
This could end up terminating some client connections if your not careful (including your own connection if you are on a different subnet). Its a good idea to do this change at a quiet time, and to issue the command all in one go as in:
route add default
This will add the new gateway before deleting the old one.
Don't forget to make the changes in netconf anyway.
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 04:36 AM
06-10-2002 04:36 AM
Re: Can you change the default route without a reboot?
route delete
route add
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
141.123.226.41 141.123.226.41 UH 0 lan0 4136
141.123.224.0 141.123.226.41 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 141.123.224.1 UG 0 lan0 0
# route delete default 141.123.224.1
delete net default: gateway 141.123.224.1
# route add default 141.123.224.1 1
add net default: gateway 141.123.224.1
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
141.123.226.41 141.123.226.41 UH 0 lan0 4136
141.123.224.0 141.123.226.41 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 141.123.224.1 UG 0 lan0 0
#
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 04:42 AM
06-10-2002 04:42 AM
Re: Can you change the default route without a reboot?
#route delete net default
Here the last column is that is the gateway is a local machine then it is 0.If the gateway is a remote machine then it is 1.
default is 0.
Thanks
G Manikandan