diff --git a/1/ISO/assignments/t12-ej1-dhcpd/dhcpd.conf b/1/ISO/assignments/t12-ej1-dhcpd/dhcpd.conf new file mode 100644 index 0000000..4047d21 --- /dev/null +++ b/1/ISO/assignments/t12-ej1-dhcpd/dhcpd.conf @@ -0,0 +1,10 @@ +option domain-name-servers 8.8.8.8, 8.8.4.4; +option routers 172.21.0.100; +option subnet-mask 255.255.255.0; +subnet 192.168.37.0 netmask 255.255.255.0 { + range 192.168.37.100 192.168.37.150; +} +host DESKTOP-U4F9M9L { + hardware ethernet 7C:10:C9:25:95:E1; + fixed-address 192.168.37.201; +} diff --git a/1/ISO/assignments/t12-ej1-dhcpd/dinamica.txt b/1/ISO/assignments/t12-ej1-dhcpd/dinamica.txt new file mode 100644 index 0000000..974aa3e --- /dev/null +++ b/1/ISO/assignments/t12-ej1-dhcpd/dinamica.txt @@ -0,0 +1,31 @@ +Internet Systems Consortium DHCP Server 4.4.1 +Copyright 2004-2018 Internet Systems Consortium. +All rights reserved. +For info, please visit https://www.isc.org/software/dhcp/ +Config file: dhcpd.conf +Database file: /var/lib/dhcp/dhcpd.leases +PID file: /var/run/dhcpd.pid +Wrote 0 deleted host decls to leases file. +Wrote 0 new dynamic host decls to leases file. +Wrote 1 leases to leases file. + +No subnet declaration for enp2s0 (172.16.37.4). +** Ignoring requests on enp2s0. If this is not what + you want, please write a subnet declaration + in your dhcpd.conf file for the network segment + to which interface enp2s0 is attached. ** + +Listening on LPF/enp3s0/00:4f:4e:0c:cf:c3/192.168.37.0/24 +Sending on LPF/enp3s0/00:4f:4e:0c:cf:c3/192.168.37.0/24 +Sending on Socket/fallback/fallback-net +Server starting service. +DHCPREQUEST for 172.16.37.3 from 7c:10:c9:28:29:b5 via enp3s0: ignored (not authoritative). +DHCPREQUEST for 172.16.37.3 from 7c:10:c9:28:29:b5 via enp3s0: ignored (not authoritative). +DHCPREQUEST for 172.16.37.3 from 7c:10:c9:28:29:b5 via enp3s0: ignored (not authoritative). +DHCPREQUEST for 172.16.37.3 from 7c:10:c9:28:29:b5 via enp3s0: ignored (not authoritative). +DHCPREQUEST for 172.16.37.3 from 7c:10:c9:28:29:b5 via enp3s0: ignored (not authoritative). +DHCPREQUEST for 172.16.37.3 from 7c:10:c9:28:29:b5 via enp3s0: ignored (not authoritative). +DHCPDISCOVER from 7c:10:c9:28:29:b5 via enp3s0 +DHCPOFFER on 192.168.37.101 to 7c:10:c9:28:29:b5 (LAPTOP-NIMQD9EE) via enp3s0 +DHCPREQUEST for 192.168.37.101 (192.168.37.2) from 7c:10:c9:28:29:b5 (LAPTOP-NIMQD9EE) via enp3s0 +DHCPACK on 192.168.37.101 to 7c:10:c9:28:29:b5 (LAPTOP-NIMQD9EE) via enp3s0 diff --git a/1/ISO/assignments/t12-ej1-dhcpd/fija.txt b/1/ISO/assignments/t12-ej1-dhcpd/fija.txt new file mode 100644 index 0000000..b11ebd7 --- /dev/null +++ b/1/ISO/assignments/t12-ej1-dhcpd/fija.txt @@ -0,0 +1,24 @@ +Internet Systems Consortium DHCP Server 4.4.1 +Copyright 2004-2018 Internet Systems Consortium. +All rights reserved. +For info, please visit https://www.isc.org/software/dhcp/ +Config file: dhcpd.conf +Database file: /var/lib/dhcp/dhcpd.leases +PID file: /var/run/dhcpd.pid +Wrote 0 deleted host decls to leases file. +Wrote 0 new dynamic host decls to leases file. +Wrote 1 leases to leases file. + +No subnet declaration for enp2s0 (172.16.37.4). +** Ignoring requests on enp2s0. If this is not what + you want, please write a subnet declaration + in your dhcpd.conf file for the network segment + to which interface enp2s0 is attached. ** + +Listening on LPF/enp3s0/00:4f:4e:0c:cf:c3/192.168.37.0/24 +Sending on LPF/enp3s0/00:4f:4e:0c:cf:c3/192.168.37.0/24 +Sending on Socket/fallback/fallback-net +Server starting service. +uid lease 192.168.37.100 for client 7c:10:c9:25:95:e1 is duplicate on 192.168.37.0/24 +DHCPREQUEST for 192.168.37.201 from 7c:10:c9:25:95:e1 via enp3s0 +DHCPACK on 192.168.37.201 to 7c:10:c9:25:95:e1 via enp3s0