I'll try to help you to use OpenSolaris without the headache ! I am an ex Sun Microsystems and please don't hesitate to contact me for any matter having a link with OpenSolaris... No stupid questions... It is a very nice OS ! Don't miss it !

Wednesday, February 25, 2009

WARNING: no matching subnet found in netmasks(4); using default of xxx.xxx.xxx.xxx

The problem :

root@catalogne:~# za -z identity_manager_80 boot
zone 'identity_manager_80': WARNING: e1000g0:2: no matching subnet found in netmasks(4) for 192.168.1.51; using default of 255.255.255.0.

The documentation :

netmasks Warning Displayed When Booting Zone

The solution :
  • become root
rudy@catalogne:~$ su -
Password:
Sun Microsystems Inc. SunOS 5.11 snv_101b November 2008

  • stop the zone if necessary
root@catalogne:/etc/inet# za -z identity_manager_80 halt
  • backup /etc/inet/netmasks
root@catalogne:~# cd /etc/inet
root@catalogne:/etc/inet# cp netmasks netmasks.orig
  • add a "netmask" at the end of /etc/inet/netmasks
root@catalogne:/etc/inet# vi netmasksadd a netmask at the end of the file
192.168.1.0 255.255.255.0
  • start the zone
the warning has disappeared !

root@catalogne:/etc/inet# za -z identity_manager_80 boot
root@catalogne:/etc/inet#

-Rudy-

1 comment:

  1. Can anyone recommend the robust Network Management program for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central asset management
    ? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

    ReplyDelete