Community discussions

MikroTik App
 
contime
just joined
Topic Author
Posts: 23
Joined: Thu Sep 15, 2005 10:25 am

IP and gateway change

Tue Dec 20, 2005 11:52 am

which is the easyst way to change working MT IP and gateway so,
that after it still alive. ( MT is 40-45 km. away ).?
 
yancho
Member Candidate
Member Candidate
Posts: 207
Joined: Tue Jun 01, 2004 3:04 pm
Location: LV

Tue Dec 20, 2005 12:24 pm

MAC telnet
 
contime
just joined
Topic Author
Posts: 23
Joined: Thu Sep 15, 2005 10:25 am

Tue Dec 20, 2005 2:51 pm

mac telnet is good, but this MT is not in my subnet.

the only way i think is over MT ethernet with winbox or make MT backup and then change it another MT and copy backup back and reboot MT. ( this is high risk if MT is not boot up or IP's is not correct then i have to drive 40-50 km :)
 
contime
just joined
Topic Author
Posts: 23
Joined: Thu Sep 15, 2005 10:25 am

Tue Dec 20, 2005 2:52 pm

or someone help me write little script which do all work.
( change IP and gateway ) ?
 
telephone29
just joined
Posts: 24
Joined: Wed Oct 12, 2005 8:57 pm

Wed Dec 21, 2005 6:32 pm

this should be easy: login to this "far away" server from some server or computer which is on the SAME subnet on ethernet as this faraway server - ie. if this is 192.168.0.1, login to it from 192.168.0.2 etc, ADD new IP adress to it, and do:

/ip route
print
set -number-of-default-gateway new-gateway-ip ie. set 14 10.10.0.1