[OmniOS-discuss] LX zones: configurations

Jim Klimov jimklimov at cos.ru
Wed Jan 11 23:41:06 UTC 2017


12 января 2017 г. 0:13:39 CET, Mini Trader <miniflowtrader at gmail.com> пишет:
>Is it possible for me to add inputs into the interface config for my
>adapters.
>
>I use a utility to restrict uplink speed called wondershaper.
>
>Normally my /etc/network/interfaces has something like:
>
>up /sbin/wondershaper eth0 X Y
>
>Would like to do the same if possible in the zone config.
>
>On Wed, Jan 11, 2017 at 1:56 PM Dan McDonald <danmcd at omniti.com> wrote:
>
>>
>>
>> > On Jan 11, 2017, at 5:04 AM, Andy Fiddaman <omnios at citrus-it.net>
>wrote:
>>
>> >
>>
>> > Will we still be able to to configure the networking under zonecfg?
>>
>>
>>
>> Yes.
>>
>>
>>
>> > Basically what I'm asking is can we stop our zones from being able
>to
>> change
>>
>> > their IP address?
>>
>>
>>
>> That's a different question, and the answer is going to be no going
>> forward, as it is no today.
>>
>>
>>
>> I have LX zones using zonecfg(1M) to set DHCP.  I can go in as
>root at lx-zone
>> and use /native/sbin/{ifconfig,route} to take it over.  I don't know
>off
>> the top of my head if SmartOS restricts things this way, but OmniOS
>does
>> not.
>>
>>
>>
>> Dan
>>
>>
>>
>> _______________________________________________
>>
>> OmniOS-discuss mailing list
>>
>> OmniOS-discuss at lists.omniti.com
>>
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>>

I am not sure about a direct answer here, but you probably can fiddle with dladm, flowadm, etc. on the illumos host side to limit the capabilities of the vnic you delegate into the zone. 
--
Typos courtesy of K-9 Mail on my Samsung Android


More information about the OmniOS-discuss mailing list