Hi. I am new to OpenWrt and so testing it on VMWare.
I have set up two interfaces:-
The first is the original one on the virtual disk image and is labeled LAN. It is connected to a VMWare Virtual Lan and has an IP of 192.168.225.128. Another VM connected to the same Virtual Lan has full connectivity - I can ping both ways and access OpenWrt's LuCI GUI. Perfect.
The second interface, which I created and labeled WAN. It is bridged to the host system and has an IP of 192.168.25.146.
The back to the VM on the virtual network and it can ping 192.168.225.128 (The OpenWrt LAN interface), also 192.168.25.146 (The OpenWrt WAN interface) but no further. So I can not ping 192.168.25.1 (which is my actual router to the internet) from the VM on the virtual network but can from OpenWrt console.
It has to be a masquerading issue or some such. I have the default Firewall settings as show here:
You can collect the diagnostics and post it to pastebin.com:
ubus call system board; uci show network; uci show dhcp; uci show firewall; \
ip address show; ip route show table all; ip rule show; iptables-save -c; \
head -v -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*
I know the DNS is a mess and that is why I have used ping to ping actual known addresses. DHCP on the Virtual Network is handled outside OpenWrt but I manually added a default route on the VM that I used to test with.