- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- want to add destination & gateway
Operating System - HP-UX
1755637
Members
3155
Online
108837
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
Discussions
Discussions
Forums
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
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
тАО12-04-2004 06:32 PM
тАО12-04-2004 06:32 PM
I want to add destination & gateway. the file is netconf. but how to add this entry inthe file.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2004 07:01 PM
тАО12-04-2004 07:01 PM
Solution
Hi Jack,
Add them like this.
ROUTE_DESTINATION[x]="192.168.10.0"
ROUTE_GATEWAY[x]="192.166.10.1"
ROUTE_COUNT[x]="1"
ROUTE_MASK[x]="255.255.255.0"
Where 'x' is the index. Look at other "ROUTE" entries in the file and use the next number.
ROUTE_DESTINATION is either a network or a host. The example I gave is network. ROUTE_COUNT is the number of the hops system has to make to reach the gateway. If the gateway is nothing but another interface on the system, it is 0. If it is directly reachable (on the same subnet) then it's 1 and so on.
ROUTE_MASK - get it from your network folks. With an appropriate netmask, you can cover multiple networks in the same route. Make sure your gateway supports it.
-Sri
Add them like this.
ROUTE_DESTINATION[x]="192.168.10.0"
ROUTE_GATEWAY[x]="192.166.10.1"
ROUTE_COUNT[x]="1"
ROUTE_MASK[x]="255.255.255.0"
Where 'x' is the index. Look at other "ROUTE" entries in the file and use the next number.
ROUTE_DESTINATION is either a network or a host. The example I gave is network. ROUTE_COUNT is the number of the hops system has to make to reach the gateway. If the gateway is nothing but another interface on the system, it is 0. If it is directly reachable (on the same subnet) then it's 1 and so on.
ROUTE_MASK - get it from your network folks. With an appropriate netmask, you can cover multiple networks in the same route. Make sure your gateway supports it.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2004 07:18 PM
тАО12-04-2004 07:18 PM
Re: want to add destination & gateway
For example:
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="128.1.0.1"
ROUTE_COUNT[0]=""
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="net 192.1.1"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="128.1.0.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
GATED=0
ROUTE_DESTINATION may be "default" for default route, "net" for an entire net routing, or "host" for a specific host.
ROUTE_COUNT may be 1 if the route requires hops accross one or more gateways, and 0 for hosts on your local network.
Stf ;-)
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="128.1.0.1"
ROUTE_COUNT[0]=""
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="net 192.1.1"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="128.1.0.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
GATED=0
ROUTE_DESTINATION may be "default" for default route, "net" for an entire net routing, or "host" for a specific host.
ROUTE_COUNT may be 1 if the route requires hops accross one or more gateways, and 0 for hosts on your local network.
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2004 07:20 PM
тАО12-04-2004 07:20 PM
Re: want to add destination & gateway
Thanks for prompt reply.
The query closed.
Thanks again
Regards
Jack
The query closed.
Thanks again
Regards
Jack
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP