Discussion:
EON: IP Netmask not persistent
Travis T
2010-08-24 00:07:40 UTC
Permalink
Andre,

Things have been going pretty smooth after all the trouble that I had getting started. Recently I noticed a problem that was probably present the whole time, but in the initial testing, both the EON server and clients were in the same subnet.

I have now moved to a different infrastructure, and the netmask for my server is defaulting to a Class B mask, even though I am telling it to use a /24. In the initial configuration, after running setup the IP address would not bind to the adapter. 'ifconfig -a' would show the adapter but the IP would be 0.0.0.0. I tried restarting to see if it would come up after a reboot, but no luck. I manually set the ip and pressed on.

The mask is correct after setting it (ffffff00), but after rebooting it reverts back to a /16 (ffff0000). I've searched and added the IP/mask to /etc/netmasks, but the change doesn't stick after a reboot (and running updimg.sh doesn't seem to help).

Any advice?

Also I haven't forgotten about the how-to I promised you. I have all of the info set aside, just haven't had the time to reformat it all into a finished product.
--
This message posted from opensolaris.org
Andre Lue
2010-08-24 14:20:06 UTC
Permalink
Hi Travist,

Would you mind listing the IP and mask you are using so I can try to recreate. I think I know what is going on.
--
This message posted from opensolaris.org
Travis T
2010-08-24 14:23:25 UTC
Permalink
172.16.1.30 /24
--
This message posted from opensolaris.org
Andre Lue
2010-08-24 17:52:20 UTC
Permalink
Hi Travist,

Apparently this fix did not make it into 0.60. Edit /mnt/eon0/.backup and change
/etc/netmasks
to
/etc/inet/netmasks

This will require running updimg.sh again.
--
This message posted from opensolaris.org
Travis T
2010-08-24 22:04:44 UTC
Permalink
Andre,

Thanks for the fix. I haven't been able to reboot yet, but after viewing the /etc/inet/netmasks file, it looks to be an empty config file - no uncommented entries.

Should I add the IP/netmask of the adapter(s) into the /etc/inet/netmasks file before running updimg.sh?
--
This message posted from opensolaris.org
Andre Lue
2010-08-24 23:08:00 UTC
Permalink
Travist,

Yes you need to re-make the /etc/inet/netmask entry (below) as the previous entry made by setup was not backed up because of the missing /etc/inet/netmask entry in .backup
172.16.0.0 255.255.255.0

then run updimg.sh
--
This message posted from opensolaris.org
Travis T
2010-08-29 00:11:36 UTC
Permalink
Andre,

That worked!
--
This message posted from opensolaris.org
Loading...