OEL 6.5 не связывая mode=802.3ad соединения

OEL 6.5 не связывая mode=802.3ad соединения

Я настроил 2nic в связь на OEL 6.5. к коммутатору Cisco (lacp)

----------
|  eth0  |=====+              +~~physical-link~~\
----------    ||  ---------   |                  ----------
              |===| bond0 |==>                   | switch |
----------    ||  ---------   |                  ----------
|  eth2  |=====+              +~~physical-link~~/
----------

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
HWADDR=40:f2:e9:26:21:62
MASTER=bond0
SLAVE=yes

/etc/sysconfig/network-scripts/ifcfg-eth2

DEVICE=eth2
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
HWADDR=40:f2:e9:26:21:64
MASTER=bond0
SLAVE=yes

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

DEVICE=bond0
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.0.2.8
NETMASK=255.255.0.0
GATEWAY=10.0.0.1
BONDING_OPTS="mode=802.3ad miimon=100 xmit_hash_policy=layer2+3"

ifconfig:

[a1@srv1]# ifconfig bond0
bond0   Link encap:Ethernet HWaddr 40:f2:e9:26:1c:fa
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:51651 errors:0 dropped:256 overruns:0 frame:0
TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12059710 (11.5 MiB) TX bytes:19006 (18.5 KiB)

bond0:

[a1@srv1]# cat /proc/net/bonding/bond0
Ethernet Channel BOnding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic linc aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable

Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 17
Partner Key: 9
Partner Mac Address: 68:ef:bd:08:52:40

Slave Interface: eth0
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 0
Permanent WH addr: 40:f2:e9:26:21:62
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth2
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 1
Permanent WH addr: 40:f2:e9:26:21:64
Aggregator ID: 1
Slave queue ID: 0

маршрут

[a1@srv1]#route -n
Kernel IP routing table
Destination Gateway     Genmask     Flags   Metric  Ref Use Iface
0.0.0.0     10.0.0.1    0.0.0.0     UG  0   0   0   bond0
10.0.0.0    0.0.0.0.0   255.255.0.0 U   0   0   0   bond0

порты конфигурируются на переключателе:

#show etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-dst-ip


#sh run
interface Port-channel4
description trunk-to-srv1
switchport
switchport access vlan 123
switchport trunk allowed vlan 123
switchport mode trunk

#show etherchannel summary
Number of channel-groups in use: 10
Number of aggregators:           10

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
4      Po4(SU)         LACP      Gi1/25(P)   Gi2/25(P)   Gi5/25(P)

затем я проверяю с помощью ping-запросов gw и получаю ответ: Недостижимый Узел назначения

Где моя ошибка?

0
задан 14 November 2014 в 08:10
1 ответ

Как сказано в fukawi2, связь в порядке, проблема в IP-адресации.

У вас действительно 10.0.0.0/16 сконфигурирован в вашей локальной сети? Возможно ли вместо этого 10.0.0.0/24? Или другой IP-диапазон?

Не используйте ifconfig и route, они устарели. Вместо этого используйте ip-адрес и ip-маршрут.

.
1
ответ дан 4 December 2019 в 17:07

Теги

Похожие вопросы