[OpenIndiana-discuss] Configure static IP with nwam

Serge Fonville serge.fonville at gmail.com
Sun Jun 19 08:40:37 UTC 2011


Hi Mark,

Thanks for the reply.

#bonding
> dladm create-aggr -d igb0 -d igb1 0
> dladm create-aggr -d igb2 -d igb3 1


Based on what I read in man pages and found online, the first won't work
since 'key' must be 0.

If you do  end up with a aggr0, I will try it.

Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl

Convince Google!!
They need to add GAL support on Android
http://code.google.com/p/android/issues/detail?id=4602


2011/6/19 Mark <mark0x01 at gmail.com>

> On 19/06/2011 11:54 a.m., Serge Fonville wrote:
>
>> Hi,
>>
>> I recently installed a oi_148 system.
>>
>> By default every interface is configured with DHCP and NWAM
>>
>> I read I can configure NWAM with static IPs and that it would be 'better'
>> that way somehow.
>>
>> Unfortunately I can not find any resource what I need to do in what order
>> to
>> have all four interfaces configured with static IPs.
>>
>> What do I need to do to set this up?
>>
>> Thanks in advance
>>
>> What do I need to do, to set this up
>> Kind regards/met vriendelijke groet,
>>
>> Serge Fonville
>>
>> http://www.sergefonville.nl
>>
>> Convince Google!!
>> They need to add GAL support on Android
>> http://code.google.com/p/**android/issues/detail?id=4602<http://code.google.com/p/android/issues/detail?id=4602>
>> ______________________________**_________________
>>
>
>
> from my build script
>
>
> svcadm disable network/physical:nwam
> svcadm enable network/physical:default
>
> #This is a 10Gb nic, so substitute your dev name for ixgbe0
> #mtu change is not required.
>
> #10BbE
> # MTU to 9000
> dladm set-linkprop -p mtu=9000 ixgbe0
> #static ip
> ipadm create-addr -T static -a local=10.1.18.19/29 ixgbe0/v4
>
> #don't forget a route -
> route -p add default 10.1.18.254
>
> #bonding
>
> dladm create-aggr -d igb0 -d igb1 0
> dladm create-aggr -d igb2 -d igb3 1
>
>
> #Note: cannot both be on an existing subnet - if one down, both go down.
> ipadm create-addr -T static -a local=10.1.17.10/24 aggr0/v4
> ipadm create-addr -T static -a local=10.1.19.10/24 aggr1/v4
>
>
>
> ______________________________**_________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@**openindiana.org<OpenIndiana-discuss at openindiana.org>
> http://openindiana.org/**mailman/listinfo/openindiana-**discuss<http://openindiana.org/mailman/listinfo/openindiana-discuss>
>


More information about the OpenIndiana-discuss mailing list