kern/74105: IPX protocol support doesn't work

Vladimir Kurtukov vk at
Thu Nov 18 23:00:50 PST 2004

>Number:         74105
>Category:       kern
>Synopsis:       IPX protocol support doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 19 07:00:49 GMT 2004
>Originator:     Vladimir Kurtukov
>Release:        FreeBSD 5.3-RELEASE i386
System: FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Thu Nov 18 09:22:33 NKZ 2004 vk at i386

world compiled with 
CFLAGS= -O -pipe

xl0: <3Com 3cSOHO100-TX OfficeConnect> port 0xc000-0xc07f mem
07f irq 12 at device 4.0 on pci1
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:fb:33:e2
fxp0: <Intel 82557 Pro/100 Ethernet> port 0xc400-0xc41f mem
f,0xd6000000-0xd6000fff irq 11 at device 10.0 on pci1
miibus1: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:a0:c9:91:34:8f

kernel config is like GENERIC bit with commented out SCSI, firewire, USB,
network cards and this options:

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPDIVERT
options         BRIDGE
# ipx support
options         IPX
device          ef
options         ETHER_II


	IPX support work fine on 4-STABLE, but with 5-BETA7 and 5.3-RELEASE
        I can't force it to work. tcpdump shows strange IPX network in
        outgoing packets.

        # tcpdump -p -i xl0 -n -e ipx 
        correct packet (net 0x123) comes from Novell Netware server:

10:30:07.740774 00:60:08:96:c0:46 > ff:ff:ff:ff:ff:ff, ethertype IPX
(0x8137), length 494: (NOV-ETHII) 00000123.00:60:08:96:c0:46.0452 >
00000123.ff:ff:ff:ff:ff:ff.0452:ipx-sap-resp[|ipx 448]

        # tcpdump -p -i xl0 -n -e ipx and ether host 00:01:02:fb:33:e2
        outgoing packet from out machine:

10:30:57.458631 00:01:02:fb:33:e2 > ff:ff:ff:ff:ff:ff, ethertype IPX
(0x8137), length 58: (NOV-ETHII) 04530000.01:23:00:01:02:fb.33e2 >
00000000.01:23:ff:ff:ff:ff.ffff: ipx-#ffff 14

        IPX network on interface is configured as 0x123, but tcpdump shows
        0x4530000 and node number not same as MAC address. seems like net
        number shifted to right by 2 bytes:
           04530000.01:23:00:01:02:fb - incorrect
           00000123.00:01:02:fb:33:e2 - correct

        the same behavior is with xl0, fxp0 and with device ef's xl0f0,

        compile kernel with IPX support:

        options         IPX

        #ifconfig <iface> ipx 0x123

        #tcpdump -p -i <face> -n -e ipx and ether host <iface mac>

        address in outgoing packets must be 00000123.<iface mac>




More information about the freebsd-bugs mailing list