Re: [OT] 2 DHCP 1 computadora
El día 6 de noviembre de 2008 14:09, Usuario <vlomasb@gmail.com> escribió:
>> Hola
>>
>> creo que en /etc/dhcp3/dhclient.conf tienes una opcion "reject" que
>> rechaza las ofertas de un servidor, sólo le tienes que decir que no
>> acepte las del router2
>>
>> Espero que te sirva.
>>
>>
>
> Definitivamente esto es lo que necesito, seguiré averiguando.
>
En el man dhclient.conf tambien sale la opción reject que
especificamente dice esto:
reject cidr-ip-address [, ... cidr-ip-address ] ;
The reject statement causes the DHCP client to reject offers
from servers whose server identifier matches any of the specified
hosts or subnets.
This can be used to avoid being configured by rogue or
misconfigured dhcp servers, although it should be a last resort -
better to track down the
bad DHCP server and fix it.
The cidr-ip-address configuration type is of the form
ip-address[/prefixlen], where ip-address is a dotted quad IP address,
and prefixlen is the
CIDR prefix length of the subnet, counting the number of
significant bits in the netmask starting from the leftmost end.
Example configuration
syntax:
reject 192.168.0.0/16, 10.0.0.5;
The above example would cause offers from any server identifier in
the entire RFC 1918 "Class C" network 192.168.0.0/16, or the specific
single address
10.0.0.5, to be rejected.
Suerte y nos cuentas.
> Gracias a todos
>
--
usuario linux #274354
normas de la lista: http://wiki.debian.org/NormasLista
Reply to: