- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to specify subnet mask in netconf
Operating System - HP-UX
1752646
Members
5720
Online
108788
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
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
тАО04-12-2010 04:42 AM
тАО04-12-2010 04:42 AM
How to specify subnet mask in netconf
I am editing netconf with following :
ROUTE_DESTINATION[2]=135.243.68.0
ROUTE_MASK[2]=255.255.255.224
ROUTE_GATEWAY[2]=172.29.4.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
---------------------
But when restart net daemon, it gives error:
egtmast,sys,root # /sbin/init.d/net stop
egtmast,sys,root #
egtmast,sys,root # /sbin/init.d/net start
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
netmask: bad value
egtmast,sys,root #
----------------------------
I must delete subnet mask not to get error:
ROUTE_DESTINATION[2]=135.243.68.0
ROUTE_MASK[2]=""
ROUTE_GATEWAY[2]=172.29.4.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
--------------------------
So , how will system suppose subnet mask is 255.255.255.224 ?. How can i specify subnetmask in netconf?
ROUTE_DESTINATION[2]=135.243.68.0
ROUTE_MASK[2]=255.255.255.224
ROUTE_GATEWAY[2]=172.29.4.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
---------------------
But when restart net daemon, it gives error:
egtmast,sys,root # /sbin/init.d/net stop
egtmast,sys,root #
egtmast,sys,root # /sbin/init.d/net start
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
netmask: bad value
egtmast,sys,root #
----------------------------
I must delete subnet mask not to get error:
ROUTE_DESTINATION[2]=135.243.68.0
ROUTE_MASK[2]=""
ROUTE_GATEWAY[2]=172.29.4.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
--------------------------
So , how will system suppose subnet mask is 255.255.255.224 ?. How can i specify subnetmask in netconf?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 01:59 AM
тАО04-13-2010 01:59 AM
Re: How to specify subnet mask in netconf
You need not mention the netmask as it is optional.
Without mentioning the netmask, Please start the network and paste the output of netstat -in and netstat -rn.
Without mentioning the netmask, Please start the network and paste the output of netstat -in and netstat -rn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 02:06 AM
тАО04-13-2010 02:06 AM
Re: How to specify subnet mask in netconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 02:21 AM
тАО04-13-2010 02:21 AM
Re: How to specify subnet mask in netconf
That's right!
I want IPs between 135.243.68.0 and 135.243.68.31 ping my server.
But If I define as below:
ROUTE_DESTINATION[2]=135.243.68.0
ROUTE_MASK[2]=""
ROUTE_GATEWAY[2]=172.29.4.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
--------------------------
I think range 135.243.68.0-255 will ping my server wtih this configuration. So is there a way to fix this even if after reboot?
I want IPs between 135.243.68.0 and 135.243.68.31 ping my server.
But If I define as below:
ROUTE_DESTINATION[2]=135.243.68.0
ROUTE_MASK[2]=""
ROUTE_GATEWAY[2]=172.29.4.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""
--------------------------
I think range 135.243.68.0-255 will ping my server wtih this configuration. So is there a way to fix this even if after reboot?
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