Sponsored Content
Operating Systems Linux Red Hat Network Teaming not working in RHEL/CentOS 7 Post 302957996 by atanubanerji on Saturday 17th of October 2015 12:48:29 PM
Old 10-17-2015
Network Teaming not working in RHEL/CentOS 7

I was testing Networking Teaming (activebackup) with a VM hosted on VmWare Workstation and VirtualBox, and the result is, if the active interface is down, the system is not using the backup interface.
Tested on both CentOS / RHEL 7

Please find below the command I have used to configure teaming.
Code:
nmcli connection add type team con-name team0 ifname team0 config '{"runner": {"name": "activebackup"}}'
nmcli connection modify team0 ipv4.addresses '192.168.56.150/24'
nmcli connection modify team0 ipv4.method manual

nmcli connection add type team-slave con-name team0-enp0s3 ifname enp0s3 master team0
nmcli connection add type team-slave con-name team0-enp0s8 ifname enp0s8 master team0
teamdctl team0 state

At this stage I am able to see enp0s3 is the active interface and I am able to ping from team0 interface.

But if I make enp0s3 down using
Code:
nmcli dev dis enp0s3

command, or uncheck "Cable Connected" in my vmware or virtualbox network setting, team0 fails.
I am getting expected result in
Code:
teamdctl team0 state

output, that the other interface is active, after disconnecting the primary interface, but practically team0 is failing to use the backup interface.

Please help me to work network teaming as expected.
 

10 More Discussions You Might Find Interesting

1. Solaris

Sun v440/v880 network adapter teaming

Is it possible to team two network adapters for fault tolerance in a Sun v440 or v880 Solaris 8 box? If so how would I go about doing so? (1 Reply)
Discussion started by: ghuber
1 Replies

2. Solaris

Solaris 10 network teaming best practice

Hi there, I would like to know if there is any best practice white page for network teaming with fail over / load balancing under solaris 10. Just using the wizard to enable the fail over / load balancing on a SunFire v245 with 4 NIC have BAD result. randomly, once few user connect to the... (2 Replies)
Discussion started by: Siffleu
2 Replies

3. Virtualization and Cloud Computing

virtualization in RHEL 5.3 & Centos 5.3

Hi I would like to know how to do virtualization in Rhel 5.3 and Cent os 5.3, As i am new this Virtualization need guidence how to install and configure guest os in Rhel and Cent Os can some one guide me step by step Regards Solaris8in (1 Reply)
Discussion started by: solaris8in
1 Replies

4. Red Hat

Questions About RHEL 6, CentOS 5.5 download and install

Hi, I have some questions about RHEL and CentOS download and installation. (1) Is RHEL6.0 x86_64 beta downloaded from Red Hat site working fine? (2) Where to download CentOS 5.5 DVD iso without using BitTorrent? (3) What are the differences between these two images - CentOS 5.5 i386 and... (6 Replies)
Discussion started by: aixlover
6 Replies

5. IP Networking

RHEL 5.0 IP Network setup

Can someone here please help and walk me through what I need to do to setup my network so that I can start an oracle listener ? I am connected through a router (netgear) and everytime I start my machine the ip address changes because of DHCP (I think). There are so many parameters that I do... (5 Replies)
Discussion started by: jxh461
5 Replies

6. Red Hat

Centos/rhel 5 cluster 3 nodes with out Quorum

Hi all, i have 3 nodes cluster (Centos 5 cluster suit) with out quorum disk, node vote = 1, the value of a quorum = 2, when 2 nodes going offline, cluster services are destoys. How i can save the cluster and all services(move all services to one alive node) with out quorum disk when other... (3 Replies)
Discussion started by: Flomaster
3 Replies

7. Red Hat

OpenSUSE installation using RHEL / CentOS Kickstart

Hi guys I have CentOS installed on my server. I have also installed TFTP server, DHCP server. I am able to install CentOS on remote machines using PXE boot and kickstart cfg file. I would like to install OpenSUSE using CentOS kickstart file. How do I do it ? I am also fine with any other... (2 Replies)
Discussion started by: msohail
2 Replies

