Subject: Re: Re: Re: where is "pseudo-device agr" ?
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Joel CARNAT <joel@carnat.net>
List: port-sparc64
Date: 10/30/2006 23:22:05
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

On Lun, oct 30 2006 - 09:25, YAMAMOTO Takashi wrote:
> > Now, when I add an interface to agr0, every other NICs stop to respond.
> > I have the on-board hme0 up and running (from where I ssh connect to the
> > box) and a pci Sun-Quad where I want to setup agr.
> > 
> > Here's what I tried:
> > # ifconfig agr0 create
> > # ifconfig agr0 agrport hme1
> > <FREEZE>
> 
> i don't know how it can happen.
> can you provide "ifconfig -a" from console?

yup, see attached file.

> are hme0 and hme1 connected to different switches?

hum... yes for the moment.
the Ultra5 is bound to become my gateway, so hme0 will be connected to
my ADSL router and hme1/2/3/4 will be connected to a 3Com switch.
but since I haven't finished configuring the whole thing, hme0/1/2 are
connected to the same 3Com switch.

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename="hyperterminal.txt"

bagheera# ifconfig hme1
hme1: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 08:00:20:a7:e9:31
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
bagheera# ifconfig hme2
hme2: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 08:00:20:a7:e9:31
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::a00:20ff:fea7:e931%hme2 prefixlen 64 scopeid 0x3
bagheera# ifconfig agr0 create
bagheera# ifconfig agr0 agrport hme1
bagheera# ifconfig hme1
hme1: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 08:00:20:a7:e9:31
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
bagheera# ifconfig agr0
agr0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        agrport: hme1, flags=0x3<COLLECTING,DISTRIBUTING>
        address: 08:00:20:a7:e9:31
bagheera# ifconfig agr0 agrport hme2
ifconfig: SIOCSETAGR: Device busy
bagheera# ifconfig hme2
hme2: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3c00<TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 08:00:20:a7:e9:31
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::a00:20ff:fea7:e931%hme2 prefixlen 64 scopeid 0x3
bagheera# ifconfig agr0 -agrport hme1
bagheera# ifconfig agr0 destroy
bagheera# exit

NetBSD/sparc64 (bagheera.tumfatig.net) (console)

login: 

--3MwIy2ne0vdjdPXF--