Ipv6 in wan interface

hi friends
i creat a qmi intefrace for set internet form quectel modem module
and after creat this interface on cdc-wdm0 auto created wan1-4 for get ipv4 from isp
how i can get ipv6 on wan same ipv4 ?

Please provide more information (and configs).

"Forget" is not a common thing that computers do (unless RAM is damaged)...let's get more config details to see if there's a reason it won't obtain an IP.

1 Like

this is my network config :

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

config globals 'globals'
option ula_prefix 'fd45:324b:b49a::/48'

config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.10'

config device 'lan_dev'
option name 'eth0.1'
option macaddr '40:d6:3c:20:82:ee'

config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'

config device 'wan_dev'
option name 'eth0.2'
option macaddr '40:d6:3c:20:82:ef'

config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0 6t'

config switch_vlan
option device 'switch0'
option vlan '2'

config interface 'VPN'
option ifname 'tun1'
option proto 'pptp'
option auto '0'

config interface 'VPNL2TP'
option ifname 'tun0'
option proto 'l2tp'
option auto '0'

config interface 'wan1'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option ipv6 '1'

this is ifconfig :
br-lan Link encap:Ethernet HWaddr 40:D6:3C:20:82:EE
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::42d6:3cff:fe20:82ee/64 Scope:Link
inet6 addr: fd45:324b:b49a::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89901 errors:0 dropped:0 overruns:0 frame:0
TX packets:133243 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11099003 (10.5 MiB) TX bytes:153595558 (146.4 MiB)

eth0 Link encap:Ethernet HWaddr 40:D6:3C:20:82:EE
inet6 addr: fe80::42d6:3cff:fe20:82ee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97089 errors:0 dropped:0 overruns:0 frame:0
TX packets:142872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13840256 (13.1 MiB) TX bytes:157991682 (150.6 MiB)
Interrupt:5

eth0.1 Link encap:Ethernet HWaddr 40:D6:3C:20:82:EE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89901 errors:0 dropped:0 overruns:0 frame:0
TX packets:133463 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11099003 (10.5 MiB) TX bytes:153610078 (146.4 MiB)

eth0.2 Link encap:Ethernet HWaddr 40:D6:3C:20:82:EF
inet6 addr: fe80::42d6:3cff:fe20:82ef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2858 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:962218 (939.6 KiB)

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:1298 errors:0 dropped:0 overruns:0 frame:0
TX packets:1298 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85418 (83.4 KiB) TX bytes:85418 (83.4 KiB)

wlan0 Link encap:Ethernet HWaddr 40:D6:3C:20:82:EE
inet6 addr: fe80::42d6:3cff:fe20:82ee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:275815 (269.3 KiB)

wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:188.208.151.147 P-t-P:188.208.151.147 Mask:255.255.255.248
inet6 addr: fe80::12a5:ba0a:7397:6b9c/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:123518 errors:0 dropped:0 overruns:0 frame:0
TX packets:76351 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:149838351 (142.8 MiB) TX bytes:9953194 (9.4 MiB)

icant get ipv6 from browser or ip online website detection

Please use "Preformatted text </>" for logs, scripts, configs and general console output.
Please edit your postings accordingly.

2 Likes

no idea for active ipv6 in wan interface for get ipv6 in browser ?