[OpenWrt-Devel] Not able to get ipv6 address on OpenWrt ported embedded target

Pratik Prajapati pratik.prajapati12 at gmail.com
Fri Jul 24 08:27:51 EDT 2015


I have added that section on target's /etc/config/network file

but still ipv6 is not assigned to it

ifconfig on target:

eth0      Link encap:Ethernet  HWaddr E2:AB:C0:A8:5F:38
          inet6 addr: fe80::e0ab:c0ff:fea8:5f38/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8730 errors:0 dropped:0 overruns:0 frame:0
          TX packets:191 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:968468 (945.7 KiB)  TX bytes:17574 (17.1 KiB)
          Interrupt:57

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8225 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:677074 (661.2 KiB)  TX bytes:677074 (661.2 KiB)

On Fri, Jul 24, 2015 at 5:32 PM, Steven Barth <cyrus at openwrt.org> wrote:

> Add a section like this:
>
> config lan6
>         option proto dhcpv6
>         option ifname @lan
>
>
> And yes, proto dhcpv6 also works with RAs only.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150724/a3570669/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list