[OpenIndiana-discuss] Configure static IP with nwam

Mark mark0x01 at gmail.com
Sun Jun 19 00:05:30 UTC 2011


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
> _______________________________________________


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




More information about the OpenIndiana-discuss mailing list