Can someone help me, what am I doing wrong here?
/tool netwatch set [find comment=“isp4”] src-address=(([/ip dhcp-client get [find interface=“ether1” %ipaddress [:pick $ipaddress 0 [find $ipaddress “/”]]
I want to copy the ip address from ether1 in the dhcp client to the netwatch source address
thank you
I tried the gateway and it worked but only with the ip address it didn’t
/tool netwatch set [find comment=“isp4”] src-address=(([/ip dhcp-client get [find interface=“ether1”] gateway]).“”)