configurazione dhcp

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
mapreri
Consiglio di Ubuntu-it
Consiglio di Ubuntu-it
Messaggi: 1678
Iscrizione: martedì 7 dicembre 2010, 17:52
Desktop: i3wm
Distribuzione: Debian unstable (sid) amd64
Sesso: Maschile
Località: Milano
Contatti:

configurazione dhcp

Messaggio da mapreri »

sto mettendo su un server per casa con ubuntu server e iniziando con il dhcp inizio già ad avere problemi. questo è il mio /etc/dhcp3/dhcp.conf

Codice: Seleziona tutto

authoritative;

pool {

range 192.168.100.3 192.168.100.254;

server-name "fam-preciso.local";

option domain-name "fam-preciso.local";

#option domain-name-servers 192.168.100.1;

default-lease-time 86400;
max-lease-time 31536000;

host fam-preciso.local {
hardware ethernet 00:48:54:6B:B3:D7;
fixed-address 192.168.100.1;
}

}

}
questo invece è /etc/default/dhcp3-srerver:

Codice: Seleziona tutto

# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#	Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0 eth1"
non riesce ad avviarsi il server!
Avatar utente
ReMichael
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4042
Iscrizione: venerdì 30 novembre 2007, 22:02

Re: configurazione dhcp

Messaggio da ReMichael »

Nel primo file di configurazione che hai postato ci sono 2 parentesi aperte ma 3 chiuse.

Se correggendo quello non si avvia ancora guarda il file di log per maggiori informazioni.
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti