Nice video dude. Is it possible to get existing leases transferred to the backup router or static addresses moved across to the backup router to ensure that conflicts don't occur?
yes, you can use this demo code: On the R1: ip dhcp-server lease export file=dhcp-lease On the R2: /tool fetch mode=ftp address=10.10.10.2 src-path=dhcp-lease.rsc user=usr password=pass delay 2s /ip dhcp-server lease; :foreach i in=[find] do={ /ip dhcp-server lease; remove $i; } /import dhcp-lease.rsc
Nice video dude. Is it possible to get existing leases transferred to the backup router or static addresses moved across to the backup router to ensure that conflicts don't occur?
yes, you can use this demo code:
On the R1:
ip dhcp-server lease export file=dhcp-lease
On the R2:
/tool fetch mode=ftp address=10.10.10.2 src-path=dhcp-lease.rsc user=usr
password=pass
delay 2s
/ip dhcp-server lease;
:foreach i in=[find] do={
/ip dhcp-server lease;
remove $i;
}
/import dhcp-lease.rsc
Thanks you!