Instalacion de DHCP Ubuntu Server

sudo apt -y install isc-dhcp-server sudo cp /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.orig sudo gedit /etc/dhcp/dhcpd.conf # dhcpd.conf # option definitions common to all supported networks... option domain-name "domimio100.local"; option domain-name-servers ai1pc100.domimio100.local; default-lease-time 600; max-lease-time 7200; ddns-update-style none; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # This is a very basic subnet declaration. subnet 192.168.32.0 netmask 255.255.255.0 { range 192.168.32.200 192.168.32.254; option routers 192.168.32.1; } # Fixed IP addresses can also be specified for hosts. These addresses host ai1pc100{ hardware ethernet 18:C0:4D:DE:3A:6A ; fixed-address 192.168.32.200 ; } sudo service isc-dhcp-server start sudo service isc-dhcp-server status sudo systemctl restart isc-dhcp-server

Comentarios

Entradas populares