Xubuntu 16, tftp-сервер для работы с pxebooting, затем завершается после перезагрузки

Что может быть причиной моего сбоя сервера tftp-hpa вскоре после перезагрузки моего Ubuntu?

В течение нескольких секунд я мог подключиться к нему через LAN со своим вторым ноутбуком:

, а затем он выйдет из строя, поэтому время загрузки файлов на TFTP с ошибкой PXE-e32.

Также я сделал:

sudo apt purge *tftp* sudo apt purge *inet*

, а затем следую этому руководству: и установил

sudo apt install tftpd-hpa

, но все же у меня такой же эффект. Так плохо, я весь день застрял в этом: (

Изменить: То же самое происходит с xinet, inet, atftpd, tftpd-hpa ...

Это мои интерфейсы: [ ! d12] anonymous@HPC0:~$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto enp0s10 iface enp0s10 inet static address 1.1.1.100 network 1.1.1.0 netmask 255.255.255.0 broadcast 1.1.1.255 auto enp1s10 iface enp1s10 inet dhcp

Это моя конфигурация DHCP-сервера:

# # Sample configuration file for ISC dhcpd for Debian # # Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as # configuration file instead of this file. # # # The ddns-updates-style parameter controls whether or not the server will # attempt to do a DNS update when a lease is confirmed. We default to the # behavior of the version 2 packages ('none', since DHCP v2 didn't # have support for DDNS.) ddns-update-style none; # option definitions common to all supported networks... option domain-name "example.org"; option domain-name-servers ns1.example.org, ns2.example.org; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. subnet 1.1.1.0 netmask 255.255.255.0 { # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # The range of IP addresses the server # will issue to DHCP enabled PC clients # booting up on the network range 1.1.1.101 1.1.1.199; # Set the amount of time in seconds that # a client may keep the IP address default-lease-time 60; max-lease-time 86400; # Set the default gateway to be used by # the PC clients, here we are router, # we dont use ip of router-to-be-switch option routers 1.1.1.100; # Don't forward DHCP requests from this # NIC interface to any other NIC interfaces option ip-forwarding on; # Set the broadcast address and subnet mask # to be used by the DHCP clients option subnet-mask 255.255.255.0; option broadcast-address 1.1.1.255; # Set the NTP server to be used by the # DHCP clients option ntp-servers 1.1.1.100; # Set the DNS server to be used by the # DHCP clients option domain-name-servers 1.1.1.100; option domain-name "HPC.domain"; option nis-domain "HPC.domain"; # If you specify a WINS server for your Windows clients, # you need to include the following option in the dhcpd.conf file: option netbios-name-servers 192.168.1.100; # You can also assign specific IP addresses based on the clients' # ethernet MAC address as follows (Host's name is "laser-printer": } group { filename "pxelinux.0"; use-host-decl-names on; next-server 1.1.1.100; # HPC0 master addres is: 90:e6:ba:76:f1:b9 and f8:1a:67:03:17:c1 host HPC1 { fixed-address 1.1.1.101; hardware ethernet dc:0e:a1:82:9d:72; option root-path "/srv/tftpboot/HPC1"; } host HPC2 { fixed-address 1.1.1.102; hardware ethernet 00:25:22:a8:fd:21; option root-path "/srv/tftpboot/HPC2"; } host HPC3 { fixed-address 1.1.1.103; hardware ethernet 00:25:11:4f:9d:92; option root-path "/srv/tftpboot/HPC3"; } }

настройки tftpd-hpa:

anonymous @ HPC0: ~ $ cat / etc / default / tftpd-hpa

# /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/srv/tftpboot" TFTP_ADDRESS=":69" TFTP_OPTIONS="--secure" RUN_DAEMON="yes" OPTION="-l -s /srv/tftpboot"

В моей сети это: - im подключение глобальной сети к HPC0 с помощью enp1s10 и частной сети к моему компьютеру «HPC0» от enp0s10, я использую старый маршрутизатор с отключенным dhcp как переключиться на другой ПК «HPC1».

Изменить:

Что бы я ни делал tftp сбой через 1 минуту? Даже я остановил брандмауэр: sudo service ufw stop sudo ufw disable

EDIT: PING

Как-то я узнал, что не так долго после перезагрузки на моем сервере (1.1.1.100) я могу позвонить клиенту (1.1. 1.101): ping 1.1.1.101 и получить вывод «64 байта», но через некоторое время я больше не получаю никакого ответа, и когда я отключу свой клиент (1.1.1.101), я получил «хост назначения недоступен»

[D23] Что может быть причиной такого соединения?

EDIT: PING

Я узнаю, что когда я просто подключаю сервер 1.1.1.100 к 1.1 .1.101 клиент, все работает нормально. Этот шинный маршрутизатор должен иметь некоторый межсетевой экран. OMG Я потратил более 10 [ч], чтобы узнать это :(, почему жизнь так коротка?

EDIT: Решение

Я изменил маршрутизатор из d-link dir-652 где я не могу отключить брандмауэр, и для него нет открытого доступа, к маршрутизатору netgear cg3100, где я отключил сервер dhcp, брандмауэр и изменил lan ip до 1.1.1.1 с диапазоном 1.1.1.100 1.1.1.199. Теперь он работает нормально! Вы d-link!

0
задан 11 December 2017 в 14:59

0 ответов

Другие вопросы по тегам:

Похожие вопросы: