Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 17:23:39 -0700
From:      "Sreekanth" <sreekanth@redlinenetworks.com>
To:        "'Wes Peters'" <wes@softweyr.com>, "'Don Lewis'" <truckman@freebsd.org>
Cc:        mgrooms@shrew.net
Subject:   RE: broadcast udp packets ...
Message-ID:  <000001c3480b$d8032230$ae28a8c0@SREELAPTOP>
In-Reply-To: <200307111702.36633.wes@softweyr.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
That brings an interesting topic.If the Interface has not been assigned
an IP address.The Interface is NOT initialized.So you cannot really use
the interface.Ofcourse you can bypass this by hacking into driver.But do
you want to do that is another questions.

Just my 2 cents

Sreekanth


> -----Original Message-----
> From: Wes Peters [mailto:wes@softweyr.com] 
> Sent: Friday, July 11, 2003 5:03 PM
> To: Sreekanth; 'Don Lewis'
> Cc: mgrooms@shrew.net; freebsd-net@freebsd.org
> Subject: Re: broadcast udp packets ...
> 
> 
> On Friday 11 July 2003 14:21, Sreekanth wrote:
> > Couldn't it be done just by executing the following command 
> ? #route 
> > add 255.255.255.255 -net 255.255.255.255 -ifp [primary interface]
> >
> > I know it is kind of crude but it works in my case :-)
> 
> In our case, it's being run before *any* interface has an IP 
> address, so 
> the routing table is completely empty.  Yes, it's obviously part of a 
> device discovery phase, and we could do some special ethernet level 
> h0h0magic but we don't want to, we want broadcasting to work. ;^)
> 
> -- 
>          "Where am I, and what am I doing in this handbasket?"
> 
> Wes Peters                                              
> wes@softweyr.com
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003
>  
> 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c3480b$d8032230$ae28a8c0>