Hello !
Inspecting behaviour for IPX packets I found out the following.
Let's imagine this configuration:
I have internal net C313E605, and 3 interfaces: 0xDD01, 0xDD02, 0xDD03, that
have different types.
I bind a socket and send broadcast packet through it, for example to 0x452
port.The problem, that this packet never leaves the internal net. Neigher
tcpdump on a nearby box shows it, nor kernel tells the packet was released. I
added some debugs in IPX code, here is the result:
Aug 28 03:50:33 phoenix kernel: en route: dst=00000000:FFFFFFFFFFFF:0452, on
sock=c3260b3c
Aug 28 03:50:33 phoenix kernel: Got standart handling,sourcenet rewritten to
C313E605:00000000DEAD
Aug 28 03:50:33 phoenix kernel: send:
src=C313E605:00000000DEAD:4005,dst=C313E605:FFFFFFFFFFFF:0452
Aug 28 03:50:33 phoenix kernel: from net:
src=C313E605:00000000DEAD:4005,dst=C313E605:FFFFFFFFFFFF:0452, on sock=c3559020
The packet was queued for routing, routing placed internel net source address
to the packet's source address, that's good. But, the destination network was
set to primary interface network, since this packet has zero ipx network and we
have primary ipx interface. This seems kinda strange to me: broadcasting ipx
packets make this packets loop back and nothing else. Is that correct
behaviour? Routing interface is set to primary interface as well, so no
further routing would ever occur. ipxitf_send() just demux this packet and
that's all. Looks weird. Or I have to find all ipx interfaces (if I want to do
a full broadcast) and bind sockets to all of them?
The problem, is that I am playing with ncplib and mars_nwe, not just 'what-if',
and I can't make ncplib to find any ipx resources on my LAN. May be the code is
just wrong.... The kernel is 2.2.11, ncplib is 2.2.0, and mars_nwe is 0.99pl12.
It would be nice, if I can get some explanations of what is wrong, or I just
understand nothing.
Thanx a lot.
Bye.
--
Johnson's First Law:
When any mechanical contrivance fails, it will do so at the
most inconvenient possible time.
--
With best of best regards, Pawel S. Veselov (aka Black Angel)
Web page : http://i.am/BlackAngel | ICQ UIN : 5252265
Internet e-mail : [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]