Two LANs: IPv4 only and IPv4+IPv6 for dualstack WAN

Hello,

Due to some old software blackbox I have to setup WiFi lan network that resolves only IPv4 along with my normal IPv4+IPv6 lan.

My provider gives me dualstack solution that was successfully configured with Openwrt.

My naive approach to setup lanipv4 interface failed: both networks resolve IPv4+IPv6 (although openwrt shows only resolved IPv4 for lanipv4 in web interface)

lanipv4 is configured with br-lan as interface device;
"IPv6 assignment length" , "Delegate IPv6 prefixes",
"RA-Service", "DHCPv6-Service", "NDP-Proxy" are disabled.

I will be grateful for any help.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

It is not clear what are you trying to achieve here. A separate interface for this particular device which operates only on IPv4, so IPv6 should be disabled? I wouldn't say that these two can interfere, if the device is not aware of IPv6.
Or do you want the dns answers to return only A records and not AAAA records?
option filter_aaaa 1

1 Like

thanks a lot for helping me and sorry for chaotic problem description.
The first problem I already spot is I use the same br-lan for "full" (ip 4+6) and "IPv4 only" lan. I think that for "IPv4 only" lan phy1-ap1 device must be used.

Preferably full separation: "IPv4 only" lan must not be aware of any IPv6 pretense (IPv4 as public IP and no IPv6 on lan), as I don't know what triggers errors in my old software. But option filter_aaaa 1 may work - I will test it.

I agree that it's better to share the configs for better understanding, let me prepare it.

2 Likes