Go Vegetarian

Go Vegetarian

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-

No comments: