DHCP IPv4 and IPv6

Hi!
I have a Archer C7 v5 with OpenWRT 19.07.3.
My device not up two bridges at the same device. One bridge is for WAN IPv4 and the other is for WAN IPv6, when one its enable the other show the error Network device is not present. I believe this configuration is default but is not working. And if the WAN IPv6 its enable my LAN (IPv4) not able to go to internet.
Can anyone helpme?

LAN (IPv4):

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

WAN IPv4:

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

WAN IPv6:

config interface 'wan6'
	option proto 'dhcpv6'
	option ifname 'eth0.2'
	option type 'bridge'
	option reqprefix 'auto'
	option auto '0'
	option reqaddress 'try'

The default configuration for the wan and wan6 is not to be bridges. So you have messed up something there. Take a backup, do a reset to defaults and start again configuring the router. With dhcp on wan and dhcp6 on wan6 it will work without any extra settings.

2 Likes

Thank you, its worked!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.