Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Раздача IP и hostname по DHCP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Alexey V. Kalinin
n00b
n00b


Joined: 24 Apr 2004
Posts: 7

PostPosted: Mon Jun 07, 2004 8:01 am    Post subject: Раздача IP и hostname по DHCP Reply with quote

Имеем сеть из рабочих машин и сервак с DHCP
Надо раздать по DHCP IP и hostname по mac-адресу.
На рабочих станциях стоит Gentoo.
IP получает без проблем, как получить hostname?

ps для эксперимента пробовал на рабочих машинах ставить asplinux 9, он
получает нормально и IP и hostname.

кусок dhcpd.conf

ddns-update-style ad-hoc;
subnet 10.0.0.0 netmask 255.255.255.0 {
default-lease-time 21600;
max-lease-time 28800;

option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.221;
option domain-name-servers 10.0.0.222;
option domain-name "domain.ru";
range 10.0.0.1 10.0.0.40;

host host1 {
hardware ethernet 00:02:47:7C:e3:4c;
fixed-address 10.0.0.1;
option host-name "host1";
}
}

--
Back to top
View user's profile Send private message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Mon Jun 07, 2004 8:42 am    Post subject: Reply with quote

Хм, ip если получают, то какие проблемы с hostname?
Нужно чтобы эти ip были в dns'е прописаны, тогда все путем должно быть.
_________________
Biomechanical Artificial Sabotage Humanoid
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum