From owner-freebsd-net Tue May 7 9: 8:53 2002 Delivered-To: freebsd-net@freebsd.org Received: from cedar.ie.tusur.ru (cedar.ie.tusur.ru [212.192.122.23]) by hub.freebsd.org (Postfix) with ESMTP id C968C37B403 for ; Tue, 7 May 2002 09:07:54 -0700 (PDT) Received: from rainbow.ie.tusur.ru (rainbow.ie.tusur.ru [212.192.122.75]) by cedar.ie.tusur.ru (8.11.6/8.11.6) with ESMTP id g47G2qj45251 for ; Tue, 7 May 2002 23:02:53 +0700 (TSD) (envelope-from pg@rainbow.ie.tusur.ru) Received: (from pg@localhost) by rainbow.ie.tusur.ru (8.9.3/Cedar1_MH) id XAA69974 for freebsd-net@freebsd.org; Tue, 7 May 2002 23:02:52 +0700 (TSD) (envelope-from pg) Date: Tue, 7 May 2002 23:02:51 +0700 From: Pavel Gubin To: freebsd-net@freebsd.org Subject: netgraph and ipx tunneling Message-ID: <20020507230250.C69343@ie.tusur.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: TUCSR, Industrial Electronics dept Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I have the following network setup: Srv1 Srv2 [nw3.12]--ipx/802.2--[freebsd4.4]--ip--[freebsd4.4]--ipx/eII--[clients] 0x2 net=0x23 fxp1 IP1 IP2 xl0 net=0x56 I trying to setup ipx tunnel between Netware 3.12 and "clients" in remote intranet in such a way: Srv1: - kernel with net options: INET,IPFIREWALL,IPFIREWALL_FORWARD,IPDIVERT,IPX,IPXIP,DUMMYNET - net.ipx.ipx.ipxforwarding=1 - module if_ef loaded as KLD, compiled with options ETHER_II, ETHER_8022 - startup: ifconfig fxp1f2 ipx 0x23 ngctl mkpeer iface dummy ipx ngctl msg ng0: broadcast ngctl mkpeer ng0: ksocket ipx inet/dgram/udp ngctl name ng0:ipx ipxtun ngctl msg ipxtun: bind inet/IP1:4444 ngctl msg ipxtun: connect inet/IP2:4444 ifconfig ng0 ipx 0x2356.0x2323 IPXrouted -s Srv2: - kernel with net options: INET,IPFIREWALL,IPDIVERT,IPX,DUMMYNET - net.ipx.ipx.ipxforwarding=1 - module if_ef not loaded - startup: ifconfig xl0 ipx 0x56 ngctl mkpeer iface dummy ipx ngctl msg ng0: broadcast ngctl mkpeer ng0: ksocket ipx inet/dgram/udp ngctl name ng0:ipx ipxtun ngctl msg ipxtun: bind inet/IP2:4444 ngctl msg ipxtun: connect inet/IP1:4444 ifconfig ng0 ipx 0x2356.0x3838 IPXrouted -s Then: 1) nw3.12's DISPLAY NETWORKS result: 00000002 0/1 00000023 0/1 0000056 2/2 0002356 1/1 2) Srv1's netstat -rnf ipx: 2.* 23.30840e17ae UG fxp1f2 ^^^^^^^^^^-----------(nw3.12's MAC) 23.* 23.60b01a8ec2 U fxp1f2 56.* 2356.3838 UG ng0 2356.* 2356.2323 U ng0 3) Srv2's netstat -rnf ipx: 2.* 2356.2323 UG ng0 23.* 2356.2323 UG ng0 56.* 56.102dd9382 U xl0 2356.* 2356.3838 U ng0 Seems that all OK, but clients did not see the Netware server :( Where am I wrong? -- Pavel Gubin TUSC&R / Industrial Electronics dept / System Administrator 2:5005/14@fidonet / Phone +7-3822-423067 / ICQ 28835566 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message