can I receive UDP broadcasts in aliases interfaces?

Previous thread: [patch 20/55] PNP: add debug output to encoders by Bjorn Helgaas on Monday, April 28, 2008 - 6:34 pm. (1 message)

Next thread: usb_submit_urb returns -38 - help? by Lyall Pearce on Monday, April 28, 2008 - 7:05 pm. (1 message)
To: lkml <linux-kernel@...>
Date: Monday, April 28, 2008 - 6:27 pm

Hi,

I'm trying to use aliased interfaces to run multiple instances of a
process that receives UDP broadcasts; I want to test all in a single
computer when I have no access to the network.

My problem is that I can bind to the virtual interface ip to send and
receive packets, but I don't receive udp broadcasts. I have no firewall
rules that block it and udp bcasts are generated from the same computer
too.

Is there any sysctl param I need to change? I'm usre this can be done but
I haven't found how.

Thanks
Pau
--

To: Pau Aliagas <linuxnow@...>
Cc: lkml <linux-kernel@...>
Date: Tuesday, May 6, 2008 - 4:30 am

Hm, set a proper broadcast address on the address? E.g.

ip addr add 192.168.0.137/24 brd + dev eth0
--

Previous thread: [patch 20/55] PNP: add debug output to encoders by Bjorn Helgaas on Monday, April 28, 2008 - 6:34 pm. (1 message)

Next thread: usb_submit_urb returns -38 - help? by Lyall Pearce on Monday, April 28, 2008 - 7:05 pm. (1 message)