home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!agate!dog.ee.lbl.gov!lbl.gov!vxwexplo
- From: thoff@netxwest.com (Todd Hoff)
- Newsgroups: comp.os.vxworks
- Subject: Problem with broadcasts
- Date: Thu, 7 Jan 93 14:46:44 PST
- Organization: Lawrence Berkeley Laboratory, Berkeley CA
- Lines: 49
- Sender: vxwexplo@lbl.gov
- Message-ID: <9301072246.AA11015@cinnabar.netx.com>
- NNTP-Posting-Host: 128.3.112.16
- Originator: daemon@vxw.ee.lbl.gov
-
- I'm having problems sending broadcasts over our network and
- would like some help.
-
- The code that works on just a Sun network doesn't work under VxWorks,
- and neither does the VxWorks demo code-- just to show I'm not totally
- stupid :-)
-
- The test involves 2 machines X and Y. Some vitals are specified below.
- When I send directly from X to Y then Y receives the message, no problem.
- When I send to a broadcast address of 144.10.5.255 the message doesn't
- arrive. The reciever is setup to recieve for any address. I set the
- socket option for BROADCAST to on.
-
- Any ideas?
- Any good debugging tips?
-
- Thanx for any help.
-
- There is a Sun router on the network with an IP address of 144.10.2.6.
-
- The interface definition for machine X is:
- ln (unit number 0):
- Flags: (0x63) UP BROADCAST ARP RUNNING
- Internet address: 144.10.5.33
- Broadcast address: 144.10.5.255
- Netmask 0xffff0000 Subnetmask 0xffffff00
- Ethernet address is 00:c0:21:01:02:21
- Metric is 0
- Maximum Transfer Unit size is 1500
- 3633 packets received; 868 packets sent
- 0 input errors; 0 output errors
- 0 collisions
-
- Machine Y is the same accept the IP address is 144.10.5.63.
-
- Our route table is:
- ROUTE NET TABLE
- destination gateway flags Refcnt Use Interface
- ------------------------------------------------------------------------
- 0.0.0.0 144.10.5.2 3 2 746 ln0
- 144.10.0.0 144.10.5.33 1 2 137 ln0
- ------------------------------------------------------------------------
-
- ROUTE HOST TABLE
- destination gateway flags Refcnt Use Interface
- ------------------------------------------------------------------------
- 127.0.0.1 127.0.0.1 5 0 0 lo0
-
-
-