Hello, Petr!
On Mon, 30 Aug 1999, Petr Vandrovec Ing. VTEI wrote:
>>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
>RIP & SAP sockets are handled specially because of Netware internal router
>complains (and it have good reason to complaint) if it receives IPX frame with
>source or destination network different from wire's one. And for RIP/SAP
>sockets if you send frame to existing network, source address will be set to
>outgoing interface address regardless of your bind address. Sending these
>(RIP/SAP) frames to default network is just nonsense, except when you are
>doing network number detection.
But nwsfind is doing this. It binds to nothing but port and sends IPX brodcast
to 0x0 net. Kernel sends this packet to internal net only, since it is primary
interface. If I have no local netware server, I would never got an answer for
this packet. I agree, that there is no sence in sending this packets to
internal net only. And one more question - you told we want to change source
address to outgoing interface address (is this is doing in that 'special
mars_nwe handling' ?), but what interface should be chosen for that ? And once
more about this 'special mars_nwe handling' - we are changing the source
address for packets, that have source port set to RIP or SAP. Is it good idea ?
I mean, may be the packets with destination RIP or SAP should be rewritten as
well ?
>>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
>>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?
>Yes. And send these frames with SO_DONTROUTE (after some changes in ipx code)
>to be on safe side...
Can't get the idea :( If I bind all of interfaces in the user code, and send
broadcasts for this networks only, how can ipx kernel route this packets to
another networks ?
Bye.
--
What ever happened to happily ever after?
--
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]