[ SlackList ] [ WkikiSlack ]



Re: dziwne zachowanie serwera cdn. - dhcp

From: Asmo <rafalzajac@interia.pl>
Date: Sun Mar 09 2003 - 00:57:13 CET
[slacklist] Re: dziwne zachowanie serwera cdn. - dhcp

Witam

Spróbuj tak:

#Poczatek
ddns-update-style interim;

subnet 192.168.1.0 netmask 255.255.255.0 {
     range 192.168.1.11 = 192.168.1.20;
     default-lease-time = 86400;
     max-lease-time = 259200;
     authoritative;
     use-host-decl-names = on;
     option domain-name-servers = 194.204.159.1, 194.204.152.34;
     option routers = 192.168.1.1;
     option subnet-mask = 255.255.255.0;
     option broadcast-address = 192.168.1.255;
}

host Joks {
         = hardware ethernet 00:80:ad:77:fb:98;
         = fixed-address 192.168.1.2;
         = option broadcast-address 192.168.1.255;
         = option domain-name-servers 194.204.159.1, 194.204.152.34;
         = option routers 192.168.1.1;
}
#Koniec

Jeśli chodzi o używane przez ciebie:

   use-host-decl-names on;
   option host-name = "Serwer";

I tak dalej to na stronie manuala napisano coś = takiego:

          = An option host-name statement within a host declaration
          will = override the use of the name in the host  declara-
          = tion.

          = It  should  be  noted  here that most DHCP clients =
          pletely =
          server, = and there is no way to configure them not to do
          = this.   So you generally have a choice  of  =
          = having  any  hostname to client IP address mapping that
          the = It
          is = beyond the scope of this document to describe how to
          make = this determination.



# __________________________________________
# asmodeus AT interia.pl
# http://slackware.prv.pl
# "When one learns a distribution
# such as Red Hat, one learns Red Hat.
# When one learns Slackware, one learns = Linux."
#


----------------------------------------------------------------= ------
KLIKAJ!!! Nie pytaj dlaczego... >>> http://link.interia.pl/f16e2


Received on Sat Feb 21 03:37:01 2004
This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014