Unfortunately I have to do it with multicast...
Maybe I found a solution: I set on the Firewall an next Bootstrap Server an
on Port 67 an Boot file. I think it means the Bootfile which the bootserver
distributes for the clients. Do you know which file this is on the
Clonezilla Server?
Isn't it the file /tftpboot/nbi_img/pxelinux.cfg?
[image: 1615801159166.jpg]
This is the ipxe loading process... On the Client I have the IP 10.18.50.4
and the Server is 10.19.50.100.
" Isn't it the file /tftpboot/nbi_img/pxelinux.cfg?" -> Yes, it should be that file.
I suggest you check the log on the server.
You can increase the log level of tftpd: https://manpages.debian.org/testing/tftpd-hpa/in.tftpd.8.en.html
The file you have to modify is /etc/default/tftpd-hpa. Make it like:
TFTP_OPTIONS="--secure --ipv4 -v -v -v"
Then restart the service: sudo systemctl restart tftpd-hpa
Boot the client, and check the log file to see if the client connects the server, and check where goes wrong.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've modifyed the file /etc/default/tftpd-hpa.
Where is the log? Is it /var/log/bootstrap.log?
If it's this one. I can't find some errors...
Can it be that the file /tftpboot/nbi_img/pxelinux.cfg/default does not
support the DHCP option 66? It always comes the error message after it
tries to load the file and the server. (See screenshot) [image: 1615878541189.jpg]
I can't find something about the error code 4c126035.
" Where is the log?" -> It can be /var/log/messages, /var/log/syslog... depends on your GNU/Linux.
"Can it be that the file /tftpboot/nbi_img/pxelinux.cfg/default does not support the DHCP option 66? " -> By default it supports unless your firewall blocks that.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I saw your screenshot with following line net0: 10.18.50.13/255.255.255.0
But in iPXE website https://ipxe.org/cmd/route
You should have some thing like this. net0: 10.18.50.13/255.255.255.0 gw 10.18.50.X
maybe you miss the GW in your dhcp server?
so client cannot access to 10.19.x.x
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I will do it by an easier way... I will take the server and the clients
in the same VLAN...
One last problem:
I mounted correctly an NAS (File-Server) in the Clonezilla-server. The
server recognizes the images which are on the server.
As soon as the client is started and wants to execute the imaging job, the
following error message appears on the cleint: [image: 1616428981295.jpg] [image: 1616428981303.jpg]
Kernel space NFS won't be able to let you export its mounted directory from another network file system. Hence if you want to mount NAS and share that to clients, you have to use user space NFS, e.g., unfs3. However, it's a dead project.
Another choice is to use nfs-ganesha. However, I still have problems to use it in DRBL.
Hence I suggest you copy the image you want to the dir /home/partimag/ on DRBL server.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear community
I have a problem with my Clonezilla server:
The server is in VLAN 1850 and the clients are in VLAN 1950. In order for the clients to find the server I need to do multicast routing?
I have a Fortigate 240D (FortiOS: 6.0.3).
Can anyone help me?
Thanks and greetings
Personally I am not a network guy, so I have no idea to do that. However, if you accept and have more disk space, you can try to use the BT mechanism, instead of multicast:
https://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/11_lite_server
https://clonezilla.org/clonezilla-live/doc/11_lite_server/images/ocs-10-5-multicast.png
and even there is a mechanism for you to do BT cloning directly from device:
https://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/12_lite_server_BT_from_dev
Steven
Hello Steven
Thanks for your reply.
Unfortunately I have to do it with multicast...
Maybe I found a solution: I set on the Firewall an next Bootstrap Server an
on Port 67 an Boot file. I think it means the Bootfile which the bootserver
distributes for the clients. Do you know which file this is on the
Clonezilla Server?
Isn't it the file /tftpboot/nbi_img/pxelinux.cfg?
[image: 1615801159166.jpg]
This is the ipxe loading process... On the Client I have the IP 10.18.50.4
and the Server is 10.19.50.100.
Where am i making a mistake here?
Thank you very much!
Oliver
Last edit: Steven Shiau 2021-03-15
sorry, the client ip is: 10.18.50.2
Last edit: Steven Shiau 2021-03-15
" Isn't it the file /tftpboot/nbi_img/pxelinux.cfg?" -> Yes, it should be that file.
I suggest you check the log on the server.
You can increase the log level of tftpd:
https://manpages.debian.org/testing/tftpd-hpa/in.tftpd.8.en.html
The file you have to modify is /etc/default/tftpd-hpa. Make it like:
TFTP_OPTIONS="--secure --ipv4 -v -v -v"
Then restart the service: sudo systemctl restart tftpd-hpa
Boot the client, and check the log file to see if the client connects the server, and check where goes wrong.
Steven
Good morning Steven
I've modifyed the file /etc/default/tftpd-hpa.
Where is the log? Is it /var/log/bootstrap.log?
If it's this one. I can't find some errors...
Can it be that the file /tftpboot/nbi_img/pxelinux.cfg/default does not
support the DHCP option 66? It always comes the error message after it
tries to load the file and the server. (See screenshot)
[image: 1615878541189.jpg]
I can't find something about the error code 4c126035.
Thank you very much!
Oliver
Last edit: Steven Shiau 2021-03-17
" Where is the log?" -> It can be /var/log/messages, /var/log/syslog... depends on your GNU/Linux.
"Can it be that the file /tftpboot/nbi_img/pxelinux.cfg/default does not support the DHCP option 66? " -> By default it supports unless your firewall blocks that.
Steven
Hello Steven
How can I do it, that my Firewall don't block it anymore?
Thank you very much.
Oliver
Last edit: Steven Shiau 2021-03-18
What did you mean? If your firewall does not block it, it should work.
Steven
Hello Steven
I'm not sure that my firewall didn't blokcs them...
What exactly do I need to do so that my firewall no longer blocks this?
Thank you very much
Oliver
Last edit: Steven Shiau 2021-03-18
I believe you should ask your network guy to help you.
Steven
Okay, thank you very much Steven.
You don't have an idea? Maybe something with the ports 66, 67, 68, 69?
An yes, I would ask my network guy.
please excuse the many questions.
Am Do., 18. März 2021 um 14:27 Uhr schrieb Steven Shiau steven_shiau@users.sourceforge.net:
Hi Oliver Bumann
I saw your screenshot with following line
net0: 10.18.50.13/255.255.255.0
But in iPXE website https://ipxe.org/cmd/route
You should have some thing like this.
net0: 10.18.50.13/255.255.255.0 gw 10.18.50.X
maybe you miss the GW in your dhcp server?
so client cannot access to
10.19.x.x
Hello
Thank you for your reply.
I set as gateway: "same as interface IP".
Should I set there a specify gateway? If yes, which one?
Thank you very much!
Last edit: Steven Shiau 2021-03-24
in your desciption.
I think you should setup to Forti's IP
if your Forti is 10.18.50.254
you should setup to 10.18.50.254
Hello Huang
Thanks for your reply.
My Firewallls IP is 10.4.22.249... I can't set this one, because it's not
in the same Subnet (error message from the firewall).
I tried to set the Specify Gateway 10.18.50.1 and 10.18.50.2
both did not work.
What can I try as next?
Thenk you very much!
Am Fr., 19. März 2021 um 16:40 Uhr schrieb Date Huang tjjh89017@users.sourceforge.net:
I think your Forti has more than 1 IPs.
But I think you still need your network guys to help you.
With Forti, you mean Firewall, right?
Thank you
Date Huang tjjh89017@users.sourceforge.net schrieb am Mo., 22. März 2021,
10:02:
So I will do it by an easier way... I will take the server and the clients
in the same VLAN...
One last problem:
I mounted correctly an NAS (File-Server) in the Clonezilla-server. The
server recognizes the images which are on the server.
As soon as the client is started and wants to execute the imaging job, the
following error message appears on the cleint:
[image: 1616428981295.jpg]
[image: 1616428981303.jpg]
Thank you guys!
Oliver
Last edit: Steven Shiau 2021-03-24
I have no idea about this
Not familiar with DRBL
Kernel space NFS won't be able to let you export its mounted directory from another network file system. Hence if you want to mount NAS and share that to clients, you have to use user space NFS, e.g., unfs3. However, it's a dead project.
Another choice is to use nfs-ganesha. However, I still have problems to use it in DRBL.
Hence I suggest you copy the image you want to the dir /home/partimag/ on DRBL server.
Steven
Okay, thank you very much
All the best!
Oliver