[pve-devel] DHCP server

Michael Rasmussen mir at datanom.net
Sat Jul 19 18:31:20 CEST 2014


On Sat, 19 Jul 2014 05:07:58 +0000
Dietmar Maurer <dietmar at proxmox.com> wrote:

> Thanks for that link. But I have no idea how stable that is. And is
> it feature complete? ipv6 support?
> 
I found the answer to ipv6:
As of perl 5.14 all needed to support ipv6 is to replace any instance
of IO::Socket::INET with IO::Socket::IP like
$handle = IO::Socket::INET->new(..)
replaced with
$handle = IO::Socket::IP->new(..)
read
   http://www.perl.org/about/whitepapers/perl-ipv6.html
   https://metacpan.org/pod/IO::Socket::IP

I have just tried it in the example server and client and everything
works:-)

From what I have read IO::Socket::IP is a high-level abstraction layer
on-top IO::Socket::INET and IO::Socket::INET6 which deduces which kind
of socket to use, eg. ipv4 or ipv6.

And since Debian Wheezy provides perl 5.14 we are home free;-)
$ dpkg -s perl
Package: perl
Status: install ok installed
Priority: standard
Section: perl
Installed-Size: 16598
Maintainer: Niko Tyni <ntyni at debian.org>
Architecture: amd64
Version: 5.14.2-21+deb7u1

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Honi soit la vache qui rit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20140719/dc533e47/attachment.sig>


More information about the pve-devel mailing list