[comp.protocols.tcp-ip] UDP Broadcasting Question

anderson@ncrorl.Orlando.NCR.COM (Anderson) (11/16/89)

I've got a question on the correct behavior of broadcasting using UDP.
Here's the scenario:
	A host has an ethernet connection and a SLIP connection (and
	of course the loopback). Some program broadcasts a packet
	using UDP and an address that will broadcast to all networks,
	not just the 'local' net (ie. network number is broadcast also,
	not specific).

	Which of the following is true?

		1) The packet is sent on all three interfaces
		because it is a broadcast packet.

		2) The packet is sent on ONLY the ethernet
		interface because it is the only interface
		that has the IFF_BROADCAST flag set.

		3) Something else happens.

	If #1 is true, whose responsibility is it to send the packet to
	each interface, IP or UDP?

	If #2 is true, is there some way to get the packet to go through
	the SLIP interface with out sending it explicitly to the host at
	the other end?

I've been looking at some source, but it doesn't agree with what I think
should be going on. Any enlightenment would be appreciated.

Stuart Anderson        anderson@Orlando.NCR.COM       NCR E&M Orlando, Florida
..!uunet!ncrlnk!ncrorl!anderson                       (407) 333-9250 ext. 288

      The opinions expressed here are my own and in no way reflect those
          of my employer or any one else unless specifically stated.