Hi all,
generally my RasPI is on private LAN with address 192.168.1.xx where xx is a fixed static address.
From time to time I have to move it to a different LAN that uses 192.168.178.xx address.
I tried the alias scheme on interface eth0 but it did'nt work (the board is unreachable).
I can't use the DHCP protocol, so I need to set the config file in a way that on RasPI boot it is assigned the right address for the LAN it is on at that time.
Only one address will be active at any time.
Have you any hint?
TIA
Umberto
generally my RasPI is on private LAN with address 192.168.1.xx where xx is a fixed static address.
From time to time I have to move it to a different LAN that uses 192.168.178.xx address.
I tried the alias scheme on interface eth0 but it did'nt work (the board is unreachable).
I can't use the DHCP protocol, so I need to set the config file in a way that on RasPI boot it is assigned the right address for the LAN it is on at that time.
Only one address will be active at any time.
Have you any hint?
TIA
Umberto