Quantcast
Viewing all articles
Browse latest Browse all 2954

LACP configuration problem with 8132F and R515 (10G Intel SFP)

Hello.

I got a problems when configuring LACP with Linux machine now.  That is a R515 with Intel Corporation 82599EB 10-Gigabit SFP interfaces.  And then connected to 2 stacking 8132F switch respectively. ie. SFP port 1 connected to first 8132F and then port 2 connected to 2nd 8132F.

It strange now is sometimes could not connect those machines but sometimes can.  Sometimes bond0 is connect but bond0.20 is cann't. Also, some file transfer test result showing only 10G (I expect is more then 10G) bandwidth can make.

It already changed many different configs but no luck.  Please advise about this.  The following is those configuration for reference.

Additional what is the relationship between Switch Hash Configuration and xmit_hash_policy under linux? is it they need match it?

Linux: CentOS 6
---- interface -----
/etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0
BOOTPROTO=none
#BROADCAST=103.168.235.47
IPADDR=103.168.235.35
#IPV6INIT=yes
#IPV6_AUTOCONF=yes
NETMASK=255.255.255.240
NETWORK=103.168.235.32
ONBOOT=yes
GATEWAY=103.168.235.33
TYPE=Ethernet
USERCTL=no
#MTU=9000
BONDING_OPTS="miimon=100 mode=4 xmit_hash_policy=1"

----
/etc/sysconfig/network-scripts/ifcfg-bond0.20

DEVICE=bond0.20
BOOTPROTO=none
BROADCAST=192.168.20.255
IPADDR=192.168.20.22
NETMASK=255.255.254.0
NETWORK=192.168.20.0
#GATEWAY=202.52.136.193
#DNS1=8.8.8.8
#DNS2=8.8.4.4
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
VLAN=yes
#MTU=9000

----
/etc/sysconfig/network-scripts/ifcfg-p2p1

DEVICE="p2p1"
BOOTPROTO=none
IPV6INIT="no"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="81fc0465-1601-4493-8b05-fc8e0268e79c"
HWADDR=90:E2:BA:57:E8:20
DOMAIN=abc.hk
#DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System p2p1"
MASTER=bond0
SLAVE=yes
USERCTL=no

----
/etc/sysconfig/network-scripts/ifcfg-p2p1

DEVICE="p2p2"
BOOTPROTO="none"
HWADDR="90:E2:BA:57:E8:21"
IPV6INIT="no"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="dd6b70f3-7ca9-428a-b865-5c19189962cd"
MASTER=bond0
SLAVE=yes
USERCTL=no

---
cat /etc/modprobe.d/bond.conf
alias bond0 bonding

---- status of bonding ----

cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
        Aggregator ID: 1
        Number of ports: 1
        Actor Key: 33
        Partner Key: 1
        Partner Mac Address: 00:00:00:00:00:00

Slave Interface: p2p1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 90:e2:ba:54:09:8c
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: p2p2
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 90:e2:ba:54:09:8d
Aggregator ID: 2
Slave queue ID: 0

----------------------
In the switch connection
That is a two 8132F and stacking together already


!
interface Te1/0/3
channel-group 1 mode on
description "pcs01"
switchport mode trunk
exit
!
interface Te1/0/4
channel-group 2 mode on
description "pcs02"
switchport mode trunk
exit
!
interface Te1/0/5
channel-group 3 mode on
description "pcs03"
switchport mode trunk
exit
!
interface Te2/0/3
channel-group 1 mode on
description "pcs01"
switchport mode trunk
exit
!
interface Te2/0/4
channel-group 2 mode on
description "pcs02"
switchport mode trunk
exit
!

interface port-channel 1
hashing-mode 1
switchport mode general
switchport general allowed vlan add 20 tagged
exit
!
interface port-channel 2
hashing-mode 6
spanning-tree disable
spanning-tree mst 0 cost 1000
spanning-tree cost 1000
switchport mode general
switchport general allowed vlan add 20 tagged
exit
!
interface port-channel 3
hashing-mode 6
spanning-tree disable
spanning-tree mst 0 cost 1000
spanning-tree cost 1000
switchport mode general
switchport general allowed vlan add 20 tagged
exit
----------------

Thanks!

Machi


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>