Looking at the above diagram, you will see that ‘eth0’ needs to be Static=192.168.0.2 with a gateway of 192.168.0.1.
the onboard wlan0 would need to be ‘dhcp’ to provide the NAT’s IP’s on 192.168.100.1,… as shown.
But I can figure out how to setup the various Interfaces and bridges.
I have one LAN interface (eth0) which connects to my existing network on 192.168.0.2
I have also have a wifi active (with no ip) I connect to, so I am trying to work out how to join them but have dhcp on the wifi.
A more precise description of the process is as follows (assuming a default configuration):
start with the Pi physically disconnected from the upstream modem/router. 2) connect your computer to the Pi via Ethernet (if this isn't an option, you can always connect a monitor and keyboard directly to the Pi and manually edit from there)
enable WiFi (set the country code, SSID, encryption type, passphrase, and then enable the radio).
Now connect your computer via WiFi.
Remove eth0 from br-lan; it is recommended to add option bridge_empty '1' to the bridge at that point.
Create a new interface called wan (all lowercase) and configure it either with static IP, or more commonly DHCP. Use the device eth0 for the wan.
Plug the Ethernet port into the upstream modem/router
Optionally change your lan subnet.
But...
^^^ this is a really important point. You'll probably be quite disappointed by the performance of this system since the WiFi is so severely limited.
Mate, took me a few tries at first but I eventually got it.
With OpenWrt having soo many parameters one can set, it pretty confusing.
Thank you very much the help with this - I think I would be still blowing bubbles out of my bubble pipe with out it