From owner-freebsd-questions Sat Aug 22 21:40:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA26305 for freebsd-questions-outgoing; Sat, 22 Aug 1998 21:40:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA26284 for ; Sat, 22 Aug 1998 21:40:13 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id VAA02608; Sat, 22 Aug 1998 21:39:27 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 22 Aug 1998 21:39:26 -0700 (PDT) From: Doug White To: Lee.David@oscsystems.com cc: Freebsd-questions@FreeBSD.ORG Subject: Re: Multicast Packet size problem In-Reply-To: <85256666.0066A145.00@smtpgt2.oscsystems.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 20 Aug 1998 Lee.David@oscsystems.com wrote: > I developed an application that does multicasting.....I am trying to send > packet sizes ranging from 1000 bytes to 12,500 bytes. My test > configuration consist of a receiver on one and a sender both FREE BSD ver > 2.2.6. I can successfully send and receive a packet size of 1400 bytes or > less, using the system calls sendto and recvfrom. However, I cannot seem > to get it to work for packets larger than 1400 bytes. The symptoms of the > sender are as follow - after a hundred or more packets the sendto system > call returns an error code via the perror call of such "sendto: can not > route to host". In addition the receiver never receives any packets at > all!! Are the sender and receiver on the same network? What happens if you immediately restart the program? Run a traceroute to the other host? > FYI, I also found that if run the test with packet size greater than 1400 > bytes, starting the same sender and receiver mention above in different > process windows on the same machine, the sender behaves the same. However > the receiver does indeed receive all packets generated by the sender!!! > > I have set up an SGI IRIX UNIX machine as the sender and the receiver a > FREEBSD and am able to run both of the above test successfully. > > Your help would be greatly appreciated, I have spent a few days looking > into this problem and am stumped. I'd also set up tcpdump and see where the ICMP No Route To Host message is coming from. Your router may be dropping such a message to shut up the sender. I'm not sure 12k packets are kosher -- they're going to fragment _badly_ since Ethernet can only send 1500 bytes at once. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message