Hi,

Does anyone have dhcp6c working ? I'm trying to give my lan-interface a ip-address based on a prefix I get from my Internet-modem. When I sniff the dhcp6 trafic I see the modem handing out a prefix, but the lan-interface (br-lan) does not get an ipv6-address.
I'm using wide-dhcpc6-client and wide-dhcpv6-control. This is dhcpv6c :

config 'dhcp6c' 'basic'
option 'enabled' '1' # 1 = enabled; 0 = disabled option 'interface' 'wan' # This is the interface the DHCPv6 client will run on option 'dns' 'dnsmasq' # Which DNS server you run (only dnsmasq currently supported) option 'debug' '1' # 1 = enable debugging; 0 = disable debugging

        # Send options (1 = send; 0 = do not send)
        option 'pd' '1'           # Prefix Delegation
        option 'na' '1'           # Non-Temporary Address
        option 'rapid_commit' '1' # Rapid Commit

        # Request options (1 = request; 0 = do not request)
        option 'domain_name_servers' '1'
        option 'domain_name' '0'
        option 'ntp_servers' '1'
        option 'sip_server_address' '0'
        option 'sip_server_domain_name' '0'
        option 'nis_server_address' '0'
        option 'nis_domain_name' '0'
        option 'nisp_server_address' '0'
        option 'nisp_domain_name' '0'
        option 'bcmcs_server_address' '0'
        option 'bcmcs_server_domain_name' '0'

# Override the used DUID, by default it is derived from the interface MAC
        # The given value must be uppercase and globally unique!
        #option 'duid' '00:03:00:06:D8:5D:4C:A5:03:F2'

        # Script to run when a reply is received
        option 'script' '/usr/bin/dhcp6c-state'

# Define one or more interfaces on which prefixes should be assigned
config 'interface' 'loopback'
option 'enabled' '1' # 1 = enabled; 0 = disabled option 'sla_id' '0' # Site level aggregator identifier specified in decimal (subnet) option 'sla_len' '8' # Site level aggregator length (64 - size of prefix being delegated) # e.g. /60 from ISP -> 64 - 60 = 4

config 'interface' 'lan'
        option 'enabled' '1'
        option 'sla_id' '1'
        option 'sla_len' '8'

I modified /usr/bin/dhcp6c-state to output some values to a file and there I see the address of the dns-server. How could I debug further ? There is an entry to enable debug, which is enabled, but what does it do ?
Other suggestions ?

Regards,

Koenraad Lelong
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to