Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C-Class Subnetting

Status
Not open for further replies.

3in2te1n

Technical User
Nov 27, 2001
11
DE
I tried to assign 255.255.255.248 Netmask on my HP-UX11 Machine. But it´s not functional. I get the following Error message:
lan0 interface: ifconfig: ioctl (SIOCSIFNETMASK): bad value

Any ideas?
 
The IP-Range is 192.168.1.0 - 7. Host-Address is 192.168.1.4
I´d read that ndd perhaps fix this problem. But I also readed that ndd includes a security problem.

Are there any other solutions?

Thanks in advance!

Carsten
 
Hi,

I've not been involved in many problems on HP-UX regarding subnets, however my thoughts are that when you subnet, you lose two address ranges, the first and the last. You are trying to use the first which is not valid.
Below is the subnet table for you, try using one of the other subnet ranges and see if you get the same error.

Clare

List of networks for the 192.168.1.0 network with the subnet mask 255.255.255.248
Network Hosts from to Broadcast Address
192.168.1.0 192.168.1.1 192.168.1.6 192.168.1.7
192.168.1.8 192.168.1.9 192.168.1.14 192.168.1.15
192.168.1.16 192.168.1.17 192.168.1.22 192.168.1.23
192.168.1.24 192.168.1.25 192.168.1.30 192.168.1.31
192.168.1.32 192.168.1.33 192.168.1.38 192.168.1.39
192.168.1.40 192.168.1.41 192.168.1.46 192.168.1.47
192.168.1.48 192.168.1.49 192.168.1.54 192.168.1.55
192.168.1.56 192.168.1.57 192.168.1.62 192.168.1.63
192.168.1.64 192.168.1.65 192.168.1.70 192.168.1.71
192.168.1.72 192.168.1.73 192.168.1.78 192.168.1.79
192.168.1.80 192.168.1.81 192.168.1.86 192.168.1.87
192.168.1.88 192.168.1.89 192.168.1.94 192.168.1.95
192.168.1.96 192.168.1.97 192.168.1.102 192.168.1.103
192.168.1.104 192.168.1.105 192.168.1.110 192.168.1.111
192.168.1.112 192.168.1.113 192.168.1.118 192.168.1.119
192.168.1.120 192.168.1.121 192.168.1.126 192.168.1.127
192.168.1.128 192.168.1.129 192.168.1.134 192.168.1.135
192.168.1.136 192.168.1.137 192.168.1.142 192.168.1.143
192.168.1.144 192.168.1.145 192.168.1.150 192.168.1.151
192.168.1.152 192.168.1.153 192.168.1.158 192.168.1.159
192.168.1.160 192.168.1.161 192.168.1.166 192.168.1.167
192.168.1.168 192.168.1.169 192.168.1.174 192.168.1.175
192.168.1.176 192.168.1.177 192.168.1.182 192.168.1.183
192.168.1.184 192.168.1.185 192.168.1.190 192.168.1.191
192.168.1.192 192.168.1.193 192.168.1.198 192.168.1.199
192.168.1.200 192.168.1.201 192.168.1.206 192.168.1.207
192.168.1.208 192.168.1.209 192.168.1.214 192.168.1.215
192.168.1.216 192.168.1.217 192.168.1.222 192.168.1.223
192.168.1.224 192.168.1.225 192.168.1.230 192.168.1.231
192.168.1.232 192.168.1.233 192.168.1.238 192.168.1.239
192.168.1.240 192.168.1.241 192.168.1.246 192.168.1.247
192.168.1.248 192.168.1.249 192.168.1.254 192.168.1.255
 
Thanks a lot!!! That was it. The last range is also invalid.
But why? Isn´t it wastefulness?

Carsten
 
I think this is just HP-UX. ;-) Other Unix-/Linux-Systems don´t have problems with these configuration.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top