Subject: Re: SGI ethernet device question.
To: Brian D Chase <bdc@world.std.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-vax
Date: 01/10/1998 19:19:43
	I wouldn't have thought this would be down to ifconfig - rather it
	should be via a system call on the interface from within the mop
	server. On an SGI it would probably be... (falls back to egrep in
	/usr/include)

	OK, looks like you open /dev/llc2, plug DL_PROMISCON_REQ into
	a dl_promiscon_req_t struct, and putmsg() it to the fd... oh,
	and then getmsg() and decode the response.... yum.

	You could always try running snoop on the interface in another
	window before starting up the mop server - that should switch the
	interface into promisc mode. It might even work with a restrictive
	filter (to cut down the output from snoop). Not as clean of
	course, but cheap :)

		David/absolute

    		       - Oakwood apartments -
     - $1300 a month and people steal your laundry - What a place -

On Sat, 10 Jan 1998, Brian D Chase wrote:

> 
> Yes this is relevant to the NetBSD/VAX port.  A couple months ago I was
> working on netbooting from SGIs.  Everything worked great with the
> exception of getting the MOP server to behave properly on the SGI.  The
> problem I was running into was in getting the ec0 ethernet device on the
> Indigo^2 and O2 platforms to operate in promiscuous mode.
> 
> The searched the SGI man pages and on-line manuals looking for anything
> about configing the ethernet device to behave properly, but I just
> couldn't find anything.
>  
> When I run a strings on the actual ifconfig binary, among the output text 
> I get the following:
> 
>   flags
>   BROADCAST  
>   DEBUG  
>   LOOPBACK
>   POINTOPOINT
>   NOTRAILERS
>   RUNNING  
>   NOARP   PROMISC
>   ALLMULTI
>   FILTMULTI
>   MULTICAST
>   CKSUM
>  
> The PROMISC and ALLMULTI are promising, but I've no idea how or if I can
> set these flags using the IRIX ifconfig command.  Anyone?  I'd posed this
> question to the comp.sgi newsgroups a while back and never got an answer.
> 
> -brian.
> ---
> Brian "JARAI" Chase | http://world.std.com/~bdc/ | VAXZilla LIVES!!!
>