Hi
I'm trying to run an experiment (initially) with regards bonding/
trunking ethernet ports under OpenBSD (current) .. but I'm hitting a
snag and I haven't been able to google my way out of it as yet ...
I have 2 x Broadcom NICS set at 10mbit full duplex (for the purposes
of the test .. in real life these will be either 2 or 4 x GigE ports)
bonded together using trunk(4) (it's likely to be some time before we
can afford 10 Gig infrastructure, but need more than 1Gig between
certain segments of our network)
My problem is that graphs of the 2 cisco ports show traffic is only
going via the 1 port and not being balanced across both ports as I
would have expected.
What I need is what I believe is referred to as "link aggregation" ..
ie traffic equal to the sum of all members of the "trunk(4)" and not
just the one interface.
Helpful pointers gratefully received!
OpenBSD 4.0-current (GENERIC) #1: Sun Feb 11 23:29:59 GMT 2007
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
bge0 at pci3 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): irq 12, address 00:30:48:83:39:c4
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
bge1 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): irq 10, address 00:30:48:83:39:c5
cat /etc/hostname.trunk0
up trunkproto loadbalance trunkport bge0 trunkport bge1
cat /etc/hostname.bge0
up
cat /etc/hostname.bge1
up
ifconfig trunk0
trunk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:30:48:83:39:c4
trunk: trunkproto loadbalance
trunkport bge1 active
trunkport bge0 master,active
groups: trunk
media: Ethernet autoselect
status: active
inet6 fe80::230:48ff:fe83:39c4%trunk0 prefixlen 64 scopeid 0x6
I have a cisco 3750 set with the 2 ports in their own channel
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/1
description router-trunk
switchport trunk encapsulation dot1q
switchport mode trunk
duplex full
speed auto 10
channel-group 1 mode on
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/2
description router-trunk
switchport trunk encapsulation dot1q
switchport mode trunk
duplex full
speed auto 10
channel-group 1 mode on
spanning-tree portfast trunk
sh ether 1 s
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 2
Number of aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------
+-----------------------------------------------
1 Po1(SU) - Gi1/0/1(P) Gi1/0/2(P)
I have a host configured on a GigE port connected directly to the
3750 and the OpenBSD box setup as a router
vlan309: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:30:48:83:39:c4
vlan: 309 priority: 0 parent interface: trunk0
groups: vlan
inet6 fe80::230:48ff:fe83:39c4%vlan309 prefixlen 64 scopeid 0x8
inet 80.252.126.1 netmask 0xffffff00 broadcast 80.252.126.255
--
Jon Morby
FidoNet Registration Services Ltd
tel: 0845 004 3050 / fax: 0845 004 3051
web: http://www.fido.net/