Link aggregation and "[kern.warning] WARNING: IP: Hardware address 'XXXXXXX
Hi,
I am trying to play with link aggregation feature on Sun x4100 (Solaris 10 06/06 + all patches)
># cat /etc/hostname.aggr1
>srv1
># cat /etc/hosts | grep srv1 | head -1
>10.2.33.3srv1.domain.com srv1
># cat /etc/inet/ipnodes | grep srv1 | head -1
>10.2.33.3srv1
># ifconfig -a
>lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
>inet 127.0.0.1 netmask ff000000
>aggr1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>inet 10.2.33.3 netmask ffffff00 broadcast 10.2.33.255
>ether 0:14:4f:2a:11:48
>e1000g3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
>inet 10.2.34.98 netmask ffffffe0 broadcast 10.2.34.127
>ether 0:14:4f:2a:11:4b
># dladm show-link
>e1000g0 type: non-vlan mtu: 1500device: e1000g0
>e1000g1 type: non-vlan mtu: 1500device: e1000g1
>e1000g2 type: non-vlan mtu: 1500device: e1000g2
>e1000g3 type: non-vlan mtu: 1500device: e1000g3
>aggr1type: non-vlan mtu: 1500aggregation: key 1
># dladm show-dev
>e1000g0 link: upspeed: 1000 Mbpsduplex: full
>e1000g1 link: upspeed: 1000 Mbpsduplex: full
>e1000g2 link: downspeed: 0Mbpsduplex: half
>e1000g3 link: upspeed: 1000 Mbpsduplex: full
># dladm show-aggr
>key: 1 (0x0001) policy: L4address: 0:14:4f:2a:11:48 (auto)
>deviceaddressspeedduplex linkstate
>e1000g00:14:4f:2a:11:48 1000 Mbpsfullupattached
>e1000g10:14:4f:2a:11:49 1000 Mbpsfullupattached
># dladm show-aggr -L
>key: 1 (0x0001) policy: L4address: 0:14:4f:2a:11:48 (auto)
>LACP mode: off LACP timer: short
>deviceactivity timeout aggregatable sync coll dist defaulted expired
>e1000g0passive shortyes nonononono
>e1000g1passive shortyes nonononono
Some statistics:
># dladm show-aggr -s
>key: 1 ipackets rbytesopacketsobytes %ipkts %opkts
>Total62404327447842111 3474266265910602
>e1000g023435543040289643 180629312945140337.652.0
>e1000g138970674407709894 166809213646893962.4
>
># dladm show-link -s
>ipackets rbytes ierrors opacketsobytesoerrors
>e1000g0 0 000 00
>e1000g1 0 000 00
>e1000g2 0 000 00
>e1000g3 10069008008 541 0
>aggr163277547523738247 035293362704270060
># dmesg | grep -i aggr
>Sep 6 15:40:34 srv1 mac: [ID 543131 kern.info] NOTICE: aggr0/1 registered
Both NET0 and NET1 of my x4100 is plugged into Cisco 3560g gigabit ethernet switch.
NET0 is plugged into:
>cisco-3560g-1#sh runn inter GigabitEthernet 0/3
>Building configuration...
>
>Current configuration : 161 bytes
>!
>interface GigabitEthernet0/3
> switchport access vlan 2
> switchport mode access
> spanning-tree portfast
>end
NET1 is plugged into:
>cisco-3560g-1#sh runn inter GigabitEthernet 0/4
>Building configuration...
>
>Current configuration : 161 bytes
>!
>interface GigabitEthernet0/4
> switchport access vlan 2
> switchport mode access
> spanning-tree portfast
>end
Now in /var/adm/messages I can see a lot of messages like:
>Sep 7 12:43:13 ride ip: [ID 903730 kern.warning] WARNING: IP: Hardware address '00:14:4f:2a:11:48' trying to be our address 010.200.144.003!
Do I miss something? Should I do some extra setup on my cisco switch?

