Subject: RE: Directed broadcast via ifconfig?
To: 'David Maxwell' <david@fundy.ca>
From: Lindgren, Jon <jlindgren@espus.com>
List: current-users
Date: 10/05/1999 09:09:31
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF0F32.DEB9F690
Content-Type: text/plain;
	charset="windows-1252"

> -----Original Message-----
> From: David Maxwell [mailto:david@fundy.ca]
> Sent: Tuesday, October 05, 1999 9:07 AM
> To: Lindgren, Jon
> Subject: Re: Directed broadcast via ifconfig?
> 
> 
> On Tue, Oct 05, 1999 at 08:59:18AM -0400, Lindgren, Jon wrote:
> > Does anyone know if it is possible to set an off-subnet 
> > broadcast address on an interface?  Ex:
> > 
> > ifconfig le0 inet 192.168.2.1 netmask 255.255.255.0 
> > broadcast 192.168.3.255
> > 
> > Unfortunately, I'm not in front of a box now, so I can't 
> > try it.  Has anyone had any experience with such a configuration
> > or a similar type of configuration?
> > 
> > Thanks.
> 
> ifconfig will let you set this.
> 
> de2: 
> flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:00:d1:1e:65:fd
>         media: Ethernet autoselect
>         inet 10.11.12.13 netmask 0xffffff00 broadcast 10.20.0.255
> 
> I'm not sure what the use for it is though?

Thanks for the info.  The use is for an old proprietary reliable broadcast
protocol, which was not well thought out.  It does broadcasts from a server
machine, and has some problems if the remote broadcast address (i.e.
seperate clients on seperate networks) is NATed or changed in any way (the
broadcast addr and server IP are embedded into the payload of the packet).
I'm just trying to figure out some solutions to a problem we have with it.

Thanks 10e6.

-Jon Lindgren
 "My employer apologizes for their love of markup."

------_=_NextPart_001_01BF0F32.DEB9F690
Content-Type: text/html;
	charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2232.0">
<TITLE>RE: Directed broadcast via ifconfig?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: David Maxwell [<A =
HREF=3D"mailto:david@fundy.ca">mailto:david@fundy.ca</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Tuesday, October 05, 1999 9:07 AM</FONT>
<BR><FONT SIZE=3D2>&gt; To: Lindgren, Jon</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: Directed broadcast via =
ifconfig?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; On Tue, Oct 05, 1999 at 08:59:18AM -0400, =
Lindgren, Jon wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Does anyone know if it is possible to set =
an off-subnet </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; broadcast address on an interface?&nbsp; =
Ex:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; ifconfig le0 inet 192.168.2.1 netmask =
255.255.255.0 </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; broadcast 192.168.3.255</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Unfortunately, I'm not in front of a box =
now, so I can't </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; try it.&nbsp; Has anyone had any =
experience with such a configuration</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; or a similar type of configuration?</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Thanks.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ifconfig will let you set this.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; de2: </FONT>
<BR><FONT SIZE=3D2>&gt; =
flags=3D8863&lt;UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST&gt; =
mtu 1500</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
address: 00:00:d1:1e:65:fd</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
media: Ethernet autoselect</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
inet 10.11.12.13 netmask 0xffffff00 broadcast 10.20.0.255</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I'm not sure what the use for it is =
though?</FONT>
</P>

<P><FONT SIZE=3D2>Thanks for the info.&nbsp; The use is for an old =
proprietary reliable broadcast protocol, which was not well thought =
out.&nbsp; It does broadcasts from a server machine, and has some =
problems if the remote broadcast address (i.e. seperate clients on =
seperate networks) is NATed or changed in any way (the broadcast addr =
and server IP are embedded into the payload of the packet).&nbsp; I'm =
just trying to figure out some solutions to a problem we have with =
it.</FONT></P>

<P><FONT SIZE=3D2>Thanks 10e6.</FONT>
</P>

<P><FONT SIZE=3D2>-Jon Lindgren</FONT>
<BR><FONT SIZE=3D2>&nbsp;&quot;My employer apologizes for their love of =
markup.&quot;</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BF0F32.DEB9F690--