broadcast udp packets ...

Wes Peters wes at softweyr.com
Fri Jul 11 17:02:40 PDT 2003


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




More information about the freebsd-net mailing list