Experimenting with Homenet, IPv6 is fine but IPv4 is causing some headaches. I realise that Homenet is really intended for IPv6, but I have lots of TVs, lights, power points etc that only talk IPv4. Also, I run a web server which needs to be NAT'ed over IPv4 for external access from IPv4 only clients.
Hnet working on the LAN side of a single gateway router is fine. I have configured it to use 192.168.0.0 for IPv4. When adding a downstream hnet router, it is fine with IPv6. Sometimes it accepts 192.168.0.0 for its own addresses (no problem), but sometimes it overrides the gateway router with 10.0.0.0 addresses.
Two problems with this:
-
the changed IPv4 addresses aren't propagated immediately to all nodes. They sit there with 192.168.0.0 addresses, unable to connect. Unplug/replug the node fixes it, or wait until the DHCP lease expires. How do I get immediate updates?
-
I have an HTTP server which needs to be visible externally. It needs a fixed IPv4 address in the NAT tables
a) how do I assign a fixed IPv4 address using hnet; and
b) how do I cope with changing IPv4 networks?
Any suggestions?
Thanks, Jan