#20484: setting PPPoE as connection method for 'wan' should set interface for
'wan6' too
------------------------+--------------------------
  Reporter:  anonymous  |      Owner:
      Type:  defect     |     Status:  reopened
  Priority:  high       |  Milestone:
 Component:  luci       |    Version:  Trunk
Resolution:             |   Keywords:  dhcpv6, ipv6
------------------------+--------------------------
Changes (by anonymous):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 the new CC IPv6 "magic" must be broken then... it's not working for me...

 i deleted the wan6 section completely and reconfigured wan to look as you
 suggested:


 {{{
 config interface 'wan'
         option ifname 'eth0'
         option _orig_ifname 'eth0'
         option _orig_bridge 'false'
         option proto 'pppoe'
         option username '---my-username----'
         option password '---my-password----'
         option peerdns '0'
         option dns '213.154.124.1 193.231.252.1 8.8.8.8 8.8.4.4
 2001:4860:4860::8888 2001:4860:4860::8844'
         option ipv6 'auto'

 }}}

 Our provider here, RCS-RDS, uses dual-stack IPv4 + IPv6 with DHCPv6 with
 prefix delegation..

 '''the new CC "magic" probably only works with IPv6 addresses assigned
 statically when the PPPoE connection is set up... because in my case the
 router won't even bother to ask for an IPv6 address via DHCPv6 after the
 PPPoE connection is established...'''



 {{{

 Tue Sep 15 17:05:42 2015 kern.info kernel: [  141.970000] eth0: link up
 (1000Mbps/Full duplex)
 Tue Sep 15 17:05:42 2015 kern.info kernel: [  141.970000] IPv6:
 ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 Tue Sep 15 17:05:42 2015 daemon.notice netifd: Network device 'eth0' link
 is up
 Tue Sep 15 17:05:42 2015 daemon.notice netifd: Interface 'wan' has link
 connectivity
 Tue Sep 15 17:05:42 2015 daemon.notice netifd: Interface 'wan' is setting
 up now
 Tue Sep 15 17:05:42 2015 daemon.info pppd[1495]: Plugin rp-pppoe.so
 loaded.
 Tue Sep 15 17:05:42 2015 daemon.info pppd[1495]: RP-PPPoE plugin version
 3.8p compiled against pppd 2.4.7
 Tue Sep 15 17:05:42 2015 daemon.notice pppd[1495]: pppd 2.4.7 started by
 root, uid 0
 Tue Sep 15 17:05:43 2015 daemon.info pppd[1495]: PPP session is 900
 Tue Sep 15 17:05:43 2015 daemon.warn pppd[1495]: Connected to
 ____REMOVED_____ via interface eth0
 Tue Sep 15 17:05:43 2015 daemon.info pppd[1495]: Using interface pppoe-wan
 Tue Sep 15 17:05:43 2015 daemon.notice pppd[1495]: Connect: pppoe-wan <-->
 eth0
 Tue Sep 15 17:05:43 2015 kern.info kernel: [  142.860000] pppoe-wan:
 renamed from ppp0
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: PAP authentication
 succeeded
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: peer from calling
 number ____REMOVED_____ authorized
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: local  IP address
 5.14.____REMOVED_____
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: remote IP address
 10.0.0.1
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: primary   DNS address
 193.231.252.1
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: secondary DNS address
 213.154.124.1
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: local  LL address
 fe80::0000:0000:____REMOVED_____
 Tue Sep 15 17:05:46 2015 daemon.notice pppd[1495]: remote LL address
 fe80::0000:0000:0000:0001
 Tue Sep 15 17:05:46 2015 daemon.notice netifd: Network device 'pppoe-wan'
 link is up
 Tue Sep 15 17:05:46 2015 daemon.notice netifd: Interface 'wan' is now up
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: reading
 /tmp/resolv.conf.auto
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using local addresses
 only for domain lan
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using nameserver
 213.154.124.1#53
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using nameserver
 193.231.252.1#53
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using nameserver
 8.8.8.8#53
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using nameserver
 8.8.4.4#53
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using nameserver
 2001:4860:4860::8888#53
 Tue Sep 15 17:05:46 2015 daemon.info dnsmasq[1209]: using nameserver
 2001:4860:4860::8844#53
 Tue Sep 15 17:05:46 2015 user.notice firewall: Reloading firewall due to
 ifup of wan (pppoe-wan)

 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20484#comment:5>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to