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
03-19-2002 05:21 AM
03-19-2002 05:21 AM
I have another question... If I change the gateway on a HP-UX 10.20 box, do I have to reboot the system?? Cause I've the gateway on my boxes and since that, it seems that all the IP packets are taking the older gateway... Is this because HP-UX keep a routing tables of all the route it takes or something like that???
How can I solve my problem???
Thanks Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 05:23 AM
03-19-2002 05:23 AM
Re: Gateway
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 05:25 AM
03-19-2002 05:25 AM
Re: Gateway
Try "route delete" command to delete all entries about your old gateway. Then route add to add the new gateway.
See man route.
You don't need to reboot the system.
Regards.
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:08 AM
03-19-2002 08:08 AM
Re: Gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:15 AM
03-19-2002 08:15 AM
Re: Gateway
# netstat -rn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:15 AM
03-19-2002 08:15 AM
Re: Gateway
or
# netstat -rn
Will show you your routing table entries. The only difference between the 2 commands is the -rn option will show all entries as IP addresses(n = numeric), whereas the -r option alone will attempt to resolve IP addresses to hostnames and will show hostnames if possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:23 AM
03-19-2002 08:23 AM
Re: Gateway
default
the ip address is my old gateway... do I change it with the route add/delete commands???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:30 AM
03-19-2002 08:30 AM
Re: Gateway
One thing not mentioned yet. If you change routes "on the fly" (which is perfectly fine), you will lose them when the system is rebooted unless you modify /etc/rc.config.d/netconf.
In netconf, you should have something like the following for your default gateway / route:
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=xxx.xxx.xxx.xxx
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Substitute your default gateway IP address for xxx.xxx.xxx.xxx
Also, be careful what you name backup netconf files. Most are skipped when booting but some could be executed (based on their name). I think it best to put backup copies of netconf in another directory. The same goes for any files in /etc/rc.config.d that you make a backup of.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 09:04 AM
03-19-2002 09:04 AM
Re: Gateway
netstat -nr
will give the current binding of the default gateway .
you can
route delete
route add < the new gateway >
You dont have to reboot or even restart network services.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 10:24 AM
03-19-2002 10:24 AM
Re: Gateway
Yes, You can change GATEWAY on your HP-UX system without rebooting it.
Please follow the procedure below for that.
1. edit /etc/rc.config.d/netconf file and put the required value for your new gateway in it. Remove the old gateway if you do not require it.
2. simply run following commands.
/sbin/init.d/net stop
/sbin/init.d/net start.
3. Now you can check your new gateway/route using following command
netstat -rn
Now you are all set and new gateway is now on use.
Thanks,
-Piyush.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 04:31 PM
03-19-2002 04:31 PM
Re: Gateway
Hope your problem must be resolved by this time.
Please assign points to all participants...:)...
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 04:40 AM
03-20-2002 04:40 AM
Re: Gateway
I did a route delete/add on the default entry and then a net stop/start... everything's fine now...
ciao!!
P.S. to pap: I never forget to assign point to the repliers, it's just that i'm in a rush these days... And remember the essence of the forum, it's to share knowledge with other and not to get points... ;)