8. Emergency UNIX and Linux Support

RHEL and Centos VMs with IO failure on root

Hello, I am running into this issues, few VMWare VM's that are running with RHEL 5.6 and Centos 5.7, are having read write errors on the root file system. This is noticed on all vm's. After looking to log files this what I noticed. #touch test.txt touch: cannot touch `test.txt': Read-only... (12 Replies)
Discussion started by: bobby320
12 Replies

9. Red Hat

How to reduce the LVM Size in RHEL/Centos 7 ?

Hi All, I have one logical volume with size as 900G and it is mounted as xfs file system. Now I want to reduce this partition to 500G. So I followed the below steps. unmount the mount point /home Reduced the volume using the command Now I remounted the partition. But the problem... (3 Replies)
Discussion started by: kalpeer
3 Replies

10. Red Hat

Need RHEL/CentOS 7 'Little Endian' ISO for PowerPC

Hi! One of our clients need RHEL 7 on PPC hardware for their R&D setup and they are particular about this being 'Little Endian'. The problem is that Redhat doesn't have LE RHEL7 images below 7.1 while the latest toolkit (which is needed while reimaging an IBM LPAR) that IBM provides only... (0 Replies)
Discussion started by: satish51392111
0 Replies
if_mpadm(1M)						  System Administration Commands					      if_mpadm(1M)

NAME
if_mpadm - administer interfaces in an IP multipathing group SYNOPSIS
if_mpadm -d | -r ifname DESCRIPTION
The if_mpadm utility administers IP interfaces that are part of an IP Multipathing (IPMP) group. Currently, administration is limited to offlining IP interfaces and undoing previous offline operations. When an IP interface is taken offline, all IP data traffic that was flowing over the IP interface is moved to another IP interface in the IPMP group. In addition, all UP IP addresses hosted on the IP interface are brought down, causing in.mpathd(1M) to stop probe-based failure detection on the IP interface. As a result, an offline IP interface will not be used for any inbound or outbound IP traffic. Only IP inter- faces that are in an IPMP group may be brought offline. If the IP interface is the last functioning interface in the IPMP group, the off- line operation will fail. When an offline operation is undone, any IP addresses hosted on that IP interface are brought UP and will be considered by in.mpathd for probe-based failure detection. In addition, provided the IP interface is otherwise active (see in.mpathd(1M)), it will again be used to send and receive IP data traffic for the IPMP group. Note that not all offline operations can be undone. For instance, in.mpathd may have offlined an IP interface because its hardware address was not unique within its IPMP group. The ipmpstat utility can be used to determine why an IP interface is offline, identify which IP interfaces in a group are being used for inbound and outbound IP traffic, and more; see ipmpstat(1M). OPTIONS
The if_mpadm utility supports the following options: -d ifname Offline the IP interface specified by ifname. If ifname is not in an IPMP group, or the offline would cause the IPMP group to lose network connectivity, the operation will fail. -r ifname Undo a previous offline of the IP interface specified by ifname. If ifname is not offline, the operation will fail. EXAMPLES
Example 1 Offlining an IP Interface The following command offlines the IP interface under0, causing any IP packets that were being sent and received through it to be handled by another IP interface in its group. example% if_mpadm -d under0 Example 2 Undoing a Previous Offline Operation Use the following command to undo the operation in the previous example: example% if_mpdadm -r under0 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), in.mpathd(1M), ipmpstat(1M), attributes(5) DIAGNOSTICS
cannot offline: no other functioning interfaces are in its IPMP group. Description: This message means that offlining the IP interface would leave the IPMP group without network connectivity. cannot offline: not a physical interface or not in an IPMP group Description: This means that the IP interface is not an underlying interface in an IPMP group, and therefore is not eligible to be offlined. SunOS 5.11 5 Jan 2009 if_mpadm(1M)
All times are GMT -4. The time now is 08:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy