| 13 | - '''Interfaz''' eth0 |
| 14 | - '''VLAN''': XXX (Aulas) |
| 15 | - '''Dirección IP''': 172.17.224.251 |
| 16 | - '''Mascara de subred''': 255.255.255.0 |
| 17 | - '''Gateway''': 172.17.224.254 |
| 18 | |
| 19 | == Servicios == |
| 20 | |
| 21 | '''Software instalado:''' |
| 22 | |
| 23 | {{{#!bash |
| 24 | dnf install dhcp-server |
| 25 | dnf install tftpd |
| 26 | dnf install tftp-server |
| 27 | dnf install nfs-utils |
| 28 | dnf install nmap |
| 29 | dnf install sssd-ldap |
| 30 | dnf install tftp-server |
| 31 | }}} |
| 32 | |
| 33 | |
| 34 | '''Configuración de NFS''' |
| 35 | |
| 36 | En el {{{/etc/exports}}}: |
| 37 | |
| 38 | {{{ |
| 39 | /TS3 172.17.224.0/255.255.255.0(ro,no_subtree_check) 150.214.110.47(rw,no_subtree_check,no_root_squash) |
| 40 | /homes 172.17.224.0/255.255.255.0(rw,no_subtree_check) |
| 41 | }}} |
| 42 | |
| 43 | '''Configuración de TFTP''' |
| 44 | |
| 45 | En el {{{/etc/systemd/system/tftp-server.service}}} |
| 46 | |
| 47 | {{{ |
| 48 | [Unit] |
| 49 | Description=Tftp Server |
| 50 | Requires=tftp-server.socket |
| 51 | Documentation=man:in.tftpd |
| 52 | |
| 53 | [Service] |
| 54 | ExecStart=/usr/sbin/in.tftpd -c -p -s /var/lib/tftpboot |
| 55 | StandardInput=socket |
| 56 | |
| 57 | [Install] |
| 58 | Also=tftp.socket |
| 59 | }}} |