[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UDP Broadcast



I'm not sure but ...
UDP in ISO/OSI is on layer 4 ...
I think is not possible 'crossing' on different subnet, unless you
have a routing system on your linux machine... how many ethernet
interfaces have you got in your linux system?
Probably you can, only with multi-homed system, assigning different IP
on same network interface creating some virtual interfaces (if you
have only one physical network interface)

On 5/22/06, Michael Wüst <mwuest@gev5.gotdns.org> wrote:
Hi @ all,

I have the following problem:

System is Debian Linux Sarge with Kernel 2.4.29. I want to
send and receive UDP Broadcasts. I have no firewall
installed, the system is very basic.

The Broadcasts need to be received from systems not being
in the same subnet and to be sent to systems not being in
the same subnet.

I am using sockets with SO_BROADCAST enabled. The packet
is sent out and received, but only in the same subnet, not
in other subnets being on the same physical network.

What am I doing wrong? What is exactly the meaning of the
broadcast value in /etc/network/interfaces? Are there any
specific parameters to be set? Are there any special kernel
issues that need recompiling? Is the broadcast adress
255.255.255.255 correct?

Maybe someone has any for functionality approved command
line test program that sends out any "text" by UDP broadcast
so that I can check whether the linux is blocking or my
configuration is or my programing is wrong.

Any help appricated. Links to FAQs, PDFs appreciated too.

Thanks,
bye,
Michael.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Michele Della Marina
michele@cdm-soft.it



Reply to: