[OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

Mini Trader miniflowtrader at gmail.com
Thu Jan 5 17:47:51 UTC 2017


Having trouble with networking.  Any thoughts on this?

ipadm show-addr

ADDROBJ           TYPE     STATE        ADDR
vmxnet3s0/v4      static   ok           10.255.0.15/24

dladm show-vnic

LINK         OVER         SPEED  MACADDRESS        MACADDRTYPE         VID
lx0          vmxnet3s0    10000  2:8:20:94:5e:c    random              0


netstat -rn -finet

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              10.255.0.1           UG        2      66534
10.250.0.0           10.250.1.2           U         4      54902 vmxnet3s1
10.255.0.0           10.255.0.15          U         9      22094 vmxnet3s0
127.0.0.1            127.0.0.1            UH        2         60 lo0

Here is the config:

create
set zonepath=/main/zones/lx0
set brand=lx
set autoboot=false
set ip-type=exclusive
add net
set physical=lx0
add property (name=gateway,value="10.255.0.1")
add property (name=ips,value="10.255.0.16/24")
add property (name=primary,value="true")
end
add attr
set name=dns-domain
set type=string
set value=mydomain.com
end
add attr
set name=resolvers
set type=string
set value=10.255.0.1
end
add attr
set name=kernel-version
set type=string
set value=3.16.0
end
exit






On Thu, Jan 5, 2017 at 11:35 AM, Dan McDonald <danmcd at omniti.com> wrote:

> https://omnios.omniti.com/wiki.php/LXZones
>
> See the zonecfg example where you add properties to the "net" instance.
> For now, this is the only way to support network configurations on LX
> Zones.  We plan to have /native/sbin/ipadm working before r151022 ships.
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170105/c36ddb6e/attachment.html>


More information about the OmniOS-discuss mailing list