- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to set netmask for monitored_subnet
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
Discussions
Discussions
Forums
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
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
тАО10-30-2008 06:03 AM
тАО10-30-2008 06:03 AM
How to set netmask for monitored_subnet
ip_subnet 192.10.25.0 # (netmask=255.255.255.0)
Would it be correct to do it this way:
ip_subnet 192.168.24.234 # (netmask=255.255.255.224)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2008 08:27 AM
тАО10-31-2008 08:27 AM
Re: How to set netmask for monitored_subnet
The other cases are a little more complex. Usually, I revert to binary masking. Lets say you only want 6bits or 64 addresses on a subnet. That would correspond to
11111111.11111111.11111111.11000000 or
255.255.255.192
in that case the ip address of 192.168.24.234 we only need to worry about the "234" portion. The binary for that is 11101010.
So the mask is the binary "AND" of that with 11000000, which is 192. So the IP subnet is
192.168.24.192
If you are familiar with binary locical functions, this is easy. If not, it can be confusing and you'll need to find more.
One other example to help.
192.168.24.170 would have an ip subnet of 192.168.24.128 if the mask is 255.255.255.192.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2008 11:03 PM
тАО11-02-2008 11:03 PM
Re: How to set netmask for monitored_subnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 06:11 AM
тАО11-04-2008 06:11 AM
Re: How to set netmask for monitored_subnet
Your interest would have to be done from the customer_defined_run_cmds (legacy package) or "external_pre_script" (modular package) via an ifconfig command, and in the customer_defined_halt_cmds (or "external_pre_script") to strip the relocatable IP/altered netmask off the NIC
Be advised that HP does not support this technique. Use at your own risk.
If you have access to the Knowledge documents, see "Assigning a different subnet mask with a relocatable IP" (ID: emr_na-c00937223-3)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 12:53 AM
тАО01-16-2009 12:53 AM