On Thu, Oct 21, 2010 at 5:16 AM, Peter Taps <[email protected]> wrote:

> Folks,
>
> I just got a new box with 6 identical NICs in it. I plan to install
> OpenIndiana on it.
>
> I plan to bond 4 NICs into one aggregated interface. The other two will
> stay as individuals. Essentially, I will end up with 3 IP addresses.
>

You need to carefully study how your motherboard lays out the IRQs for each
PCI/PCIexp slot. You should try to minimize IRQ sharing (specially between
devices which should have different priority levels like an HBA and a NIC).

# echo ::interrupts -d | mdb -k

For more information on how to create the aggregation, check out dladm's man
page (create-aggr command).



>
> I am familiar with ifconfig. However, this is the first time I am dealing
> with multiple NIC cards.
>
> 1. Is there any concept of primary and non-primary IP addresses?
>

You usually set one IP to a NIC and add aliases later, if needed.



> 2. Do all the 3 ip addresses go in /etc/hosts file or just one ip address?
>

Yes. You should add all 3 addresses to /etc/hosts with different names.


1.2.3.4 host.domain host
x.x.x.x host2.domain host2
y.y.y.y host3.domain host3



> 3. Do I specify gateway for all the 3 IP addresses or just one? I am
> thinking it may confuse the routing algorithm.
>

Let's say your interfaces are igb0, igb1 and aggr0 (igb2/3/4/5 aggregated).

echo host > /etc/hostname.igb0
echo host2 > /etc/hostname.igb1
echo host3 > /etc/hostname.aggr0

If you want to add IP aliases to any of these interfaces, add them to
/etc/hosts and create a new hostname.* file.

echo host4 > /etc/hostname.aggr0:1



> 4. Is there any need for me to manually manipulate the routing table?
>

No. Unless you need to add specific routes for networks that aren't
reachable locally or through the default gateway (/etc/defaultrouter).


>
> I would appreciate any advice you have on what I must watch out for.
>

Good Luck!

-- 
Giovanni Tirloni
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to