Subject: Re: Re: Re: Re: where is "pseudo-device agr" ?
To: Michael-John Turner <mj@turner.org.za>
From: Joel CARNAT <joel@carnat.net>
List: port-sparc64
Date: 11/01/2006 17:04:03
On Mar, oct 31 2006 - 19:36, Michael-John Turner wrote:
> 
> This is probably a silly point, but I notice that all your interfaces have
> the same MAC. If agr0 and hme0 have the same MAC, and they're connected to
> the same switch, won't it cause problems?
> 
> Perhaps try setting the PROM variable local-mac-address? to true, which
> will force OpenBoot to use the qfe's built-in hardware addresses instead of
> the hostid for hme1-4 (which will in turn result in agr0 having a MAC
> different from hme0).
> 

not silly at all !=)
it seems to work now.

hme0: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        address: 08:00:20:a7:e9:31
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 10.0.0.9 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::a00:20ff:fea7:e931%hme0 prefixlen 64 scopeid 0x1
hme1: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 08:00:20:f3:a0:28
        media: Ethernet autoselect
hme2: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 08:00:20:f3:a0:29
        media: Ethernet autoselect
agr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        agrport: hme1, flags=0x3<COLLECTING,DISTRIBUTING>
        agrport: hme2, flags=0x3<COLLECTING,DISTRIBUTING>
        address: 08:00:20:f3:a0:28
        input: 18 packets, 1454 bytes, 10 multicasts
        output: 6 packets, 376 bytes, 3 multicasts
        inet 10.0.0.128 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::a00:20ff:fef3:a028%agr0 prefixlen 64 duplicated scopeid 0x8

I can ping the agr0 IP and connect with SSH to it.
I can still see warnings in dmesg but it does not seem to interfere with
network flow.

agr0: DAD detected duplicate IPv6 address fe80:0008::0a00:20ff:fef3:a028: NS in/out=1/1, NA in=0
agr0: DAD complete for fe80:0008::0a00:20ff:fef3:a028 - duplicate found
agr0: manual intervention required
agr0: possible hardware address duplication detected, disable IPv6
arplookup: unable to enter address for 10.0.0.9@08:00:20:a7:e9:31 on agr0 (host is not on local network)
arplookup: unable to enter address for 10.0.0.9@08:00:20:a7:e9:31 on agr0 (host is not on local network)
arplookup: unable to enter address for 10.0.0.9@08:00:20:a7:e9:31 on agr0 (host is not on local network)
arplookup: unable to enter address for 10.0.0.9@08:00:20:a7:e9:31 on agr0 (host is not on local network)

Regards,
	Jo