broadcast udp packets ...

Sreekanth sreekanth at redlinenetworks.com
Fri Jul 11 17:23:39 PDT 2003


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 at softweyr.com] 
> Sent: Friday, July 11, 2003 5:03 PM
> To: Sreekanth; 'Don Lewis'
> Cc: mgrooms at shrew.net; freebsd-net at 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 at 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
>  
> 



More information about the freebsd-net mailing list