- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux routes
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
05-28-2002 04:46 PM
05-28-2002 04:46 PM
thanks heaps :)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 04:53 PM
05-28-2002 04:53 PM
Re: hpux routes
See the man pages for 'route' (1M).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 05:51 PM
05-28-2002 05:51 PM
SolutionThere are are a number of examples but here is
two of the more common.
Adding a default route:
default route to router ip and number of hops
# route add default 10.20.30.10 1
Adding a route from your second lan card to a
different router
# route add 10.20.30.40 10.30.30.10 1
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 05:52 PM
05-28-2002 05:52 PM
Re: hpux routes
# route add net 150.150.0.0 123.1.1.1 1
This example shows how to add a route way to destination netwrork 150.0.0 via a gateway 123.1.1.1 1 at the end of the line means the gateway is remote node.
# route del net 150.150.0.0 123.1.1.1
This example shows how to delete the existing entry in routing table.
See man route
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 04:52 AM
05-29-2002 04:52 AM
Re: hpux routes
Use /etc/rc.config.d/netconf to add routes at boot. There is documentation in the script but here's an example:
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=192.192.101.21
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="net 192.192.0.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=192.192.101.101
ROUTE_COUNT[1]=0
ROUTE_ARGS[1]=""
Note each "stanza" is identified by [n] where n is unique amoung the routing entries.
Darrell