-
megaTherionI see
-
megaTherionbecause usually zoned datasets are not mounted in the global zone
-
megaTherionWith zadm, can I add more than one allowed-address?
-
megaTherionStill wondering how I can give a branded zone more than one IP, like for example an IPv4 and IPv6? Can I use allowed-address multiple times?
-
m1arihow it works might depend on the brand of zone (and in the case of lx zones the distribution used)
-
m1ariaiui for an exclusive-network zone (when you'd use allowed-address) that configuration is just to tell the GZ what addresses are allowed out of that zone (so it could be a subnet or just left blank)
-
m1ariyou configure the interfaces yourself inside the zone, however the brand configure/boot scripts might auto-configure the interfaces based on things like the allowed-address property
-
rmustaccThe allowed-addresses description in the zonecfg(8) manual page says if you want multiple addresses, use add net multiple times.
-
megaTherionI see, but what is if I need more than one subnet?
-
megaTherioncan I give more than one in allowed-address?
-
m1arithe zonecfg(8) man page that rmustacc mentioned is quite good (I looked and missed the bit about multiple addresses earlier)
-
megaTherionok then I missed it too, I'll check it again :)
-
m1aribut in summary I think it's one address, network or hostname (with some limits) per allowed-address entry, and I think one allowed-address per `add net` block.
-
m1ariThere's a large block of text under 'net: address, allowed-address, defrouter,...'
-
rmustaccAnd this is ultimately all tying into the dladm allowed-ips settings, IIRC.