Hi Xu Zhe, If I were you I would first of all check cables. They might be the cause. Secondly, if cables are good, to me this report very much resembles a PR I reported a few weeks ago - http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/179926 Check its set and look at the patch I submitted. It's a pity there's no response to it.
Greetings, Boris On Thu, Jul 25, 2013 at 3:55 PM, Xu Zhe <pete...@cyphy.net> wrote: > Hi, all, > > I am trying to use lagg to bind four 1Gb NIC into 4Gb one. I was testing > this using two machines running FreeBSD 8.2, each of the machine has > four 1Gb ethernet card, and connected correspondingly, means: > > MACHINE1 MACHINE2 > em0 <--------------------->em0 > em1 <--------------------->em1 > em2 <--------------------->em2 > em3 <--------------------->em3 > > Then I created vlan called 'lagg0' on each machine using: > > ifconfig lagg0 create > ifconfig lagg0 laggproto lacp laggport em0 laggport em1 laggport em2 > laggport em3 > ifconfig lagg0 1.1.1.1/24 > ifconfig lagg0 up > > And do this on MACH2 too, only change IP from 1.1.1.1 to 1.1.1.2. > > But I cannot ping each other, since none of the link is both active: > > MACHINE1 > # ifconfig lagg0 > lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC> > ether 00:08:9b:d4:91:64 > inet 1.1.1.1 netmask 0xffffff00 broadcast 1.1.1.255 > media: Ethernet autoselect > status: active > laggproto lacp > laggport: em3 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> > laggport: em2 flags=18<COLLECTING,DISTRIBUTING> > laggport: em1 flags=18<COLLECTING,DISTRIBUTING> > laggport: em0 flags=18<COLLECTING,DISTRIBUTING> > > MACHINE2 > # ifconfig lagg0 > lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC> > ether 00:08:9b:d3:72:60 > inet 1.1.1.2 netmask 0xffffff00 broadcast 1.1.1.255 > media: Ethernet autoselect > status: active > laggproto lacp > laggport: em3 flags=18<COLLECTING,DISTRIBUTING> > laggport: em2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> > laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> > laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> > > So, em3 is active on MACHINE1 but not active on MACH2, while em0-em2 are > active on MACH2 but not on MACHI1. > > What might be the problem? > > Thanks! > Peter > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"