Community discussions

MikroTik App
 
irfanhilmi000
just joined
Topic Author
Posts: 1
Joined: Wed Nov 01, 2023 3:11 am

dhcp-server script

Wed Nov 01, 2023 3:19 am

global adapter ether2
ip/address/add interface=$adapter address=10.10.10.1/24
ip/dhcp-server/setup
$adapter

output:
Select interface to run DHCP server on

dhcp server interface: $adapter
input does not match any value of interface

how to fix?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12014
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: dhcp-server script

Fri Nov 03, 2023 11:25 am

Is all wrong.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19404
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: dhcp-server script

Fri Nov 03, 2023 5:29 pm

Why dont you state what you want the script to accomplish in plain words and why first!!

Who is online

Users browsing this forum: No registered users and 2 guests