Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4212324

Packets sent to broadcast address not received on servers bound to specific addr

XMLWordPrintable

    • Fix Understood
    • sparc
    • solaris_2.6

      Name: dbT83986 Date: 02/17/99


      UDP broadcasts are not received on binding to specific interface
      under Solaris 2.5 & 2.6. The broadcast packets are received under
      Windows 95 and Windows NT 4.0.
      Background:
        A DHCP server needs to detect which interface it has received
      a request from (to be able to allocate an address on the same
      net). Since java.net does not provide a way to detect the destination
      address a UDP packet was sent to, we opted for a work around by
      binding to all the addresses of the server and using the receiving
      thread to identify the source interface.
      This works fine on Windows.
      However on Solaris the server does not receive broadcasted requests.
      The DHCP server needs to receive these since initial requests
      from DHCP clients are broadcasts.
      (Review ID: 48935)
      ======================================================================

            michaelm Michael McMahon
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: