Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 14:45:18 +0200 (MET DST)
From:      Josef Belkovics <belkovic@albert.osu.cz>
To:        "Vasily V. Grechishnikov" <bazilio@economic.acnit.ac.ru>
Cc:        bugs@FreeBSD.ORG
Subject:   Re: IPX and Tulip needs promiscuous mode ??
Message-ID:  <Pine.BSF.3.95q.970415140621.618A-100000@albert.osu.cz>
In-Reply-To: <Pine.BSF.3.91.970415132624.492B-100000@economic>

next in thread | previous in thread | raw e-mail | index | archive | help
> 			Hi !
> 	I have FreeBSD 2.2 RELEASE. My FreeBSD box is an Internet gateway
> and Samba file server for three LANs. I need an IPX gateway, in two of 
> three LANs I have NetWare file servers. 
> 	My FreeBSD box :
> 	
>  			   ed0 ( NE200)---NetWare 4.1
> 				|				
> 	NetWare 3.12----ed1( NE200)
> 				|
> 		           de0( DEC21040)-----NetWare clients
> 	
> IPX routing works fine on my FreeBSD, but with following problem:
> IPX packets forwards de0 <-> ed0 or de0 <-> ed1 only if on the de0 interface
> promiscuous mode is enabled, forwarding through ed1 <-> ed0 works without
> promiscuouty on the this interfaces.
> 
> 	I try the following steps:
> 	1. I compiled the kernel with 
> 		options IPX 
> 		options IPX_PRINTFS=0
> 		options	IPX_ERRPRINTFS=0
> 	2. I ifconfig'ured my interfaces according to their correct IPX 
> 	   network numbers 
> 	3. I turned MIB variable net.ipx.ipx.ipxforwarding=1
> 	4. I ran IPXrouted with option -s .
> 	5. But it works only if I run tcpdump -i de0 or
> 	   my own program which simply turn promiscuouty on specified network 
> 	   interface.
> 
> 	May be Tulip device driver contain some errors? I haven't expirience
> to analyze /sys/pci/if_de.c ( 130K ) ;-) .
> 
> 	Any suggestions?

I think, that you run your servers only with frames ethernet_ii (load
ne2000 port=300 int=10 frame=ethernet_ii etc.).  But your clients runs
with origin 'net.cfg', where are usually options like:

link driver <<de0>>
	frame ethernet_ii
	frame ethernte_802.2
	frame ethrenet_802.3
	...

In this case the default frame type is usually 802.2 and according README
in /sys/i386/ipxnet (?) ipx protocol knows only ii. If I am true, try
configure 'net.cfg' on some client (e.g. delete lines with 802.x or snap)
and give to know.

I don't know, what exactly means 'promiscuous mode'. I guess, that such
interface some strange way sends ALL frames types to (IPXrouted) and,
maybe, IPXrouted knows 802.2 etc. It was explained behaviour your LAN. 

(Option -s for IPXrouted isn't needed. One knows, that if the pc has two
or more interfaces, pc is router and program will be propagate routing
table.) 

Can you send me list from 'netstat -r', 'netstat -i'? I have exactly the
same problem + problem, that I installed 2.2.1R in sunday and from this
time my brave server 3 times CRASHED. My favourite 2.1.0R never crashed. 

JPB (Josef P. Belkovic, Ostravska Universita, Czech republic).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970415140621.618A-100000>