Prev: ZFS root mirror how-to
Next: The IP address previously set on the network interface is no longer available
From: Dave on 16 Dec 2009 20:48 I'm trying to configure a zone on a Sun T5240 running Solaris 10 update 6, with a view to running a Sage server (basically a web server, but for maths stuff) The T5240 has an IP address of 128.208.128.194. kirkby(a)t2:[~] $ netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------- default 128.208.128.129 UG 1 37622 128.208.128.128 128.208.128.194 U 1 7140 nxge0 224.0.0.0 128.208.128.194 U 1 0 nxge0 127.0.0.1 127.0.0.1 UH 5 996 lo0 Routing Table: IPv6 Destination/Mask Gateway Flags Ref Use If --------------------------- --------------------------- ----- --- ------- ----- fe80::/10 fe80::214:4fff:fee8:b6f6 U 1 0 nxge0 ff00::/8 fe80::214:4fff:fee8:b6f6 U 1 0 nxge0 ::1 ::1 UH 1 21 lo0 The zone configuration chosen is below. There are a couple of minor issues with this, 1) /usr/local/ is NFS mounted, which is not going to work (at least in its current config) 2) There was some warning about the cap on the processors. But neither are serious issues. What I'm more concerned about, is that when I use zlogin to the zone, and try to configure the zone, I keep getting the message: "The IP address previously set on the network interface is no longer available" I've tried sys-unconfig, but still get the same error. I don't actually get a chance to enter any IP address. The error occurs after I enter the hostname, which defaults to 'sage' which is the name of the zone I created. Given the information from netstat above, is this particular bit of the zone configuration not correct? If its incorrect, can anyone help me sort out what I should be entering? ----------------------- add net set address=192.168.1.20 set physical=nxge0 end ------------ The full configuration is below. # more sage.cfg create -b set zonepath=/zones/sage set autoboot=false set ip-type=shared add inherit-pkg-dir set dir=/lib end add inherit-pkg-dir set dir=/platform end add inherit-pkg-dir set dir=/sbin end add inherit-pkg-dir set dir=/usr end add fs set dir=/usr/local set special=/usr/local set type=lofs add options ro add options nodevices end add fs set dir=/usr/sfw set special=/usr/sfw set type=lofs add options ro add options nodevices end add net set address=192.168.1.20 set physical=nxge0 end add rctl set name=zone.cpu-shares add value (priv=privileged,limit=64,action=none) end add rctl set name=zone.max-swap add value (priv=privileged,limit=5368709120,action=deny) end add capped-memory set physical=5G end -- I respectfully request that this message is not archived by companies as unscrupulous as 'Experts Exchange' . In case you are unaware, 'Experts Exchange' take questions posted on the web and try to find idiots stupid enough to pay for the answers, which were posted freely by others. They are leeches. |