Assigning multiple IPV6 addresses with ISC dhcpd


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Assigning multiple IPV6 addresses with ISC dhcpd
# 1  
Old 08-22-2011
Question Assigning multiple IPV6 addresses with ISC dhcpd

Hi,

Apologies if this is the wrong forum or this question has been answered already.

I'm using the ISC dhcpd server on Centos 6.0, and can happily assign a single IPV6 address to a client with entries like this:


subnet6 fd01:0:0:5::/64
{
option dhcp6.name-servers fd01:0:0:5::226;
option dhcp6.domain-search "home.jusme.com";
}

host vm41
{
host-identifier option dhcp6.client-id 00:01:00:01:15:e4:f6:3d:00:0c:29:db:21:6c;
fixed-address6 fd01:0:0:5::253;
}

What I'd like to do is also assign a second IPV6 address to the same interface, but I can't figure how to do this. Any clues greatefully accepted!

Ian.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to assign IPv4 and IPv6 addresses with same interface?

Hello dears how to assign IPv4 and IPv6 addresses with same interface on solaris 10 (1 Reply)
Discussion started by: ttashman
1 Replies

2. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

3. Shell Programming and Scripting

Assigning multiple column's value from Oracle query to multiple variables in UNIX

Hi All, I need to read values of 10 columns from oracle query and assign the same to 10 unix variables. The query will return only one record(row). I tried to append all these columns using a delimiter(;) in the select query and assign the same to a single variable(V) in unix. I thought I... (3 Replies)
Discussion started by: hkrishnan91
3 Replies

4. UNIX for Dummies Questions & Answers

How to ping multiple ip addresses?

Hi, I have ip addresses from 192.168.0.1 to 192.168.0.10. I have to ping those series of IP address in single command? Which command i can use? (2 Replies)
Discussion started by: thomasraj87
2 Replies

5. Solaris

ISC DHCP ipv4 and ipv6 options

Hi I am looking to set-up ISC DHCP to support ipv6, and to migrate my existing SUN DHCP ipv4 to ISC, finding the ipv4 options for the SUN DHCP options was ok eg TFTPsrvN = tftp-server-name OptBootF = bootfile-name However if I set up a DHCPv6 does anyone know what the equivalent... (1 Reply)
Discussion started by: eeisken
1 Replies

6. UNIX for Advanced & Expert Users

ISC DHCP ipv4 options and matching ipv6

Hi I am looking to set-up ISC DHCP to support ipv6, and to migrate my existing SUN DHCP ipv4 to ISC, finding the ipv4 options for the SUN DHCP options was ok eg TFTPsrvN = tftp-server-name OptBootF = bootfile-name However if I set up a DHCPv6 does anyone know what the equivalent... (0 Replies)
Discussion started by: eeisken
0 Replies

7. Shell Programming and Scripting

Simplifying IPv6 addresses from user input

hi friends, im new to scripting and am tiring out to valid an ip address if user inputs 9 : 003 : 0 : 0 : 100 : 256 ,i need to suppress all leading zeros and single zero ie out put for the same should be 9 : 3 : : : 100 : 256 can any help using awk ,regular expression to split the string... (1 Reply)
Discussion started by: sandeepjeede
1 Replies

8. IP Networking

isc dhcpd and cisco router

Hello all, I have set up dhcpd on a linux box for serving subnets on multiple vlans configured on a Cisco 6500 with ip helper of the dhcp server. Servers get dhcp leases just fine, however, some machines lose their connection for reboot or what not and I can not get their lease back even though... (0 Replies)
Discussion started by: closedown
0 Replies

9. IP Networking

DHCPD, Multiple interfaces, Single Subnet

I have an OpenBSD 3.7 firewall with five network interfaces on it, one of which is connected to the Internet. I'd like to use the remaining four interfaces as a network switch for a single internal subnet. The main problem I have is that the DHCP daemon doesn't like multiple interfaces matching... (0 Replies)
Discussion started by: vertigo23
0 Replies

10. UNIX for Advanced & Expert Users

Assigning IP Addresses to logins

This is more a linux question. I have pptp users logging in remotely, they dial in via a modem, my linux server has three modems attached, each modem is assigned an IP address. Each time a user trys to connect to a modem and it is in use, it acts like a rotary system and goes to the next modem.... (1 Reply)
Discussion started by: system77
1 Replies
Login or Register to Ask a Question
Text::DHCPLeases(3pm)					User Contributed Perl Documentation				     Text::DHCPLeases(3pm)

NAME
Text::DHCPLeases - Parse DHCP leases file from ISC dhcpd. SYNOPSIS
use Text::DHCPLeases; my $leases = Text::DHCPLeases->new("/etc/dhcpd.leases"); foreach my $obj ( $leases->get_objects ){ print $obj->name; if ( $obj->binding_state eq 'active' ){ ... } ... DESCRIPTION
This module provides an object-oriented interface to ISC DHCPD leases files. The goal is to objectify all declarations, as defined by the ISC dhcpd package man pages. This interface is useful for analyzing, reporting, converting lease files, or as a tool for other applications that need to import dhcpd lease data structures. CLASS METHODS
new - Class Constructor Arguments: Hash with the following keys: file - Leases file path Returns: Text::DHCPLeases object Examples: Text::DHCPLeases->new(file=>"/etc/dhcpd.leases"); INSTANCE METHODS
get_objects - Get objects from leases file Arguments: Object attributes to match (optional) Returns: Array of Text::DHCPLeases::Lease objects, or iterator depending on context. Examples: my $it = $leases->get_objects(ip_address=>'192.168.0.1'); while ( my $obj = $it->next ) ... print - Print all lease objects contents as a formatted string Arguments: None Returns: Formatted String Examples: print $leases->print; BUGS AND LIMITATIONS
Correct parsing of leases files depends on changes made to the format of said files by the authors of the ISC DHCPD package. This module was tested against leases files generated by ISC DHCPD version 3.1.0. In addition, I do not have access to leases file with all possible declarations and statements, so parsing could be broken in some circumstances. Patches are welcome. No bugs have been reported. Please report any bugs or feature requests to "bug-Text-DHCPleases@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. AUTHOR
Carlos Vicente <cvicente@cpan.org> LICENCE AND COPYRIGHT
Copyright (c) 2007-2010, Carlos Vicente <cvicente@cpan.org>. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. perl v5.10.0 2009-08-12 Text::DHCPLeases(3pm)