Subject: wide-dhcpv6-server: Parser Error while parsing config file
Package: wide-dhcpv6-server
Version: 20060322-4
Severity: important

*** Please type your report below this line ***

wide-dhcpv6-server does not like a config file which has a address-pool
defined in an interface section.
For example:

interface eth1 {
        preference 12;
        address-pool pool1;
}

fails with an yyerror0. This makes it impossible, to define an address
pool
to use it. The included sample config in this package does not work
because
of this problem. 
I also tested upstream version 20060902. Same result.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages wide-dhcpv6-server depends on:
ii  debconf [debconf-2.0]        1.5.3       Debian configuration
management sy
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared
libraries
ii  sharutils                    1:4.2.1-15  shar, unshar, uuencode,
uudecode

wide-dhcpv6-server recommends no packages.

*** /tmp/dhcp6s.conf.sample
# The followings are a sample configuration to provide a DNS server
address
# for every client as well as to delegate a permanent IPv6 prefix
# 2001:db8:1111::/48 to a client whose DUID is 00:01:00:01:aa:bb.

option domain-name-servers 2001:db8::35;

host kame {
        duid 00:01:00:01:aa:bb;
        prefix 2001:db8:1111::/48 infinity;
};

# The followings are a sample configuration to provide an IPv6 address
# from an address pool 2001:db8:1:2::1000-2000.
# Note. You have to send an RA with A-bit off to fxp0; otherwise
# a client cannot be sure about the prefix-length and the default
router.

interface fxp0 {
        address-pool pool1;
};

pool pool1 {
        range 2001:db8:1:2::1000 to 2001:db8:1:2::2000 ;
};


*** /tmp/dhcp6.error
Sep 14 11:25:41 pns-lnx dhcp6s[3999]: yyerror0: /tmp/dhcp6s.conf.sample
18: syntax error
Sep 14 11:25:41 pns-lnx dhcp6s[3999]: yyerror0: /tmp/dhcp6s.conf.sample
18: fatal parse failure: exiting (1 errors)
Sep 14 11:25:41 pns-lnx dhcp6s[3999]: main: failed to parse
configuration file




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to