HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- point to a machine
Operating System - HP-UX
1836364
Members
2130
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-11-2005 06:17 AM
01-11-2005 06:17 AM
Hi,
Can anyone tell how to point HP UX box to another machine. I want to point it to two gaateways. I have two ip addresses.
Can anyone tell how to point HP UX box to another machine. I want to point it to two gaateways. I have two ip addresses.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 06:28 AM
01-11-2005 06:28 AM
Solution
Hi Chang,
you can have multiple entries for route in your /etc/rc.config.d/netconf file. Though there can be only one default route. you can add /delete route manually on the fly using the route add / delete command. Do "man route" for more options.
your current route entry in the netconfig file may look like this,
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]="255.255.255.0"
ROUTE_GATEWAY[0]=your_def_gw_ip
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
to add another route,
ROUTE_DESTINATION[1]="net 2nd_subnet"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]=your_2nd_gw_ip
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
Remember any changed to netconf will become effective after a reboot. To make the changes on the fly, use the route add command.
Hope this helps.
Regds
you can have multiple entries for route in your /etc/rc.config.d/netconf file. Though there can be only one default route. you can add /delete route manually on the fly using the route add / delete command. Do "man route" for more options.
your current route entry in the netconfig file may look like this,
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]="255.255.255.0"
ROUTE_GATEWAY[0]=your_def_gw_ip
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
to add another route,
ROUTE_DESTINATION[1]="net 2nd_subnet"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]=your_2nd_gw_ip
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
Remember any changed to netconf will become effective after a reboot. To make the changes on the fly, use the route add command.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 04:53 AM
01-17-2005 04:53 AM
Re: point to a machine
Hi Sanjay,
Thanks for replies. If I have the gateway ip address and if I have to reach outside network, does it mean I have to specify likethis?
/usr/bin/sroute add 1
Or should I put the network address instead of outside_ip_address where the gateway is? If so, how can I know the network address of gateway
Thanks for replies. If I have the gateway ip address and if I have to reach outside network, does it mean I have to specify likethis?
/usr/bin/sroute add
Or should I put the network address instead of outside_ip_address where the gateway is? If so, how can I know the network address of gateway
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP