BikeHelmet
Regular Contributor
Howdy,
I have a very specific use case, which I have always used Tomato routers for. I'm trying to figure out if there's a way to do it for Merlin routers as well (maybe a simple IPTables command or something?), as they are much newer and better supported. When I try to do it with Merlin routers, I get messages like "WAN and LAN cannot be same subnet", etc.; is there a way to get around that and have the router be 192.168.10.1 for example, and the gateway/booster be 192.168.10.2?
On Boats in Marinas without in-place WiFi on the docks, you often need a wireless booster to connect to a WiFi network on-shore. Most of the boosters are either not very intuitive, or have quirks that limit their functionality. (Like maybe it's impossible to turn off DHCP, and they only support static WAN, not DHCP WAN. Oh, and the DHCP crashes if there are two many client devices, because the booster was designed with 4MB of RAM. Dumb limitations.) Finding the right mix of equipment and settings can be an exercise. Many people don't want to buy new equipment, so you do what you can to get theirs working. And most people in that scenario have no clue about networking or rewiring WAN and LAN cables - they want simple. Bookmark the config page, they punch in WiFi settings and/or click Scan, then click Save. Done. If it requires unplugging stuff, they will forget and phone for help, and complain.
I'm currently dealing with an ornery booster on a boat, that has two defective modes. The only two that working are Router mode or Repeater mode. Wireless bridge mode requires identical equipment on the other end - not going to happen, since the boat owner does not control the marina. So it runs Router mode instead - the booster gets an IP from the onshore router (Who knows what subnet - 192.168.67.x, 192.168.1,x, 192.168.100.x, 10.0.0.x, etc.), hands out an IP to any devices that it sees, like the boat router - and then the boat router hands out IPs to all other devices. Great. But when the boat moves, it needs to be reprogrammed to new WiFi settings - the booster is inaccessible when plugged in through the WAN port unless you do a WAN to LAN Loopback. On Tomato that works fine, but on Merlin firmware it doesn't work at all? (Internet drops, no DNS.) Most lone boat owners have limited computer skills to say the least, so even with instructions, mistakes will be made swapping these cables around. The solution is likely a command saved somewhere over Putty or WinSCP? Any ideas? For Tomato a jerry rigged 1ft cable did the job. This is IRL and needs to be foolproof. Any ideas?
This is what I mean with WAN to LAN Loopback. It makes the WAN device part of the LAN. It works fine on Tomato as long as you don't have overlapping DHCP zones. (Overlapping DHCP is fine, just not the IPs that they hand out.) It does technically work on Merlin, in the sense that the booster is reprogrammable in a web browser, but it doesn't route internet traffic through the booster to the shore.
I am aware that this is not exactly prim and proper networking.
In this example with a Tomato router, the boat router might be 192.168.10.1 on 255.255.255.0 and hand out IPs in 192.168.10.50 - 149 range, with numbers under that allocated staticly. It handles WiFi on the boat, plus some other services - makes a printer accessible over WiFi, handles security cameras, etc.; the booster might be at 192.168.10.2 on 255.255.255.0, and hand out IPs in the 192.168.10.150 - 249 range. Its DHCP cannot be turned off, it cannot broadcast WiFi locally for the boat (hence the need for the router), and it tends to randomly stop responding to DHCP requests when too many devices are connected, or it's busy reconnecting to a wireless WAN gateway. You might think, why not just have it be the router and plug in an access point? Well, because its router features suck and destabilize and stop working very often. Anyway, because they are both on the same LAN and subnet in this scenario, it doesn't matter which "router" allocates an IP to a device. All devices can see each other. When the booster's DHCP fails (because, cruddy finicky equipment), the boat router handles it all. And since it has Static WAN IP settings, that part doesn't break down at all.
This cludgy work-around to an IRL problem is pretty much flawless in how well it functions, and only requires adding an $80 router - rather than replacing a pile of equipment, being more complicated to reconfigure, and having reduced uptime. Anyone know a command that would accomplish a similar result in Merlin? I'm willing to experiment if anyone has ideas. (Or suggestions on better ways to do this.)
Cheers, and I hope I didn't break anyone's brain.
I have a very specific use case, which I have always used Tomato routers for. I'm trying to figure out if there's a way to do it for Merlin routers as well (maybe a simple IPTables command or something?), as they are much newer and better supported. When I try to do it with Merlin routers, I get messages like "WAN and LAN cannot be same subnet", etc.; is there a way to get around that and have the router be 192.168.10.1 for example, and the gateway/booster be 192.168.10.2?
On Boats in Marinas without in-place WiFi on the docks, you often need a wireless booster to connect to a WiFi network on-shore. Most of the boosters are either not very intuitive, or have quirks that limit their functionality. (Like maybe it's impossible to turn off DHCP, and they only support static WAN, not DHCP WAN. Oh, and the DHCP crashes if there are two many client devices, because the booster was designed with 4MB of RAM. Dumb limitations.) Finding the right mix of equipment and settings can be an exercise. Many people don't want to buy new equipment, so you do what you can to get theirs working. And most people in that scenario have no clue about networking or rewiring WAN and LAN cables - they want simple. Bookmark the config page, they punch in WiFi settings and/or click Scan, then click Save. Done. If it requires unplugging stuff, they will forget and phone for help, and complain.
I'm currently dealing with an ornery booster on a boat, that has two defective modes. The only two that working are Router mode or Repeater mode. Wireless bridge mode requires identical equipment on the other end - not going to happen, since the boat owner does not control the marina. So it runs Router mode instead - the booster gets an IP from the onshore router (Who knows what subnet - 192.168.67.x, 192.168.1,x, 192.168.100.x, 10.0.0.x, etc.), hands out an IP to any devices that it sees, like the boat router - and then the boat router hands out IPs to all other devices. Great. But when the boat moves, it needs to be reprogrammed to new WiFi settings - the booster is inaccessible when plugged in through the WAN port unless you do a WAN to LAN Loopback. On Tomato that works fine, but on Merlin firmware it doesn't work at all? (Internet drops, no DNS.) Most lone boat owners have limited computer skills to say the least, so even with instructions, mistakes will be made swapping these cables around. The solution is likely a command saved somewhere over Putty or WinSCP? Any ideas? For Tomato a jerry rigged 1ft cable did the job. This is IRL and needs to be foolproof. Any ideas?
This is what I mean with WAN to LAN Loopback. It makes the WAN device part of the LAN. It works fine on Tomato as long as you don't have overlapping DHCP zones. (Overlapping DHCP is fine, just not the IPs that they hand out.) It does technically work on Merlin, in the sense that the booster is reprogrammable in a web browser, but it doesn't route internet traffic through the booster to the shore.
I am aware that this is not exactly prim and proper networking.
In this example with a Tomato router, the boat router might be 192.168.10.1 on 255.255.255.0 and hand out IPs in 192.168.10.50 - 149 range, with numbers under that allocated staticly. It handles WiFi on the boat, plus some other services - makes a printer accessible over WiFi, handles security cameras, etc.; the booster might be at 192.168.10.2 on 255.255.255.0, and hand out IPs in the 192.168.10.150 - 249 range. Its DHCP cannot be turned off, it cannot broadcast WiFi locally for the boat (hence the need for the router), and it tends to randomly stop responding to DHCP requests when too many devices are connected, or it's busy reconnecting to a wireless WAN gateway. You might think, why not just have it be the router and plug in an access point? Well, because its router features suck and destabilize and stop working very often. Anyway, because they are both on the same LAN and subnet in this scenario, it doesn't matter which "router" allocates an IP to a device. All devices can see each other. When the booster's DHCP fails (because, cruddy finicky equipment), the boat router handles it all. And since it has Static WAN IP settings, that part doesn't break down at all.
This cludgy work-around to an IRL problem is pretty much flawless in how well it functions, and only requires adding an $80 router - rather than replacing a pile of equipment, being more complicated to reconfigure, and having reduced uptime. Anyone know a command that would accomplish a similar result in Merlin? I'm willing to experiment if anyone has ideas. (Or suggestions on better ways to do this.)
Cheers, and I hope I didn't break anyone's brain.