On 08/21/2018 07:53 AM, Gary Hodder wrote:
You can temporarily give your lan interface another class C and
configure that device to give it a ip in your range.
Say your device reset to 192.168.0.1 and your ethernet interface is
eth0 you can
ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0
Config device plugged into your switch to your class C then
ifconfig eth0:0 down
ifconfig is deprecated and not installed by default now. The new way is
to use "ip addr". I have seen a comment somewhere that the eth0:0
method has some issues as well, but I don't remember the specifics (and
I never ran into them myself).