Jump to content

Recommended Posts

Posted

В общем, между 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.

 

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

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.