Dear all,
i am desperately trying to access a lan pc from wifi. The devices lan and wifi are able to connect to the internet but for some reason it is not possible to ping or access any device, although they are all showing up in the overview page of the router.
I tried the initial config which bridges lan and wifi in the same ip range - which didnt work. And second i tried the setup from the routed-ap homepage at https://openwrt.org/docs/guide-user/network/wifi/routedap
I have no idea what the reason for this behavior might be - i hope you can help me out.
The configs are set up as described on the metnioned webpage, including the forwarding part - which i thought should adress the issue. The other thing is, that i am not able to ping any of my devices when accessing the router via ssh and run ping from there.
Thank you in advance!
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 'fdcb:b0d1:ce50::/48'
config interface 'lan'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '70:4f:57:af:1b:e6'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '70:4f:57:af:1b:e7'
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 0t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 0t'
config 'interface' 'wifi'
option 'proto' 'static'
option 'ipaddr' '192.168.2.1'
option 'netmask' '255.255.255.0'