Home > Networking Tips > Network Engineering > Dealing with IPv6 addresses in comfort and style: FreeIPdb
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Dealing with IPv6 addresses in comfort and style: FreeIPdb


Ed Tittel
07.18.2005
Rating: -4.67- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


With a 128-bit address space, the number of options IPv6 provides are truly staggering. That said, the real issue for administrators is the number of bits they must shuffle around to subdivide public or private portions of that monstrous address space that they may find themselves wanting to use. As with IPv4, public IPv6 addresses must be formally allocated, but private IPv6 addresses may be used at will, as long as their users can forgo direct, unmediated access to the Internet.

For those facing 128-bit addressing and subnetting chores, a free and nifty little tool named FreeIPdb can be a great boon. The tool permits IPv6 address space to be carved into independent sections called regions, which may then be further subdivided or combined as administrators' needs dictate. Thus, it can be used to allocate a subnet for a division or a project, which may then be further subdivided into constituent subnets for individual groups within that address space. In a notion reminiscent of CIDR, the tool makes it easy to start with a /24 subnet, and then to allocate from inside its address space a /25 subnet to one group, a /26 subnet to another, and a /27 subnet to a third, and immediately see that a single /27 subnet remains free for other use.

Addresses can also be managed for reclamation, so that when a block of addresses (or a parent for that block further up the hierarchy) is set to reclaim mode, no addresses with that status may be re-allocated or assigned from the database that this tool manages. Supernets may be associated with priority values so that the database will preferentially allocate blocks from address ranges with higher priorities before those with lower priorities. Address blocks may also be assigned hold times, so that if a block is reclaimed it will become available for re-allocation or roll-up into a parent block when the hold time expires. The database will even allow addresses to be selected for assignment, thereby overriding the tool's analysis of priorities and its ordinary response to an allocation request (not surprisingly this feature is called "Set a specific block"). All of this said, FreeIPdb only permits addresses outside the existing IPv4 address range to be managed: it maintains a "hands-off" attitude where addresses that overlap with IPv4 is concerned—as it rightly should.

FreeIPdb is written in Perl, and runs on any platform with a working Perl interpreter (the reference version is 5.005_03 build for i386-freebsd). Other requirements include the following (all items are Perl libraries except for the first one, which specifies that one of two possible database engines is needed):

  • PostgreSQL 7.0 with Perl interface installed. (also tested on 7.1.2 and 7.2). or MySQL [In beta] (testing on 4.0.5)
  • Math::BigInt-1.63
  • Net::IP-1.0
  • DBI-1.14 or better.
  • DBD::Pg 0.95 or better.
  • A Webserver capable of running Perl cgi (If you want the Web front-end.)
  • Net::Telnet (optional)

All necessary details are covered at freeipdb.org, which is where you'll also find download and CVS related links as well.

Concluding note: Those far enough along with IPv6 deployment to have networks to test will need IPv6 replacements for common IP networking tools such as tracert, ping, and so forth. You'll find plenty of the same at ipv6tools.com and ipv6.klingon.nl.


Ed Tittel is a full-time freelance writer, trainer, and consultant who specializes in matters related to information security, markup languages, and networking technologies. He's a regular contributor to numerous TechTarget Web sites, technology editor for Certification Magazine, and writes an e-mail newsletter for CramSession called "Must Know News."


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Network Engineering
Limit network energy consumption with computer cooling technologies
Understanding remote scripting -- Managing Windows networks using scripts, part 9
Network mapping in Vista for Windows XP
Recovering domain controllers after a server disk failure
Recovering from a server disk failure: The shortcomings of NTBCKUP
Enabling Windows Vista's Network Mapping feature on domain networks
Prevent unauthorized USB devices with software restriction policies, third-party apps
How to subnet: Subnetting calculations and shortcuts
Using Windows Vista group policy to prevent unauthorized USB device use
ISDN implementation: Part 3 -- Cisco router ISDN configuration

IPv6
Network management software vendors readying IPv6
Affordable IPv6 upgrades are possible -- unless you wait
How to use IPv6 on an IPv4 backbone
IPv4 or IPv6 -- Myths and Realities
Why are IPv6's IP addresses in hexadecimal formatting?
Why IPv4 and IPv6 don't do fragment reassembly in routers
Is time-to-live (TTL) thrown out in IPv6?
Get IPv6 skills now rather than later
Are there Cisco certifications specializing in IPv6 protocols?
Will IPv6 stop network management complications presented in IPv4?
IPv6 Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
anycast  (SearchNetworking.com)
BYE packet  (SearchNetworking.com)
handshaking  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business
IT Management Solutions and Services Directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts