![]() ![]() This router is configured to forward data in between the networks it is connected to.ġ92.168.1.2 may be the LAN IP of router C in network A.ġ92.168.2.2 may be the LAN IP of router C in network B. In router B, the default gateway forwards traffic over the internal wireless WAN connection. The DHCP-set default gateway is 192.168.2.1. Your printer may have the IP 192.168.1.80.ġ92.168.2.1 may be the LAN IP of router B in network B.Ĭlients in network B are assigned an IP via DHCP by router B. In router A, the default gateway forwards traffic over the WAN port. The DHCP-set default gateway is 192.168.1.1. The setup could be like this:ġ92.168.1.1 may be the LAN IP of router A in network A.Ĭlients in network A are assigned an IP via DHCP by router A. In this case, you need a third router which is connected (via LAN preferably) to both networks. I assume your current routers are consumer devices which do not defferentiate between wireless and wire-bound connections (except for the one WAN port or the built-in modem respectively). answer and comment are actually quite close to a real solution, but there is room for improvement. Essentially, you want to route between two private networks. (This requires at least one of the ISPs to support IPv4 and at least one to support IPv6.) That will allow all devices to use both routers depending on what's supported by the services they are communicating with. Any Linux machine with ISC dhcpd would work.Ī completely different approach is to configure one of the routers as IPv4-only and the other as IPv6-only. On that separate device you can install a much more flexible DHCP server. ![]() That will have the device use the same gateway regardless of which of the access points it connects to.Īlternatively you can disable DHCP on both routers and use a separate device to act as DHCP server. If the routers allow you to specify a whitelist/blacklist of MAC addresses to which they assign addresses you can use that to control which device gets to use which gateway. And since you appear to have a different access point connected to each router, that might just work as expected - most of the time. By default they will simply use whichever is fastest to respond. The tricky part then is to ensure that each device get a DHCP response from the intended router such that they will use the intended gateway. You can run a single network with two DHCP servers by assigning the same network prefix but different ranges of IP addresses. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |