1 / 14

Subnetting Exercise with IP Address and Subnet Mask

Practice exercises on subnetting featuring IP addresses, subnet masks, and gateways for computers A and B. Learn how to determine if they are on the same subnet.

Download Presentation

Subnetting Exercise with IP Address and Subnet Mask

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Risposta : No Perche’ A e B si trovano nella stessa sottorete.

  2. Esercizio : Computer A Ip address=192.168.40.6 subnet mask=255.255.255.248 Default gateway=192.168.40.4 Computer B Ip address=192.168.40.16 subnet mask=255.255.255.248 Domanda : A a B si trovano nella stessa sottorete ? Perche’ ?

  3. Risposta : NO 192 = 1 1 0 0 0 0 0 0 168 = 1 0 1 0 1 0 0 0 40 = 0 0 1 0 1 0 0 0 6 = 0 0 0 0 0 1 1 0 16 = 0 0 0 1 0 0 0 0 248 = 1 1 1 1 1 0 0 0 6 AND 248 = 0 0 0 0 0 0 0 0 16 AND 248 = 0 0 0 1 0 0 0 0 Percio’ il risultato dei due AND bit a bit e’ diverso e quindi A e B si trovano in sottoreti diverse.

  4. Esercizio : Computer A Ip address=192.168.40.6 subnet mask=255.255.255.248 Default gateway=192.168.40.4 Computer B Ip address=192.168.40.5 subnet mask=255.255.255.248 Domanda : A a B si trovano nella stessa sottorete ? Perche’ ?

  5. Risposta : SI 192 = 1 1 0 0 0 0 0 0 168 = 1 0 1 0 1 0 0 0 40 = 0 0 1 0 1 0 0 0 6 = 0 0 0 0 0 1 1 0 5 = 0 0 0 0 0 1 0 1 248 = 1 1 1 1 1 0 0 0 6 AND 248 = 0 0 0 0 0 0 0 0 5 AND 248 = 0 0 0 0 0 0 0 0 Percio’ il risultato dei due AND bit a bit e’ uguale e quindi A e B si trovano nella stessa sottorete.

  6. Dalla RFC 1918 : ... Private Address Space The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) We will refer to the first block as "24-bit block", the second as "20-bit block", and to the third as "16-bit" block. Note that the first block is a single class A network number, while the second block is a set of 16 contiguous class B network numbers, and third block is a set of 256 contiguous class C network numbers. ...

  7. Il livello application contiene numerosi programmi che possono interfacciarsi con la rete : percio’ il protocollo TCP/IP distingue ogni programma dagli altri attribuendo un codice numerico ai suoi pacchetti chiamato convenzionalmente “porta”. Ogni applicativo ha una propria “porta” specifica. I codici di porta sono compresi fra 0 e 65535. I primi 1024 codici sono attribuiti ad applicazioni specifiche; i successivi sono liberi.

  8. Esempi di porte standard 20/tcp File Transfer [Default Data] 21/tcp File Transfer [Control] 23/tcp Telnet 25/tcp Simple Mail Transfer 53/tcp Domain Name Server 80/tcp World Wide Web HTTP 110/tcp Post Office Protocol - Version 3 (noto come POP3) 443/tcp https (versione “secured”, criptata)

  9. Esempi di porte non standard (oltre il 1023) 31337 : applicativo “back orifice”, tipico programma con impronta virus 10008 : cheese worm 8875 - 8888 : Napster 8080 : tipici proxy HTTP 5800-5801-5900-5901 : VNC tipico programma amministrazione remota che non contiene le impronte tipiche dei programmi virus

  10. Iniziamo a prendere contatto con Windows 2000. Si tratta di un sistema operativo di casa Microsoft che ha segnato una svolta importante verso caratteristiche aperte al protocollo TCP/IP classico rispetto a quanto era per Windows NT4 (che lo ha preceduto) che presentava ancora numerose caratteristiche proprietarie cioe’ non facilmente interfacciabili e collegabili ad altri computer non-Windows. Windows 2000 costituisce una famiglia di sistemi operativi sufficientemente aperta. Il recente Windows 2003 Server ne e’ semplicemente una edizione piu’ sicura pur conservando tutte le caratteristiche.

  11. La famiglia di Windows 2000 comprende le versioni : Professional : computer desktop per uso singolo, client di rete Server : tipico server di rete con funzione web server; puo’ utilizzare hardware con un massimo di 4 processori e una RAM totale max. di 4 Gbytes Advancedserver : gestisce fino a 8 processori e l’eventula clustering a due canali Datacenterserver : fino a 16 processori con servizi di bilanciamento del carico

  12. Windows 2000 server (di seguito sara’ indicato con w2k) richiede necessariamente un hardware con al minimo : CPU : pentium 133 MHz RAM : 128 Mbytes Display : VGA 800 x 600 CD ROM drive Scheda di rete Circa 1 GygaByte di spazio libero su disco

  13. In realta’ le necessita’ sono decisamente maggiori : CPU : pentium 2 400 MHz RAM : 256 MBytes Display : VGA 800 x 600 CD ROM drive Scheda di rete Circa 1 GygaByte di spazio libero su disco

  14. La struttura del sistema operativo e’ come per Unix (e come per il precedente NT4) costituita da un Kernel (cuore) monolitico cosi’ com’e’ anche per il recente Windows XP e Windows server 2003.

More Related