igor.br
(usa Ubuntu)
Enviado em 11/04/2011 - 16:34h
não consegui resolver a situação e segue abaixo cópia do terminal com as alterações que tentei, mas o que acho mais estranho é:
1 - o server dhcp3 não está startado e mesmo assim recebo ips
2 - em todos esses arquivos que me passou não achei nenhum com a faixa de ip que o ubuntu está me dando 10.42.43.x
3 - nesses arquivos que olhei parece que está tudo comentado, será que tem outro servidor de dhcp rodando ? seria um servidor padrão do ubuntu ?
Obrigado
root@orbicell-desktop:/var/lib# cd d
dbus/ dhcp3/ doc-base/
defoma/ dictionaries-common/ dpkg/
root@orbicell-desktop:/var/lib# cd dhcp3
root@orbicell-desktop:/var/lib/dhcp3# vim dhcpd.leases
root@orbicell-desktop:/var/lib/dhcp3# ls
dhclient.eth0.leases dhclient.leases dhcpd.leases~
dhclient-eth1.lease dhcpd.leases
root@orbicell-desktop:/var/lib/dhcp3# vim dhclient.
dhclient.eth0.leases dhclient.leases
root@orbicell-desktop:/var/lib/dhcp3# vim dhclient.leases
root@orbicell-desktop:/var/lib/dhcp3# vim dhclient.eth0.leases
root@orbicell-desktop:/var/lib/dhcp3# ls
dhclient.eth0.leases dhclient.leases dhcpd.leases~
dhclient-eth1.lease dhcpd.leases
root@orbicell-desktop:/var/lib/dhcp3# vim dhclient-eth1.lease
root@orbicell-desktop:/var/lib/dhcp3# vim /etc/dhcp3/dhcpd.conf
root@orbicell-desktop:/var/lib/dhcp3# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
/etc/dhcp3/dhcpd.conf line 111: semicolon expected.
igor{
^
/etc/dhcp3/dhcpd.conf line 113: fixed-address parameter not allowed here.
fixed-address 192.168.1.113;
^
/etc/dhcp3/dhcpd.conf line 113: expecting a parameter or declaration
fixed-address 192.168.1.113;
^
/etc/dhcp3/dhcpd.conf line 114: expecting a parameter or declaration
}
^
Configuration file errors encountered -- exiting
root@orbicell-desktop:/var/lib/dhcp3# vim /etc/dhcp3/dhcpd.conf
root@orbicell-desktop:/var/lib/dhcp3# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
/etc/dhcp3/dhcpd.conf line 114: expecting a declaration
}
^
Configuration file errors encountered -- exiting
root@orbicell-desktop:/var/lib/dhcp3# vim /etc/dhcp3/dhcpd.conf
root@orbicell-desktop:/var/lib/dhcp3# /etc/init.d/dhcp3-server restart
* Stopping DHCP server dhcpd3
...fail!
* Starting DHCP server dhcpd3
* check syslog for diagnostics.
...fail!
root@orbicell-desktop:/var/lib/dhcp3# vim /etc/dhcp3/dhcpd.conf
root@orbicell-desktop:/var/lib/dhcp3# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
/etc/dhcp3/dhcpd.conf line 114: expecting a declaration
}
^
Configuration file errors encountered -- exiting
root@orbicell-desktop:/var/lib/dhcp3# vim /etc/dhcp3/dhcpd.conf
root@orbicell-desktop:/var/lib/dhcp3# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
/etc/dhcp3/dhcpd.conf line 114: expecting a declaration
}
^
Configuration file errors encountered -- exiting
root@orbicell-desktop:/var/lib/dhcp3# /etc/init.d/dhcp3-server status
Status of DHCP server: dhcpd3 is not running.
root@orbicell-desktop:/var/lib/dhcp3#