I have flashed my Raspberry PI 4 to run OpenWRT.
I have configured the LAN and WAN connections. I want to create a separate subnet for my servers.
I tried using the wiki and came up with the below settings. The issue is when i try setting the IP address in the server , it is not resolving any connection to the Router or internet.
Currently when i ping the interface from my host it works as shown below
/etc/config/network
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 'fd2c:576a:a0b1::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option delegate '0'
config interface 'WAN'
option proto 'pppoe'
option ifname 'eth1'
option username 'XXXXXXX'
option password 'XXXXXXX'
option keepalive '0'
option delegate '0'
option ipv6 '0'
config interface 'lan2'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth0.2'
option ipaddr '192.168.2.1'
Configuration