[FS#1287] ipv6 relay issue of odhcpd

LEDE Bugs lede-bugs at lists.infradead.org
Sun Jan 21 18:30:27 PST 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Bo (isler) 

Attached to Project - OpenWrt/LEDE Project
Summary - ipv6 relay issue of odhcpd
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on Intel(R) Pentium(R) CPU N3700 @ 1.60GHz
 - Software versions of LEDE 17.01.04, odhcpd 2017-10-02-c6f3d5d4-2.
 - Steps to reproduce
   

 i have native ipv6, and i use odhcpd's ipv6 relay (x86 router with lede 17.01.x). It worked well for me, but since the last 2 update of odhcpd, after i reboot the router, the ipv6 link of all devices are broken unless i restart odhcpd (the ipv6 link of the router is ok and all devices can obtain ipv6 addresses from the upper switch before i restart odhcpd).


cat /etc/config/network

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'

config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ifname 'eth1 eth2'
option _orig_ifname 'eth0'
option _orig_bridge 'true'
option ipaddr '192.168.11.1'

config interface 'wan'
option proto 'dhcp'
option ifname 'eth0'
option _orig_ifname 'eth1'
option _orig_bridge 'false'

config interface 'wan6'
option proto 'dhcpv6'
option ifname 'eth0'
option _orig_ifname 'eth1'
option _orig_bridge 'false'



cat /etc/config/dhcp

config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
option enable_tftp '1'
option tftp_root '/ssd/pxe'
option dhcp_boot 'lpxelinux.0'
option rebind_protection '0'

config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option ra_management '1'
option ra 'hybrid'
option dhcpv6 'hybrid'
option ndp 'hybrid'

config dhcp 'wan'
option interface 'wan'
option ignore '1'

config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'

config dhcp 'wan6'
option interface 'wan'
option dhcpv6 'hybrid'
option ra 'hybrid'
option ndp 'hybrid'
option master '1'


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1287



More information about the lede-bugs mailing list