On Fri, Nov 22, 2019 at 03:04:21PM -0500, Keith Wright wrote:
In production they are _very_ different subnets. The LAN is 192.168.1.* while the internet address is 66.92.74.188/24. I am just trying to test it all with both cables going to things that I control.
If you want them to be in the same subnet (why?)
As I said, just for testing. Would it help to test with address 192.168.2.1/24 (note 2 in second to low order byte). I've never tried to use such an address, and I am not sure how to configure the other machines to use it without trying to route through gateway to the internet.
Yes. If you want to test with a test router and test network, then you need to set up a test network and plug a test system into it. If you have this now: realsystem---[REAL-LAN switch]---[REAL-LAN-interface realrouter REAL-WAN-interface]---Internet REAL-LAN-interface is presumably 192.168.1.1/24. REAL-WAN-interface is whatever your ISP gave you. Then this could be your test network: testsystem---[TEST-LAN switch]---[TEST-LAN-interface testrouter TEST-WAN-interface]---[REAL-LAN-Switch] TEST-LAN switch could just be a (crossover) ethernet cable if you don't want more than one test system or don't have another switch. testrouter is your new Debian system. testsystem == 192.168.2.10/24, default gateway == 192.168.2.1 TEST-LAN-interface == 192.168.2.1/24 TEST-WAN-interface == 192.168.1.xxx/24 (a free IP on your real network), default gateway 192.168.1.1