I've been trying to build a multi-router networking lab using OpenWRT, and I can't seem to get the second router up and running.
I've followed this guide to get the first router up and running, and it seems to work great!
When it comes to the second router, I first create a new host-only adapter (it gets the IPv4 address 192.168.57.1) and then try to follow the guide from there using a full clone, replacing all instances of
192.168.57.2 . The problem I run into on this route is that
uci then consistently fails and reports that it's got
invalid arguments, and I can't figure out what it is about the new address that's supposedly invalid.
Since cloning doesn't seem to work, then next thing I've tried is to create a new virtual disk and follow the guide all the way through again, substituting in the new host-only adapter and its associated values where those of
vboxnet0 went for the first router.
uci stops throwing the arguments error, but after I run
uci set network.lan.ipaddr='192.168.57.2', I'm unable to login via SSH. My host returns that the protocol is unavailable.
At this point, I figured it was time to consult those both smarter and more experienced than myself. This is clearly an oversight of my own, so if you think you know what it is I would really appreciate your advice.