Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2000 14:56:53 -0700
From:      "Dmitry U. Karpov" <Dmitry.Karpov@misa.ac.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   FreeBSD-based IPX-router
Message-ID:  <39DE4AA5.691A@misa.ac.ru>

next in thread | raw e-mail | index | archive | help
Sorry, I am very little speak english.
If you read the bad word - it is my mistake only.


I need to install IPX-router on the FreeBSD'3.4
to connect DOS/Windows-clients ('xl0' interface)
to NetWare-server ('xl1' interface).

I make new kernel with  'options	IPX'.

	I make /etc/rc.conf :
router="routed"
router_enable="NO"
gateway_enable="YES"
ipxgateway_enable="YES"
hostname="alloy.misa.ac.ru"
ifconfig_xl0="inet <my_IP_address>	netmask 255.255.255.192"
ifconfig_xl0_alias0="inet 10.0.0.1	netmask 255.0.0.0"
ifconfig_xl0_alias1="inet 192.168.1.254	netmask 255.255.0.0"
ifconfig_xl0_alias2="inet 192.168.12.2	netmask 255.255.255.0"
ifconfig_xl0_alias3="inet 192.168.8.1	netmask 255.255.255.0"
ifconfig_xl0_ipx="ipx 0x00000080"
ifconfig_xl1="inet 192.168.96.1		netmask 255.255.255.0"
ifconfig_xl1_alias0="inet 192.168.69.1	netmask 255.255.255.0"
ifconfig_xl1_ipx="ipx 0x34EE07B0"
defaultrouter="193.232.119.129"
firewall_enable="YES"
firewall_type="open"
natd_enable="YES"
natd_interface="xl0"
named_enable="YES"

	When I running 'IPXrouted -s -t' I see
Adding route to interface xl0
action dst 80#0:0:0:0:0:0, router 80#0:10:4b:6:4c:c4, metric 0, ticks 0,
flags UP state INTERFACE|CHANGED
Adding route to interface xl1
action dst 34ee07b0#0:0:0:0:0:0, router 34ee07b0#0:a0:24:e9:17:94,
metric 0, ticks 0, flags UP state INTERFACE|CHANGED
REQUEST to 34ee07b0#ff:ff:ff:ff:ff:ff#0:
	net ffffffff metric 16 ticks 65535
REQUEST to 80#ff:ff:ff:ff:ff:ff#0:
	net ffffffff metric 16 ticks 65535
REQUEST to 34ee07b0#ff:ff:ff:ff:ff:ff#452:
REQUEST to 80#ff:ff:ff:ff:ff:ff#452:
RESPONSE to 34ee07b0#ff:ff:ff:ff:ff:ff#453:
	net 80 metric 1 ticks 1
RESPONSE to 80#ff:ff:ff:ff:ff:ff#453:
	net 34ee07b0 metric 1 ticks 1
REQUEST from 34ee07b0#0:a0:24:e9:17:94#453:
	net ffffffff metric 16 ticks 65535
REQUEST received 34ee07b0#0:a0:24:e9:17:94#452:
Received a sap REQ packet.
REQUEST from 80#0:10:4b:6:4c:c4#453:
	net ffffffff metric 16 ticks 65535
REQUEST received 80#0:10:4b:6:4c:c4#452:
Received a sap REQ packet.
RESPONSE from 34ee07b0#0:a0:24:e9:17:94#453:
	net 80 metric 1 ticks 1
RESPONSE from 80#0:10:4b:6:4c:c4#453:
	net 34ee07b0 metric 1 ticks 1
HASH 1
HASH 2
...
HASH 255

RESPONSE to 34ee07b0#ff:ff:ff:ff:ff:ff#453:
	net 80 metric 1 ticks 1
RESPONSE to 80#ff:ff:ff:ff:ff:ff#453:
	net 34ee07b0 metric 1 ticks 1
RESPONSE from 34ee07b0#0:a0:24:e9:17:94#453:
	net 80 metric 1 ticks 1
RESPONSE from 80#0:10:4b:6:4c:c4#453:
	net 34ee07b0 metric 1 ticks 1
^C
RESPONSE to 34ee07b0#ff:ff:ff:ff:ff:ff#453:
	net 80 metric 16 ticks 1
RESPONSE to 80#ff:ff:ff:ff:ff:ff#453:
	net 34ee07b0 metric 16 ticks 1

When I connect DOS-client to NetWare-server directly - it works
(Ethernet frame is 802.2).
When I connetc them via FreeBSD - it failed.
What am I need to check and edit?
Does I need new (4.1.1) FreeBSD version?

	I think, the reason of my problem is wrong Ethernet frame -
	/sys/netipx/ipx_if.h contains
#define ETHERTYPE_IPX_8022      0x00e0  /* Ethernet_802.2 */
#define ETHERTYPE_IPX_8023      0x0000  /* Ethernet_802.3 */
#define ETHERTYPE_IPX_II        0x8137  /* Ethernet_II */
#define ETHERTYPE_IPX_SNAP      0x8137  /* Ethernet_SNAP */
#
#define ETHERTYPE_IPX           0x8137  /* Only  Ethernet_II Available
*/

	May be, I need add to NetWare-server/clients
FRAME=Ethernet_II
?

PS: Please, raply directly.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39DE4AA5.691A>