I building cluster computer with two Raspberry PI 3 where I have 1 internet router and one LAN switcher. Both Raspberry PI are connected to the switcher.
Internet router gateway is 192.168.1.1
LAN Switcher gives me gateway 192.168.137.1
I need setup one PI to 192.168.1.100
Second PI need to have 192.168.1.101
Now I stack on the
interface eth0 static ip_address=192.168.1.100 static routers=192.168.137.1 static domain_name_servers=192.168.137.1
I also try something like this:
interface eth0 static ip_address=192.168.1.100 static routers=192.168.1.1 static domain_name_servers=192.168.1.1
But this not gives me internet access and can't access to this PI.