Hi folks,
Can someone give me a simple working example of what's required on 2 linux boxes and the network switch in order to send files. 1 box is the sender and the other the receiver. I've never done anything with multicast before.
I'm trying this in a sandbox. I've got a Symbol ES 3000 PWR switch and have IGMP snooping turned on. Both linux boxen connected to the switch. I've been reading the help on the website but still cannot seem to send a file.
THe basic operation does not work :
./udp-sender --file udp-sender Udp-sender 2005-02-26 Using mcast address 49.152.135.239 UDP sender for udp-sender at 49.152.135.47 on eth0 Broadcasting control to 255.152.135.47 [waits here til I hit enter, then] Starting transfer: 00000019 Transfer complete.
But on the other end udp-reciever is still just waiting : udp-receiver --file udp-sender Udp-receiver 2005-02-26 UDP receiver for udp-sender at 50.152.135.47 on eth1
Nothing. When hit enter, still nothing. When I ctrl-C the udp-sender file is there but size zero. Oh, I'm just trying to get it to send itself as an example
I also try lots of the different tuning options including --nokbd, --broadcast and more, and still cannot get anything to transfer.
Any idea what I'm doing wrong?
thanks, -Alan
What is your netmask? It looks to me like these two machines are probably not in the same subnet.
In a typical setup, if you had a network on 192.168.0.* with a netmask of 255.255.255.0, it would broadcast/multicast to all of the machines between 192.168.0.1 to 192.168.0.254 A machine at 192.168.1.1 would not see a packet.
--Donald Teed
On Tue, 4 Oct 2005, Alan McKay wrote:
Hi folks,
Can someone give me a simple working example of what's required on 2 linux boxes and the network switch in order to send files. 1 box is the sender and the other the receiver. I've never done anything with multicast before.
I'm trying this in a sandbox. I've got a Symbol ES 3000 PWR switch and have IGMP snooping turned on. Both linux boxen connected to the switch. I've been reading the help on the website but still cannot seem to send a file.
THe basic operation does not work :
./udp-sender --file udp-sender Udp-sender 2005-02-26 Using mcast address 49.152.135.239 UDP sender for udp-sender at 49.152.135.47 on eth0 Broadcasting control to 255.152.135.47 [waits here til I hit enter, then] Starting transfer: 00000019 Transfer complete.
But on the other end udp-reciever is still just waiting : udp-receiver --file udp-sender Udp-receiver 2005-02-26 UDP receiver for udp-sender at 50.152.135.47 on eth1
Nothing. When hit enter, still nothing. When I ctrl-C the udp-sender file is there but size zero. Oh, I'm just trying to get it to send itself as an example
I also try lots of the different tuning options including --nokbd, --broadcast and more, and still cannot get anything to transfer.
Any idea what I'm doing wrong?
thanks, -Alan
-- http://www.bodensatz.com/ The Beer Site
Udpcast mailing list Udpcast@udpcast.linux.lu https://lll.lgl.lu/mailman/listinfo/udpcast
OK, got it going! It was the bcast address. One of the two machines for some reason was not having it's bcast set to be consistent with it's net mask. Not sure why that is, but it was easy to fix manually.
Thanks all for your help!