dhcpd6.conf Invalid IP address


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
dhcpd6.conf Invalid IP address

Hi
I am trying to setup a very basic dhcp dual stack configuration, so I have 2 dhcpd.conf file dhcpd4.conf and dhcpd6.conf
Code:
# cat /usr/local/etc/dhcpd4.conf
Subnet 10.45.192.0 netmask 255.255.248.0 {
option subnet-mask 255.255.248.0;
option routers 10.45.192.1;
}# cat /usr/local/etc/dhcpd6.conf
option dhcp6.name-servers 2001:1b70:82a1:a:0:4000:2:1;
option dhcp6.domain-search "sken.com";

subnet6 2001:1b70:82a1:a/64 {
range6 2001:1b70:82a1:a:0:4000:2:1 2001:1b70:82a1:a:0:4000:10:1;
}

however when I try to run the second instance of the dhcp server with the /usr/local/sbin/dhcpd -6 -q -lf /var/lib/dhcp/dhcpd.leases -cf /usr/local/etc/dhcpd6.conf I get the following in the messages file

Code:
/usr/local/etc/dhcpd6.conf line 4: Invalid IPv6 address.
subnet6 2001:1b70:82a1:a/

ifconfig for server is

Code:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.45.192.4 netmask fffff800 broadcast 10.45.199.255
        ether 0:c:29:4a:f9:4b
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128
e1000g0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
        inet6 fe80::20c:29ff:fe4a:f94b/10
        ether 0:c:29:4a:f9:4b
e1000g0:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
        inet6 2001:1b70:82a1:a:0:4000:3:1/64


Last edited by pludi; 09-02-2011 at 08:04 AM.. Reason: Added code tags
# 2  
It's too short.. you're likely missing a double colon in there.. try 2001:1b70:82a1:a::
(note the double colon at the end)
# 3  
Thanks for that, sometimes you just can't see what is right in front of you
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Science: Computers
Difficulty: Medium
"Windows NT" is a monolithic kernel.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies

2. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

3. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

4. Shell Programming and Scripting

Need to get return code from mutt if an address is invalid/undeliverable from Unix shell script

I am using mutt on ksh Unix to send emails to addresses plucked from the database. If the "To:" email address is not longer valid and so the email is not sent to the "To:" recipient, but is sent to the valid cc address, I need to be able to get an error code returned to the shell script so that... (3 Replies)
Discussion started by: jzuber
3 Replies

5. UNIX for Advanced & Expert Users

dhcpd6.conf Invalid ip address

Hi I am trying to setup a very basic dhcp dual stack configuration, so I have 2 dhcpd.conf file dhcpd4.conf and dhcpd6.conf # cat /usr/local/etc/dhcpd4.conf Subnet 10.45.192.0 netmask 255.255.248.0 { option subnet-mask 255.255.248.0; option routers 10.45.192.1; }# cat... (0 Replies)
Discussion started by: eeisken
0 Replies

6. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

7. Red Hat

SD.conf and LPFC.conf

What would be Redhat RHEL 4.0 equivalent for Solaris sd.conf and lpfc.conf? What are the files called and where are the files located? (1 Reply)
Discussion started by: soupbone38
1 Replies

8. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

9. UNIX and Linux Applications

Invalid stack address encountered

Hello All, One of our applications is not able to start after trying to set p4 port. This is the log that is reported: JLaunchISetP4Port: set p4 port 50004 ------------------------------------------- Signal 15 encountered. => 64 bit R/3 Kernel => 64 bit AIX Kernel => Heap limit ... (0 Replies)
Discussion started by: RoshniMehta
0 Replies

10. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

Featured Tech Videos