Hi Anil,

This isn't by design. You're most likely running up against some limitation
somewhere along the way. (My guess is it's in the network startup script,
but I don't know for sure, yet.) I'll try to duplicate this.

- Cody
On Feb 29, 2016 7:53 PM, "Anil Jangity" <[email protected]> wrote:

> I tried to specify about 16+ IP address in the “ips” attribute of the
> config (joyent_20160204T173339Z) but apparently things seem to get
> truncated.
>
>       "nics": [
>         {
>           "nic_tag": "external",
>           "ip": "102.29.163.170",
>           "netmask": "255.255.255.192",
>           "gateway": "102.29.163.129",
>           "ips": ["102.29.163.170/26", "2001:392:2:60e::14/64",
> "2001:392:2:60e::1000/64", "2001:392:2:60e::1001/64",
> "2001:392:2:60e::1002/64", "2001:392:2:60e::1003/64",
> "2001:392:2:60e::1004/64", "2001:392:2:60e::1005/64",
> "2001:392:2:60e::1006/64", "2001:392:2:60e::1007/64",
> "2001:392:2:60e::1008/64", "2001:392:2:60e::1009/64"],
>           "primary": true
>         }
>       ]
>
>
> This ends up creating:
>
> # ifconfig -a
> ...
> net0:1: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::14/64
> net0:2: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1000/64
> net0:3: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1001/64
> net0:4: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1002/64
> net0:5: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1003/64
> net0:6: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1004/64
> net0:7: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1005/64
> net0:8: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1006/64
> net0:9: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1007/64
> net0:10: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500
> index 2
>         inet6 2001:392:2:60e::1008/6
> #
> 
> 
> Also note the “1008/6” in the last one. Definitely looks like truncation
> here.
> 
> Is this by design?
> 
> Thanks
> 



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to