Entradas

Mostrando entradas de noviembre, 2024

Wireshark

Imagen
  Para esta practica hay que iniciar el servidor DHCP de windows server, después de iniciarle hay que entrar a whireshark desde el ordenador cliente, seleccionamos ethernet y ordenamos por filtro bootp, para que solo salgan los mensajes dhcp, seleccionamos el mensaje de respuesta ACK y hacemos clic en Boot flags: donde encontraremos una línea donde pone Your (Client) IP address: 192.168.32.222 que es la ip que nos da el servidor dhcp de Windwos Server al cliente de Windows11.

DHCP Ubuntu

Imagen
   sudo gedit /etc/default/isc-dhcp-server y ponemos en v4 enp2s0 sudo apt -y install isc-dhcp-server     sudo cp /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.orig sudo gedit /etc/dhcp/dhcpd.conf Configuramos con las siguientes configuraciones:         # dhcpd.conf # option definitions common to all supported networks... option domain-name "domimio103.local"; option domain-name-servers ai1pc103.domimio103.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 .47   192.168.32 .49;   option routers   192.168.32 .1; } # Fixed IP addresses can also be specified for hosts.   These addresses host ai1pc103{   hardware ethernet 18:C0:4D:DE:3A:...