Перейти к содержимому
Калькуляторы

linux-cisco bonding bridge на cisco PortChannel уходит в Down

В общем, между Cisco и Linux поднят bonding.

 

linux

 

auto eth5
iface eth5 inet manual
pre-up ifconfig eth5 up

auto eth9
iface eth9 inet manual
pre-up ifconfig eth9 up


auto bond0
iface bond0 inet manual
pre-up modprobe bonding miimon=100 mode=4 lacp_rate=1
up ifconfig bond0 up; ifenslave bond0 eth5 eth9
pre-down ifenslave bond0 -d eth5 eth9
post-down rmmod bonding

 

cisco:

 

interface Port-channel4
description Uplink-Policer
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 171,500,502,807
switchport mode trunk
no ip address
!

interface GigabitEthernet4/15
description Uplink-port1of2-4/15
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 171,500,502,807
switchport mode trunk
no ip address
channel-protocol lacp
channel-group 4 mode active
!

interface GigabitEthernet4/16
description Uplink-port2of2-4/16
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 171,500,502,807
switchport mode trunk
no ip address
channel-protocol lacp
channel-group 4 mode active
!

 

Все поднимается. Cisco пишет:

 

#show ip interface brief | incl Port
Port-channel4              unassigned      YES unset  up                    up   

 

Добавляем на linux bond0 в br0 и все становится в down:

 

linux: brctl addif br0 bond0

 

auto br0
iface br0 inet manual
bridge_ports bond0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

 

После этого:

#show ip interface brief | incl Port
Port-channel4              unassigned      YES unset  down                    down   

секунд через 30.

 

Может кто-нибудь сталкивался? Что я делаю не так?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

fixed. на бридже: brctl stp br0 on

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.