04-08-2009
How to find the active network inteface on etherchannel
I have a server with multiple network interfaces. 2 of these interfaces, lets say en2 and en6 make up an etherchannel interface, which let's say en8.
when I run the command
lsattr -El ent8
I can see the designated primary and backup interfaces as ent6 and ent2, in the given order. But since I have no control over the network switches, I do not see if a switch had problems and my etherchannel failed over to the backup interface or not and, to my surprise, this happens more often than one might think.
So far, the only method I found to determine which physical interface is actively handling the network traffic passing thru the etherchannel'ed IP address is, running the command
entstat -d en8
in few second intervals while watching the individual interface while watching the transmit and receive statistics of individual network adapters in the channel, determining the active one depending on which adapter's numbers are increasing.
I was wondering if there is a command that tells me straight out, which interface in the etherchannel is actually active and which is acting as a backup adapter at any given time. Is there such a command ?
Thanks for all help in advance
9 More Discussions You Might Find Interesting
1. IP Networking
Hi
does anybody know how we can add more than one ip for NIC(in Redhat Linux 7.2)?
i usually do it by using this command
ifconfig eth0 add <ip addresss> netmask <..............> up
or ;
ip address add 192.168.20.1/24 dev eth0
or
adding it manually to file in... (12 Replies)
Discussion started by: hessam
12 Replies
2. AIX
Problem description:
On the condition of EtherChannel function of AIX, when the data exchange between the nodes on the network, there sometimes lost datat packets and cause the application failed. Once we deconfig EtherChannel and use the single adapter configuration, the application works... (0 Replies)
Discussion started by: Frank2004
0 Replies
3. Linux
how can i see active network connections (1 Reply)
Discussion started by: youmna
1 Replies
4. Shell Programming and Scripting
can anyone help me find a script that i can use to see whether a network is up and if it aint up then create a new network. (0 Replies)
Discussion started by: king_jon85
0 Replies
5. Solaris
hi friends,
I have brand new Sun Ultra 20 WS installed.
It was preinstalled with Solaris 10 6/06 system,
in ifconfig -a command only loop back intervace is showing.
and
/etc/path_to_install also not able to find the interface name.
my questions are:
1. Is there any command to get... (1 Reply)
Discussion started by: subhankar
1 Replies
6. Windows & DOS: Issues & Discussions
Hi All,
I use two Network Connections at work: Wireless and LAN.
Wireless network has no limitations, but LAN internet has a web filter.
I start a download using my Wireless conn. (At this point, LAN is disabled)
But when I activate my LAN connection my download stops immediately.
LAN... (4 Replies)
Discussion started by: kalavkalav
4 Replies
7. AIX
When I configure two VIO Servers, VIOS1 used to ping its gateway, after I configured second VIOS2, VIOS1 cannpt ping its gateway, when I run this command:
entstat -all ent#|grep -i priority
Priority: 5 Active: False
How to make Active to True? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
8. Solaris
Hi All,
Been a while since I touched a Solaris box so thought I would fire one up just to keep a hand in and I am amazed I have stumbled so early on. I am using a Sun v490, running latest patch of Solaris 10. The system shows the interfaces are configured (ifconfig netstat etc) but no IP is... (4 Replies)
Discussion started by: Diar
4 Replies
9. Shell Programming and Scripting
Could you help me writing a script showing which network connections are currently active?
Means output should be something like:
"eth0, wlan1, wlan3"
Problem:
The output is supposed to happen on a 16x2 LCD Display.
Currently I am doing a "Ifconfig" as output, but its too fast for the... (2 Replies)
Discussion started by: lordofazeroth
2 Replies
LO(4) Kernel Interfaces Manual LO(4)
NAME
lo - software loopback network interface
SYNOPSIS
/sys/conf/SYSTEM:
NLOOP 1 # loop-back pseudo-device
DESCRIPTION
The loop interface is a software loopback mechanism which may be used for performance analysis, software testing, and/or local communica-
tion. As with other network interfaces, the loopback interface must have network addresses assigned for each address family with which it
is to be used. These addresses may be set or changed with the SIOCSIFADDR ioctl. The loopback interface should be the last interface con-
figured, as protocols may use the order of configuration as an indication of priority. The loopback should never be configured first
unless no hardware interfaces exist.
DIAGNOSTICS
lo%d: can't handle af%d. The interface was handed a message with addresses formatted in an unsuitable address family; the packet was
dropped.
SEE ALSO
intro(4N), inet(4F), ns(4F)
BUGS
Previous versions of the system enabled the loopback interface automatically, using a nonstandard Internet address (127.1). Use of that
address is now discouraged; a reserved host address for the local network should be used instead.
3rd Berkeley Distribution August 1, 1987 LO(4)