- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.00 / B180L / NetMask Issue
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
08-26-2002 05:40 AM
08-26-2002 05:40 AM
I posted this message yesterday but I must have been in the wrong forum area because I cannot find it. Anyway, here goes:
I have recenetly installed HP-UX 11.00 on a B180L with a built-in LAN adapter. I gave it the IP address of 172.16.0.101. All other nodes (W2K servers and workstations) on this network have the mask 255.255.255.0. This B180L will only function with a mask of 255.255.0.0. Hmmm, I am no networking guy but I seem to have a problem. Can anyone help me? Thanks.
Mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 05:48 AM
08-26-2002 05:48 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
You posted in Business Customer Discussion Groups:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xde026049dbb6d611abdb0090277a778c,00.html
You can access "your" questions by looking at your profile. There's a link to "his/her questions".
I'm not much of a network guy either (routing gives me a headache) so I'll leave the rest of your question to those more experienced.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 05:51 AM
08-26-2002 05:51 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
what is the setting on /etc/rc.config.d/netconf file? If you are setting with ifconfig command and not editing netconf file, then the changes will be lost on next reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 05:59 AM
08-26-2002 05:59 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Thanks for the quick response. Here is what I have attempted thus far:
(1) After the install and a couple of automatic reboots, the system asked me if I wanted to configure the network. So as I have done with MANY HP systems I did. Then upon another reboot the "LAN Configuration" FAILED. That particular method DID change everything in netconf.
(2) I also attempted to manually change netconf and reboot myself. Same result.
(3) I also upgraded the firmware on this dinosaur (hee, hee) from 5.2 to 6.1, reinstalled and the same thing happened.
(4) BYW, I searched teh forum for quite a while prior to posting this message.
Thanks.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 06:20 AM
08-26-2002 06:20 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Another thing to check is the default gateway setting. If the address for this routing is wrong for the subnet, then you lan configuration will fail.
Check this and then try changing the netmask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 06:36 AM
08-26-2002 06:36 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:02 AM
08-26-2002 07:02 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
lookt at # ifconfig lan0
output. Is it showing UP ?
If not, there is no link signal at your machine end.
~Kars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:08 AM
08-26-2002 07:08 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
lan0: flags=843
inet 172.16.0.101 netmask ffff0000 broadcast 172.16.255.255
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:10 AM
08-26-2002 07:10 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Did you check the paramters with SAM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:25 AM
08-26-2002 07:25 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Hmmmmm, now I am still confused. The workstation has a Class C address, with a Class B mask. It does function, with the exception that CDE will not start on the console. But I can use it from my PC using eXceed. (Another hmmmmm!). Also, from the workstation, I can access any other network on the planet, as long as I am not blocked.
To what parameters are you referring?
Thanks again.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:31 AM
08-26-2002 07:31 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Do you have all the patches installed on the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:39 AM
08-26-2002 07:39 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:43 AM
08-26-2002 07:43 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:57 AM
08-26-2002 07:57 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Because your address is 172.16.0.101 you will have to use 255.255.0.0. For some reason it does not like to subnet past the 0!!! If you want to prove it give 172.16.1.101/24 a whorl.
I'm sure there is a patch for this specific bug, but you could probably not do much worse than adding the latest streams & ARPA patches
PHNE_22566 & PHNE_26771
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 08:57 AM
08-26-2002 08:57 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Thanks for the information. I have applied the suggested patches and still no luck. I have searched for a patch to 'fix' teh problem but have come up empty. Any ideas.... anyone?
Thanks again.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 09:06 AM
08-26-2002 09:06 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
This is from TKB document KBRC00001356:
**************************
How To Turn off Ip Subnet Checking
DocId: KBRC00001356 Updated: 4/6/00 3:09:38 PM
PROBLEM
When using ip schemes that do not conform to RFC-1122 there is a variable that can be changed which disables the checking for conformance to the RFC.
RESOLUTION
Issue the following command:
ndd -h unsupported |more
The Variable ip_check_subnet_addr - Controls the subnet portion of a host
address
To bypass RFC-1122 address checking, set the ip_check_subnet_addr
variable to zero. To make this a permanent setting, include this
setting in the /etc/rc.config.d/nddconf file.
Summary:
The following output is what is seen if you are checking subnets:
# ndd -get /dev/ip ip_check_subnet_addr 1
Set value
ndd -set /dev/ip ip_check_subnet_addr 0
Now reread the netconf and nddconf files:
/sbin/init.d/net start
To make this permanent edit /etc/rc.config.d/nddconf and add a set
of lines:
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0
On Hp-ux 10.20
With HP-UX 10.20 use the nettune command to make this change
/usr/contrib/bin/nettune -s ip_check_subnet_addr 0
To make the change permanent:
1. Create a text file called nettune_script with the following line:
nettune -s ip_check_subnet_addr 0
2. mv nettune_script /sbin/init.d
3. chmod 555 /sbin/init.d/nettune_script
4. chgrp bin /sbin/init.d/nettune_script
5. chown bin /sbin/init.d/nettune_script
6. cd /sbin/rc2.d
7. ln -s /sbin/init.d/nettune_script /sbin/rc2.d/S006subnet
*************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 09:45 AM
08-26-2002 09:45 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
If you have an address of 172.16.0.101, then your in a B-class network. Similarly 172.0.0.101 would put you into an A-Class network. Hence, in your case you have to use a B-Class subnet.
If you want to subnet a class-C network, you have to use a valid routable class-C network address range.
In M$ world, netmasks are invalid, as broadcast addresses are all over the map no matter what is done. All Unices I know of follow the real implementation of TCP/IP, not the hacked M$ version.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 09:45 AM
08-26-2002 09:45 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
Patrick Walleck has the correct answer. A strict interpretation of the original RFC means that you can not use the first and last subnet so that's why it does not like 172.16.0.101. If you do the change he suggested it will work.
As for why it works with the wrong mask: Your router is helping by doing something called proxy arp. Normally if the box wanted to talk to 172.16.1.1 and had a class C mask then it would know that it could not talk directly to that IP address and would send it to the gateway router for it to take care of. With the wrong mask it thinks it has a local connection so it just does an ARP to find the MAC of the device. If there is a router and it knows how to get to the subnet in question it will answer with its own MAC and then forward it on normally. Note that the wrong mask is only a problem when it wants to talk to another 172.16.x subnet. For any other network it would know to go through the router. It will, however, fail to respond to a directed broadcast (172.16.0.255) since it will think that its directed braodcast address is 172.16.255.255)
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 03:43 PM
08-26-2002 03:43 PM
Re: HP-UX 11.00 / B180L / NetMask Issue
I appreciate the responses, but......
OK, I have two networks. One is 192.168.0 (DMZ) and the internal is 172.16.0. I have HP-UX 11.0 systems in the DMZ with subnets of 255.255.255.0 and there is ABSOLUTELY NO problem.
Also I inserted the three lines into the nddconf file, rebooted and this DID change
the ip_check_subnet_addr to zero. I then attempted to change the subnet via set_parms and got the same failure.
If what you say is true about not being able to use the first and last subnet, why do my HP-UX 11.0 nodes work to perfection on the 192.168.0 network????
I repeat that I am not a networking expert so please do not be offended if I say something stupid. :>)
Thanks again.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 07:27 PM
08-26-2002 07:27 PM
Solution192.168.0. is a single Class C and is not considered a subnet so is legal. This nonsense is one of the reason they did away with classes. It's strange that HP starting enforcing this with 11.0 just when it went out of style.
Cisco routers have had a command
ip subnet-zero
which told them to allow exceptions to the rule as long as I can remember. Several years ago they started making this the default which makes more sense.
If you don't mind rebooting why not set the mask in /etc/rc.config.d/netconf and then reboot?
IP_ADDRESS[0]=172.16.0.101
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=172.16.0.255
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 03:15 AM
08-27-2002 03:15 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
BINGO!
# ifconfig lan0
lan0: flags=843
inet 172.16.0.101 netmask ffffff00 broadcast 172.16.0.255
I spoke with a CISCO buddy of mine last night and he explained the class 'thing' the same way you have. I still do not understand why set_parms did not work but at this point I do not care. Actually I was going to try modifying netconf as a last effort already.
I really appreciate all of your responses. Thanks again.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 10:42 AM
08-27-2002 10:42 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 10:44 AM
08-27-2002 10:44 AM
Re: HP-UX 11.00 / B180L / NetMask Issue
The steps I took were:
(1) Modify nddconf
(2) Reboot
(3) Modify netconf
(4) Reboot
All is well!
Thanks again.
Mark