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 /etc/dhcpdcd.conf
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.
Any help?
ip r
output – Milliways Aug 31 '19 at 22:54ip r
no one can help. – Milliways Sep 01 '19 at 07:30ip addr
andip route
. – Ingo Sep 01 '19 at 08:01