1833077 Members
2849 Online
110049 Solutions
New Discussion

netmask

 
orion1
New Member

netmask

How to change the network mask to, for expample, 255.255.252.0? Server return error. But if we change mask to 255.255.255.0 everything is OK.
4 REPLIES 4

Re: netmask

hi,

There is file in
/etc/rc.config.d/netconf

you can update netmask
in that file.

Sekar.
harry d brown jr
Honored Contributor

Re: netmask


How did you attempt to change the netmask? What was the error message??

Are you making the changes using ifconfig, route, or in the /etc/rc.config.d/netconf file?

live free or die
harry
Live Free or Die
Vincent Stedema
Esteemed Contributor

Re: netmask

Hi,

Set the ndd tunable parameter ip_check_subnet_addr to 0 in your /etc/rc.config.d/nddconf file. You can also set this param at runtime with 'ndd -set /dev/ip ip_check_subnet_addr 0'.

My guess is that you're trying to use a network mask which has less mask bits than the default mask for the ip address class. In order to be able to supernet, you'll have to modify the ndd parameter.

Regards,

Vincent