Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* SO_BROADCAST: how far will it go?
@ 1995-07-31  4:00 Thomas Leitner
  1995-08-01  4:00 ` Steve Huston
  1995-08-01  4:00 ` Kurt Pintoffl
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Leitner @ 1995-07-31  4:00 UTC (permalink / raw)


[ Article crossposted from comp.protocols.tcp-ip ]
[ Author was Thomas Leitner ]
[ Posted on 31 Jul 1995 16:29:30 GMT ]

Hi,

Both, Ultrix and Digital Unix (alias OSF/1) provide UDP datagram
broadcasts be setting the SO_BROADCAST socket option and specifying
INADDR_BROADCAST for the destination.

I need to know how far a broadcasted UDP datagram comes on a given
network. I suppose it can only be received on the local LAN segment.

But:

- does it go though a bridge ?
- can a router be configured to forward broadcasted UDP datagrams 
  to a certain subnet ?
- does an FDDI net make any difference in that context?

Thanks -- Tom

--
Tom Leitner, tom@finwds01.tu-graz.ac.at              |\      _,,,---,,_
Dept. of Communications                         zzz. /,`.-'`'    -.  ;-;;,_.
Graz University of Technology                       |,4-  ) )-,_. ,\ (  `'-'
Inffeldgasse 12                                    '---''(_/--'  `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html

--
Tom Leitner, tom@finwds01.tu-graz.ac.at              |\      _,,,---,,_
Dept. of Communications                         zzz. /,`.-'`'    -.  ;-;;,_.
Graz University of Technology                       |,4-  ) )-,_. ,\ (  `'-'
Inffeldgasse 12                                    '---''(_/--'  `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SO_BROADCAST: how far will it go?
  1995-07-31  4:00 SO_BROADCAST: how far will it go? Thomas Leitner
@ 1995-08-01  4:00 ` Steve Huston
  1995-08-02  4:00   ` Thomas Leitner
  1995-08-01  4:00 ` Kurt Pintoffl
  1 sibling, 1 reply; 5+ messages in thread
From: Steve Huston @ 1995-08-01  4:00 UTC (permalink / raw)


tom@finwds01.tu-graz.ac.at (Thomas Leitner) wrote:
>I need to know how far a broadcasted UDP datagram comes on a given
>network. I suppose it can only be received on the local LAN segment.
>
>But:
>
>- does it go though a bridge ?

I'm not 100% sure on this one, but I'd say 'yes'.

>- can a router be configured to forward broadcasted UDP datagrams 
>  to a certain subnet ?

It'll depend on the router, but it should be possible to configure it
to forward broadcasts to other subnets within your IP net.  It most likely
won't do it by default, and you should be careful about enabling this sort
of thing - it can cause a lot of traffic that your net may not be able
to handle comfortably.

>- does an FDDI net make any difference in that context?

No.

-- 
Steve Huston                              Blue Sky Software Corporation
TCP/IP, CORBA, DCE consulting and apps    P.O. Box 948
CompuServe: 72133,2372                    Wrentham, MA 02093-0948
Internet:   shuston@bluesky.iii.net       (508) 384-5770




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SO_BROADCAST: how far will it go?
  1995-08-01  4:00 ` Kurt Pintoffl
@ 1995-08-01  4:00   ` Thomas Leitner
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Leitner @ 1995-08-01  4:00 UTC (permalink / raw)


Kurt Pintoffl (pintoffl@pbox.joanneum.ac.at) wrote:
: In article <3vj0er$sa8@fstgds15.tu-graz.ac.at> tom@finwds01.tu-graz.ac.at (Thomas Leitner) writes:
: >From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
: >Subject: SO_BROADCAST: how far will it go?
: >Date: 31 Jul 1995 16:30:19 GMT

: >I need to know how far a broadcasted UDP datagram comes on a given
: >network. I suppose it can only be received on the local LAN segment.

: >But:

: >- does it go though a bridge ?
: >- can a router be configured to forward broadcasted UDP datagrams 
: >  to a certain subnet ?
: >- does an FDDI net make any difference in that context?

: My experience:
: 1) Yes
: 2) Yes, use the "ip helper-address ip-address" command to selective
:    forward UDP broadcasts to a specified ip-address
: 3) No

Thanks for your reply. One additional question, though: UDP datagrams
are said to be unreliable, meaning that the datagrams can be lost.

In the case of broadcasted datagrams: Can datagrams be lost in the
following cases:

1.) when received on the local LAN segment
2.) when received on a LAN segment separated by a bridge
3.) when received on a LAN segment separated by a router with UDP broadcast
    forwarding enabled.

I suppose: 1 = no, 2 = yes, 3 = yes.

Anyone anything else?

Thanks -- Tom

--
Tom Leitner, tom@finwds01.tu-graz.ac.at              |\      _,,,---,,_
Dept. of Communications                         zzz. /,`.-'`'    -.  ;-;;,_.
Graz University of Technology                       |,4-  ) )-,_. ,\ (  `'-'
Inffeldgasse 12                                    '---''(_/--'  `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SO_BROADCAST: how far will it go?
  1995-07-31  4:00 SO_BROADCAST: how far will it go? Thomas Leitner
  1995-08-01  4:00 ` Steve Huston
@ 1995-08-01  4:00 ` Kurt Pintoffl
  1995-08-01  4:00   ` Thomas Leitner
  1 sibling, 1 reply; 5+ messages in thread
From: Kurt Pintoffl @ 1995-08-01  4:00 UTC (permalink / raw)


In article <3vj0er$sa8@fstgds15.tu-graz.ac.at> tom@finwds01.tu-graz.ac.at (Thomas Leitner) writes:
>From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
>Subject: SO_BROADCAST: how far will it go?
>Date: 31 Jul 1995 16:30:19 GMT


>I need to know how far a broadcasted UDP datagram comes on a given
>network. I suppose it can only be received on the local LAN segment.

>But:

>- does it go though a bridge ?
>- can a router be configured to forward broadcasted UDP datagrams 
>  to a certain subnet ?
>- does an FDDI net make any difference in that context?

Hi Tom,

My experience:
1) Yes
2) Yes, use the "ip helper-address ip-address" command to selective
   forward UDP broadcasts to a specified ip-address
3) No

>--
>Tom Leitner, tom@finwds01.tu-graz.ac.at              |\      _,,,---,,_
>Dept. of Communications                         zzz. /,`.-'`'    -.  ;-;;,_.
>Graz University of Technology                       |,4-  ) )-,_. ,\ (  `'-'
>Inffeldgasse 12                                    '---''(_/--'  `-'\_)
>A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
>WWW home page: http://wiis.tu-graz.ac.at/people/tom.html




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SO_BROADCAST: how far will it go?
  1995-08-01  4:00 ` Steve Huston
@ 1995-08-02  4:00   ` Thomas Leitner
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Leitner @ 1995-08-02  4:00 UTC (permalink / raw)


Thanks everybody for your answers.

Bye now -- Tom

--
Tom Leitner, tom@finwds01.tu-graz.ac.at              |\      _,,,---,,_
Dept. of Communications                         zzz. /,`.-'`'    -.  ;-;;,_.
Graz University of Technology                       |,4-  ) )-,_. ,\ (  `'-'
Inffeldgasse 12                                    '---''(_/--'  `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1995-08-02  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-31  4:00 SO_BROADCAST: how far will it go? Thomas Leitner
1995-08-01  4:00 ` Steve Huston
1995-08-02  4:00   ` Thomas Leitner
1995-08-01  4:00 ` Kurt Pintoffl
1995-08-01  4:00   ` Thomas Leitner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox