[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: DHCP für zwei Netze



On Wed, Apr 11, 2007 at 07:07:27PM +0200, Claus Malter wrote:

> In der dhcpd3.conf habe ich neben dem funktionierenden 1.0er Netz noch
> eine zweite Gruppe erstellt:
> subnet 192.168.2.0 netmask 255.255.255.0 {
>   range 192.168.2.101 192.168.2.110;
>   authoritative;
>   option domain-name "iptv";
>   option domain-name-servers 192.168.2.250;
>   option broadcast-address 192.168.2.255;
>   option routers 192.168.2.250;
>   option subnet-mask 255.255.255.0;
Loeschen -> }
> 
> host iptv {
>   hardware ethernet 00:d0:e0:92:42:64;
>   fixed-address 192.168.2.101;
Hinzufuegen ->  }
> }

Oder um es anders auszudruecken: die Deklaration fuer host iptv muss in die
Deklaration des Subnets hinein. Bei dir stand sie jedoch ausserhalb,
weswegen du das eine "}" verschieben musst. 
Beispiel: 

|subnet 192.168.41.0 netmask 255.255.255.0 {
|        option domain-name-servers      192.168.41.1;
|        option routers                  192.168.41.1;
|        host mol1 {
|                hardware ethernet       00:00:0D:EA:DB:EE;
|                fixed-address           192.168.41.2;
|        }
|}


-- 
Ciao...                //        Fon: 0381-2744150 
      Ingo           \X/         SIP: 2744150@sipgate.de

gpg pubkey: http://www.juergensmann.de/ij/public_key.asc



Reply to: