Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Revised Dhcpclient Module

by drip (Beadle)
on Jun 04, 2008 at 10:57 UTC ( [id://690104]=note: print w/replies, xml ) Need Help??


in reply to Re: Revised Dhcpclient Module
in thread Revised Dhcpclient Module

you need to have a dhcp server ready.. here's a sample code..
my $p=Net::DHCP::Packet::Client->new(Server =>'192.168.1.1', State => 'Request', Interface => 'eth0', Requestip => '192.168.1.3') $p->printpacket(); $p->packetsend();
please do not forget to change the interface to correspond to your interface card..

update: please do tell me the results once you get it up and running..=)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://690104]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found