Link aggregation and status of network interfaces in “ipadm” command


 
Thread Tools Search this Thread
Operating Systems Solaris Link aggregation and status of network interfaces in “ipadm” command
# 1  
Old 02-19-2016
Link aggregation and status of network interfaces in “ipadm” command

I am again rephrasing the issue that we are facing:

We are creating link aggregations [dlmp groups] with two interfaces named net0 & net5:

# dladm create-aggr -m dlmp -l net0 -l net5 -l net2 aggr1
Setting prob targets for aggr1:

# dladm set-linkprop -p probe-ip=+ aggr1
Setting failure detection time:

# dladm set-linkprop -p probe-fdt=15 aggr1
After this we are adding IP to this aggregation as follows:

# ipadm create-ip aggr1
Assigns an IP to this:

# ipadm create-addr -T static -a x.x.x.x/y aggr1/addr
Then we check the status using dladm and ipadm everything seems up and running.

Then we tested a scenario where we are dettached cables from above n/w interfaces, but what we got is as follows:

# dladm show-aggr -x

LINK PORT SPEED DUPLEX STATE ADDRESS PORTSTATE

traf0 -- 100Mb unknown up 0:10:e0:5b:69:1 --
net0 100Mb unknown down 0:10:e0:5b:69:1 attached
net5 100Mb unknown down a0:36:9f:45:de:9d attached
First issues is that we are getting the state of link "traf0" as up in above command output, secondly in the output of "ipadm":

traf0 ip ok -- --
traf0/addr static ok -- 7.8.0.199/16
We are getting the status of traf0 as ok.

So here I have a query, can't we have any configuration where we could get right status of traf0 both in dladm and ipadm output?

[One more thing to add here is, when we don't assign any IP to this traf0 aggregation then in that case on dettaching the cables we get right output in dladm command.]

Apart from this configuration, we are using these aggregations as vnics in zones. There also we are getting the status of these links up in ipadm command output [after dettaching the cables].

A small update:: We have set the value of "TRACK_INTERFACES_ONLY_WITH_GROUPS" parameter in /etc/default/mpathd as no and getting the state of "traf0" in ipadm command as failed, but still we get traf0/addr as ok.

traf0 ip failed -- --
traf0/addr static ok -- 7.8.0.199/16
# 2  
Old 02-19-2016
Hi,

A couple of quick questions here;

Firstly do both network cables attach to the same switch?

Are the ports aggregated on the switch?

When you say you are using these as VNIC's in zones, how are you setting them up in the zone?

Regards

Gull04
# 3  
Old 02-19-2016
Hey Gull04 thanks for your concern, please find below answer to your qurry:

Yes both the cables are attached to the same switch.

Can you please describe 2nd point as I am new to this dladm part and configuration is done by our automatic installer team I might need their help to clarify this.

Regarding 3rd point, does it really effect how we configured vnics in zones?

Regards,
Amithreat
# 4  
Old 02-19-2016
Hi,

The aggregation must be setup on the switch as well, from Oracle you have.

Required. For example, a link aggregation in the system that is running the Solaris OS requires that corresponding ports on the switches be also aggregated.

You can find some information here.

As to how the VNIC is set in the Zone, you would have to use the agregated interface as the NIC in the Zone.

Regards

Gull04
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How can I test link aggregation?

Hi, I have Solaris-10 server and link aggregation is configured on this in below way # dladm show-aggr key: 1 (0x0001) policy: L4 address: 3c:d9:2b:ee:a8:a (auto) device address speed duplex link state bnx1 3c:d9:2b:ee:a8:a... (8 Replies)
Discussion started by: solaris_1977
8 Replies

2. IP Networking

Link Aggregation

Hi ihave three link of internet and iwant to put one linux front of a firewall that this three linux speard firewall such az load balance and fialover but dont close any port and protocol and only firewall have been internet what way can i use for it ? are there any script and services do that... (0 Replies)
Discussion started by: mnnn
0 Replies

3. Solaris

Link Aggregation without LACP

Hi, I'm not from the Solaris world and some of these things are new to me. Can someone tell me if it is possible to configure link aggregation without using LACP? I am told etherchannel was setup without LACP. (3 Replies)
Discussion started by: techy1
3 Replies

4. Red Hat

RHEL4 on VM cannot get status network link down

Hi All, RHEL4 on VM cannot get status network link down. when I unplug network cable. - ESX found interface down - but VM RHEL4 not detect that !, It show still up (mii-tool) Please help share you idea for my case. ESXi 5.1.0, RHEL4 Thank you, (3 Replies)
Discussion started by: arm_naja
3 Replies

5. Solaris

How to retrieve network link status from Kernel?

I have need for a reliable and easy way to get from within a script, or a java class, the status of the network interface cards (whether the link is up, or down). I believe the kernel status would be quicker to know if they were up or down rather than if a ping simply didnt respond back. ... (2 Replies)
Discussion started by: mrmurdock
2 Replies

6. Solaris

Link aggregation

Me again :) I'm trying to find a page describing the L2, L3 und L4 modes of dladm. It's nice to read "hashed by ip header", but how should I use that? On the file-server it's ok to have the six interfaces serving six clients each on it's own. But an rsync connection via switch between two... (8 Replies)
Discussion started by: PatrickBaer
8 Replies

7. AIX

Link aggregation with hacmp ?

Hi, I need to setup a hacmp cluster (my first one, we usually use VCS on AIX), but I require more network bandwith than a normal gigabit etherchannel setup can provide, so I am thinking about using linkaggregation - 2 active adapters to one switch and a single backup adapter to another switch... (4 Replies)
Discussion started by: zxmaus
4 Replies

8. UNIX for Advanced & Expert Users

Link Aggregation and LACP

Hi there I have a requirement to provide failover to our customer boxes in case of interface / switch failure, I have been looking at Solaris Link Aggregation with LACP and I wanted to ask a question Ive seen multiple websites that say the following Does this also mean that if the... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

9. Solaris

Link Aggregation

Hi there I have a requirement to provide failover to our customer boxes in case of interface / switch failure, I have been looking at Solaris Link Aggregation with LACP and I wanted to ask a question Ive seen multiple websites that say the following Does this also mean that if the... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
Login or Register to Ask a Question