[clug-progsig] Perl Net::RawIP not allowing broadcast ?

Michael Gale michael.gale at bluesuperman.com
Mon Aug 15 18:00:19 PDT 2005


Hello,

I have also tested it with 192.168.0.255 and it does not work. I am 
trying to send out a DHCPDISCOVER packet, which is addressed to 
255.255.255.255

Michael



Sol Mumey wrote:
> 
> On 8/15/05, *Michael Gale* <michael.gale at bluesuperman.com 
> <mailto:michael.gale at bluesuperman.com>> wrote:
> 
> 
>     $packet-> set({
>                             ip => { saddr => '192.168.0.15
>     <http://192.168.0.15>',
>                                             daddr =>  '255.255.255.255
>     <http://255.255.255.255>',
> 
> 
> I think you should have 192.168.0.255 <http://192.168.0.255> as the 
> broadcast address for this class of network (C). The 255.255.255.255 
> <http://255.255.255.255> is a mask.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> clug-progsig mailing list
> clug-progsig at clug.ca
> http://clug.ca/mailman/listinfo/clug-progsig_clug.ca



More information about the clug-progsig mailing list