We're using VirtualBox to test a suite of Java servers which communicate with each other using UDP. The host is MacOSX and the guest VMs are running CentOS.
If VM #1 (192.168.56.101) does a UDP send to VM #2 (192.168.56.102), the packet is received.
If VM #1 does a UDP broadcast (192.168.56.255) the packet is never received by VM #2 (confirmed by checking that the RX packet count in ifconfig is not incremented).
The configuration returned by ifconfig looks like this:
Are there any known issues with UDP broadcast on VirtualBox host-only networks? If this should be something that works in VirtualBox, what sort of configuration issues might be preventing it from working?eth0 Link encap:Ethernet HWaddr 08:00:27:8C:1B:8E inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23165 errors:0 dropped:0 overruns:0 frame:0 TX packets:4107 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
Thanks,
Eric Smith