Community discussions

MikroTik App
 
cazz
just joined
Topic Author
Posts: 19
Joined: Thu Dec 21, 2017 10:45 pm

Add support for PXE and TFTP forward

Fri Sep 07, 2018 6:43 pm

Hi
A friend did help me to get my Mikrotik to work with DHCP and alla that.
Myself later have make so some new rules in NAT when I did add more servers at home
Now I trying to see if I can make a PXE server that make it easy for me to reinstall Linux and even som Windows computers.
I have search around a little and find some guide but have not got that to work.
All the guide I found is terminal code and that is ok, I can run to add it from terminal but what I understand that next-server and boot-file-name is not avalible in winbox.
but it feel the code they give me is if I have to create a new DHCP but I have one already so I need somehow update the info from my DHCP server but how and what??

My MT router have 192.168.1.1 and the PXE server have 192.168.1.8 but when I edit the code I found it say is not working or that all ready have a network.

Exemple from this page
viewtopic.php?t=21329

I find a code and edit to fit my config
ip dhcp-server network add address=192.168.1.0/24 gateway=192.168.1.1 next-server=192.168.1.8 boot-file-name=boot.file netmask=24 dns-server=192.168.1.1
but it give me "failure: such network already exists" so I guess I have to make it understand I do not want to create, I want to update?