[enterpriseseven-list] NIC team + VLAN tags

Brian Long (brilong) brilong at cisco.com
Wed Oct 22 16:01:14 EDT 2014


I found the problem.

The ifcfg-team0.VLAN file must have “DEVICETYPE=Ethernet”.  There is no need for any additional ifcfg-DEVICE files to support VLANs.  An example ifcfg file which works for me is as follows:

DEVICE=team0.10
DEVICETYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=team0.10
VLAN=yes
UUID=ea182033-e2cd-4a34-a7f8-297439930efe
ONBOOT=yes
IPADDR=10.1.1.35
NETMASK=255.255.255.0

My original ifcfg-team0 file is as follows:
DEVICE=team0
DEVICETYPE=Team
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=team0
UUID=ea182033-e2cd-4a34-a7f8-297439930efd
ONBOOT=yes
IPADDR=172.16.1.35
NETMASK=255.255.255.0
GATEWAY=172.16.1.1
TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'

/Brian/
-- 
       Brian Long                             |       |
       Research Triangle Park, NC         . | | | . | | | .
                                              '       '
                                              C I S C O

On Oct 22, 2014, at 2:08 PM, Tim Mooney <Tim.Mooney at ndsu.edu> wrote:

> In regard to: [enterpriseseven-list] NIC team + VLAN tags, Brian Long...:
> 
>> Has anyone used the new NIC teaming function with VLAN tags?
> 
> Not with RHEL 7.  I've just started looking at the same task on RHEL 6,
> though.
> 
>> I’ve got a NIC team setup between two NICs using the native VLAN.  Now
>> I’m trying to create a second sub interface “team0.10” to add VLAN 10
>> traffic and I’m not able to bring it online.
> 
> Are you doing this using NetworkManager, or traditional config files?
> If you're using traditional config files, what do they look like?
> 
> If you're using NetworkManager, what does "nmcli -p g", "nmcli -p d",
> and "nmcli -p c" report?
> 
> Tim
> -- 
> Tim Mooney                                             Tim.Mooney at ndsu.edu
> Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
> Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164_______________________________________________
> enterpriseseven-list mailing list
> enterpriseseven-list at lists.clefos.org
> http://lists.clefos.org/mailman/listinfo/enterpriseseven-list




More information about the enterpriseseven-list mailing list