Herramientas de usuario

Herramientas del sitio


informatica:certificaciones:lpic:lpic-2:205_network_configuration:205.3

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
informatica:certificaciones:lpic:lpic-2:205_network_configuration:205.3 [2021/04/08 12:55] – [dig] tempwininformatica:certificaciones:lpic:lpic-2:205_network_configuration:205.3 [2021/06/22 13:42] (actual) tempwin
Línea 224: Línea 224:
 Permite el bloqueo de determinados servicios a través de la red. Permite el bloqueo de determinados servicios a través de la red.
  
-Utiliza la librería ''libwrap''.+Utiliza la librería ''libwrap'' que permite monitorizar y controlar las conexiones TCP entrantes.
  
 Los ficheros de configuración son: Los ficheros de configuración son:
Línea 263: Línea 263:
 Quiere decir que los hosts que pertenzcan a ''.baddomain.org'' no podrán acceder a nada, salvo los hosts de trusted.baddomain.org. Quiere decir que los hosts que pertenzcan a ''.baddomain.org'' no podrán acceder a nada, salvo los hosts de trusted.baddomain.org.
  
-ALL: Todos los hosts. +  * ''ALL'': Todos los hosts. 
-LOCAL: Todos los host de la red local. +  * ''LOCAL'': Todos los host de la red local. 
-UNKNOWN: Host con nombre sin resolver. +  * ''UNKNOWN'': Host con nombre sin resolver. 
-KNOWN: Host con nombre conocido. +  * ''KNOWN'': Host con nombre conocido. 
-EXCEPT: Permite la exclusion de hosts. +  * ''EXCEPT'': Permite la exclusion de hosts.
-205.3 Solución de Problemas de Red (4) +
-TCP WRAPPERS +
-/etc/hosts.allow +
-vsftpd: 192.168.2.5 +
-telnet: ALL +
-/etc/hosts.deny +
-ALL: .baddomain.org EXCEPT trusted.baddomain.org +
-205.3 Solución de Problemas de Red (4) +
-PREGUNTA DE EXAMEN: +
-A DNS server has the IP address 192.168.0.1. Which TWO of the +
-following need to be done on a client machine to use this DNS +
-server? +
-A. Add nameserver 192.168.0.1 to /etc/resolv.conf +
-B. Run route add nameserver 192.168.0.1 +
-C. Run ifconfig eth0 nameserver 192.168.0.1 +
-D. Ensure that the dns service is listed in the hosts entry +
-in the /etc/nsswitch.conf file +
-E. Run bind add nameserver 192.168.0.1 +
-205.3 Solución de Problemas de Red (4) +
-PREGUNTA DE EXAMEN: +
-Considering the following kernel IP routing table now, which of the following +
-commands must be remove the route to the network 10.10.1.0/24? +
-Kernel IP routing table +
-Destination Gateway Genmask Flags Metric Ref Use Iface +
-200.207.199.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 +
-172.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 +
-192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 +
-10.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1 +
-127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo +
-0.0.0.0 200.207.199.162 0.0.0.0 UG 0 0 0 ppp0 +
-A.route del 10.10.1.0 +
-B.route del 10.10.1.0/24 +
-C.route del -net 10.10.1.0/24 +
-D.route del 10.10.1.0/24 gw 192.168.246.11 +
-E.route del -net 10.10.1.0 +
-</code> +
 ===== Tests ===== ===== Tests =====
  
Línea 320: Línea 283:
 <code> <code>
 Kernel IP routing table Kernel IP routing table
-Destination Gateway Genmask Flags Metric Ref Use Iface +Destination        Gateway          Genmask          Flags Metric Ref Use Iface 
-200.207.199.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 +200.207.199.162    0.0.0.0          255.255.255.255  UH 0 0 0 ppp0 
-172.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 +172.16.87.0        0.0.0.0          255.255.255.0    U 0 0 0 eth0 
-192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 +192.168.246.0      0.0.0.0          255.255.255.0    U 0 0 0 eth1 
-10.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1 +10.10.1.0          192.168.246.11   255.255.255.0    UG 0 0 0 eth1 
-127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo +127.0.0.0          0.0.0.0          255.0.0.0        U 0 0 0 lo 
-0.0.0.0 200.207.199.162 0.0.0.0 UG 0 0 0 ppp0+0.0.0.0            200.207.199.162  0.0.0.0          UG 0 0 0 ppp0
 </code> </code>
  
-  * route del 10.10.1.0 +  * ''route del 10.10.1.0'' 
-  * route del 10.10.1.0/24 +  * ''route del 10.10.1.0/24'' 
-  * route del -net 10.10.1.0/24 +  * ''route del -net 10.10.1.0/24'' (**Solución**) 
-  * route del 10.10.1.0/24 gw 192.168.246.11 +  * ''route del 10.10.1.0/24 gw 192.168.246.11'' 
-  * route del -net 10.10.1.0+  * ''route del -net 10.10.1.0''
  
  
informatica/certificaciones/lpic/lpic-2/205_network_configuration/205.3.1617879313.txt.gz · Última modificación: por tempwin