HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding a route hpux 11V3
Operating System - HP-UX
1832984
Members
2968
Online
110048
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
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
08-06-2009 04:38 PM
08-06-2009 04:38 PM
Adding a route hpux 11V3
Hi
I have have two rx6600 running hpux 11v3 in different sites.
Server 1 have the following information
IPaddress 172.16.188.23
netmask 255.255.252.0
gateway 172.16.188.2
The Server2 (alternate site) have the following information
IPaddresss 172.16.180.90
netmask 255.255.252.0
Gateway 172.16.180.2
Question
>How will I do to get access to the machine Server2 (172.16.180.90) from the Server1
Manually will be in this way?
route add net 172.16.180.0 netmask 255.255.252.0 172.16.188.2 1
>How will I do to get access to the machine Server1 (172.16.188.23) from the Server2
Manually will be in this way?
route add net 172.16.188.0 netmask 255.255.252.0 172.16.180.2 1
In the /etc/rc.config.d/netconf file if there are other routes configured , how will be my entry in this file?
# vi /etc/rc.config.d/netconf
in the Server1
ROUTE_DESTINATION[1]="172.16.180.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="172.16.188.2"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
I am little confuse.
Regards
I have have two rx6600 running hpux 11v3 in different sites.
Server 1 have the following information
IPaddress 172.16.188.23
netmask 255.255.252.0
gateway 172.16.188.2
The Server2 (alternate site) have the following information
IPaddresss 172.16.180.90
netmask 255.255.252.0
Gateway 172.16.180.2
Question
>How will I do to get access to the machine Server2 (172.16.180.90) from the Server1
Manually will be in this way?
route add net 172.16.180.0 netmask 255.255.252.0 172.16.188.2 1
>How will I do to get access to the machine Server1 (172.16.188.23) from the Server2
Manually will be in this way?
route add net 172.16.188.0 netmask 255.255.252.0 172.16.180.2 1
In the /etc/rc.config.d/netconf file if there are other routes configured , how will be my entry in this file?
# vi /etc/rc.config.d/netconf
in the Server1
ROUTE_DESTINATION[1]="172.16.180.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="172.16.188.2"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
I am little confuse.
Regards
rperez
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2009 07:19 PM
08-06-2009 07:19 PM
Re: Adding a route hpux 11V3
Looks ok to me, except:
> ROUTE_MASK[1]=""
Wouldn't that be a good place to specify the
"255.255.252.0" netmask?
I'm too lazy to start up an HP-UX system to
look, but I'd assume that some start-up
script reads "/etc/rc.config.d/netconf", and
then inserts its "ROUTE_*[n]" parameters into
one or more "route add" commands. I'd also
expect that the "netmask 255.255.252.0" part
of those commands must come from somewhere.
If you can find out where all this happens,
then you should be able to see who does what,
and what goes where to make it happen.
Or, you could just trust my guess. Or, you
could wait for advice from someone who knows
something. (I'd look at the start-up
scripts.)
> ROUTE_MASK[1]=""
Wouldn't that be a good place to specify the
"255.255.252.0" netmask?
I'm too lazy to start up an HP-UX system to
look, but I'd assume that some start-up
script reads "/etc/rc.config.d/netconf", and
then inserts its "ROUTE_*[n]" parameters into
one or more "route add" commands. I'd also
expect that the "netmask 255.255.252.0" part
of those commands must come from somewhere.
If you can find out where all this happens,
then you should be able to see who does what,
and what goes where to make it happen.
Or, you could just trust my guess. Or, you
could wait for advice from someone who knows
something. (I'd look at the start-up
scripts.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2009 08:24 PM
08-06-2009 08:24 PM
Re: Adding a route hpux 11V3
Hi William,
Manual route add command and netconf entries are ok. it will work.
regarding netmask field in netconf file, This is an optional field. A IP address, subnet mask pair uniquely identifies a subnet to be reached. If a subnet mask is not given, then the system will assign the longest subnet mask of the configured network interfaces to this route. If there is no matching subnet mask, then the system will assign the default network mask as the route's subnet mask.
Manual route add command and netconf entries are ok. it will work.
regarding netmask field in netconf file, This is an optional field. A IP address, subnet mask pair uniquely identifies a subnet to be reached. If a subnet mask is not given, then the system will assign the longest subnet mask of the configured network interfaces to this route. If there is no matching subnet mask, then the system will assign the default network mask as the route's subnet mask.
Best wishes,
Ganesh.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2009 08:50 PM
08-06-2009 08:50 PM
Re: Adding a route hpux 11V3
Change the ROUTE_DESTINATION and ROUTE_MASK:
ROUTE_DESTINATION[1]="net 172.16.180.0"
ROUTE_GATEWAY[1]=172.16.188.2
ROUTE_COUNT[1]=1
ROUTE_MASK[1]=255.255.252.0
ROUTE_ARGS[1]=
Easy way of change the network routes settings is using of smh or sam text user interface. For example, for smh you must try next steps:
SMH-> Networking and Communications-> Network Services Configuration-> Routes
ROUTE_DESTINATION[1]="net 172.16.180.0"
ROUTE_GATEWAY[1]=172.16.188.2
ROUTE_COUNT[1]=1
ROUTE_MASK[1]=255.255.252.0
ROUTE_ARGS[1]=
Easy way of change the network routes settings is using of smh or sam text user interface. For example, for smh you must try next steps:
SMH-> Networking and Communications-> Network Services Configuration-> Routes
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