Jump to content

Recommended Posts

Posted

Slackware 10.0. Систему ставил первый раз, обычно пользую FreeBSD. Все вроде поставил нормально, настроил DHCP, dhcpd запускается нормально, не ругается. Но не работает!! Т.е. клиенты ничего не получают. Запросы от них идут, tcpdump-ом смотрел на сервере, но dhcpd в логах ничего не пишет. Куда копать, не подскажете? Заранее большое спасибо.

P.S. nmap не кажет 67 порт при сканнинге. Netstat показывает, что DHCP работает.

Posted

Новые уточнения - я же пробовал грузить машину с PXE, а когда попробовал просто систему, Кноппикс, адрес он схватил как положено. А Etherboot не работает, пишет что ДХЦП не дает ему ничего... tcpdump показывает что и реквесты есть, и ответы на них идут...

Самое странное эта же машина отлично грузилась с РедХатовского сервера с такими же настройками...

Posted

#

# Sample configuration file for ISC dhcpd

#

# Make changes to this file and copy it to /etc/dhcpd.conf.sample

#

 

ddns-update-style none;

 

default-lease-time 21600;

max-lease-time 21600;

 

allow booting;

allow bootp;

 

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.10.255;

option routers 192.168.10.1;

option domain-name-servers 192.168.10.1;

option domain-name "slackware"; # <--Fix this domain name

 

option root-path "192.168.10.1:/opt/ltsp/i386";

 

option option-128 code 128 = string;

option option-129 code 129 = text;

 

subnet 192.168.10.0 netmask 255.255.255.0 {

use-host-decl-names on;

range 192.168.10.10 192.168.10.40;

option log-servers 192.168.10.1;

 

 

##

## If you want to use static IP address for your workstations, then un-comment

## the following section and modify to suit your network.

## Then, duplicate this section for each workstation that needs a static

## IP address.

##

host ws001 {

hardware ethernet 00:08:c7:7f:35:8f;

fixed-address 192.168.10.50;

filename "/lts/vmlinuz-2.4.26-ltsp-1";

# option option-128 e4:45:74:68:00:00; # NOT a mac address

# option option-129 "NIC=ne IO=0x300";

 

 

}

 

##

## If you want to use a dynamic pool of addresses, then un-comment the following

## lines and modify to match your network.

##

## subnet 192.168.0.0 netmask 255.255.255.0 {

## range dynamic-bootp 192.168.0.1 192.168.0.253;

## }

##

 

}

 

#

# If you need to pass parameters on the kernel command line, you can

# do it with option-129. In order for Etherboot to look at option-129,

# you MUST have option-128 set to a specific value. The value is a

# special Etherboot signature of 'e4:45:74:68:00:00'.

#

# Add these two lines to the host entry that needs kernel parameters

#

# option option-128 e4:45:74:68:00:00; # NOT a mac address

# option option-129 "NIC=ne IO=0x300";

#

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.