Monday Jun 13, 2005

I recieved a new test machine on Friday, and being too lazy to set any particular tests running on it to burn it in I decided to just leave it running over the weekend creating as many zones as it could. Today I came in to discover that only 255 zones were created. The error message on booting the 256th was
bash-3.00# zoneadm -z rodent-z256 boot
zoneadm: zone 'rodent-z256': eri0: could not add interface: No buffer space available
zoneadm: zone 'rodent-z256': call to zoneadmd failed
Sure enough, trying to bring up another virtual interface on eri0 resulted in
bash-3.00# ifconfig eri0:256 plumb
ifconfig: plumb: SIOCLIFADDIF: eri0:256: No buffer space available
bash-3.00#
To allow more interfaces you need to tweak /dev/ip ip_addrs_per_if. E.g. ndd -set /dev/ip ip_addrs_per_if 8192 . The new value takes effect immediately. The only place I can see this mentioned in the docs is in the script to configure multiple zones, but I wasn't using that script.
Comments:

thanks for posting - saved me a long slow sift through sunsolve :-) add this to /etc/init.d/inetinit so it comes back after reboot: /usr/sbin/ndd -set /dev/ip ip_addrs_per_if 8192 threeta

Posted by dunc on July 30, 2007 at 01:53 AM GMT+00:00 #

Thanks albert, that was some useful info.. i was breaking my head over why the agent simulator tool was not creating the virtual IPs.

Posted by Sanath on July 22, 2008 at 07:28 AM GMT+00:00 #

Post a Comment:
  • HTML Syntax: NOT allowed