Nahum,
for me the main problem with having it as a vmic is the random MAC address it
gets assign every boot :)
I've changed the behaviour for my own platform builds to be able to have fixed
MAC address configured (external0_mac=01:23:45:67:ab:cd) and I'm also thinking
about allowing external_{ip,netmask,gateway} (without a number) to directly sit
on the physical NIC.
--
Daniel
On 7 Oct 2014, at 19:49, Nahum Shalman via smartos-discuss
<[email protected]> wrote:
> Ah, I think I misread your first email.
>
> I don't think SmartOS supports doing it your way except for the admin IP...
> See http://wiki.smartos.org/display/DOC/Managing+NICs
>
> What's wrong with using a vnic?
>
> -Nahum
>
> On 10/07/2014 02:33 PM, Christian Meunier wrote:
>> Hi Nahum,
>>
>> I tried that as well and it gives the exact same result.. external nic is
>> not plumbed and a vnic is created instead.
>>
>> I am surprised that something that simple does not work out of the box. For
>> people running smartos with 2 nics, do you have both your nics plumbed in
>> the GZ ?
>>
>> Thanks !
>>
>> On Tue, Oct 7, 2014 at 10:00 PM, Nahum Shalman <[email protected]>
>> wrote:
>> Your external_nic line is correct.
>> The other three should be named like so:
>> external0_ip
>> external0_netmask
>> external0_gateway
>>
>> -Nahum
>>
>> On 10/07/2014 07:26 AM, Christian Meunier via smartos-discuss wrote:
>>> Hi all,
>>>
>>> I am new to smartos and I am trying to install it on one server which has 2
>>> nics (ixgbe0 for external and ixgbe1 for admin).
>>>
>>> The admin interface is correcly setup and ifconfig shows that the ixgbe1 is
>>> up with the desired network config. However, for the external, instead of
>>> bringing up the ixgbe0 with the desired ip, the system has created a vnic
>>> on top of it and brough it up.
>>>
>>> How can I tell smartos that I dont want to create a vnic for the external
>>> interface but I want to use the ixgbe0 directly. Basically, having the same
>>> behaviour as to how the admin nic is setup.
>>>
>>> The config for the external nic I use is as follow :
>>>
>>> external_nic={mac-address-omitted}
>>> external_ip={public-ip-omitted}
>>> external_netmask=255.255.255.0
>>> external_gateway={public-ip-omitted}
>>>
>>> beside these line and the ones to config the admin nic, i have only:
>>>
>>> - headnode_default_gateway
>>> - dns_resolvers
>>> - dns_domain
>>> - ntp_hosts
>>>
>>> Thanks in advance,
>>>
>>> --
>>> Chris
>>> smartos-discuss | Archives | Modify Your Subscription
>>
>>
>
> smartos-discuss | Archives | Modify Your Subscription
-------------------------------------------
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