• info@it-impresa.it

  • +39 0372 838068

  • Lavora con noi

  • Apri Ticket

itimpresa soluzioni informatiche
  • Il Gruppo
  • Chi Siamo
  • Servizi IT
  • Software
  • Cyber Security
  • Blog
    • Data Center
    • Cyber Security
    • Analytics
    • Approfondimenti
    • Casi di Successo
  • Contatti

DHCP in informatica: cos’è, a cosa serve, come abilitarlo

  • Home
  • Blog
  • Data Center
  • DHCP in informatica: cos’è, a cosa serve, come abilitarlo
DHCP in informatica: cos’è, a cosa serve, come abilitarlo
Data di pubblicazione: 14 Dicembre 2022

DHCP (Dynamic Host Configuration Protocol) è un protocollo che registra automaticamente i parametri di rete di ogni nuovo dispositivo nell’infrastruttura IT. È la base per l’utilizzo quotidiano di Internet da qualsiasi dispositivo: PC, laptop, smartphone, tablet, Smart TV, ecc. In una casa intelligente, è il DHCP che consente ai singoli dispositivi intelligenti di connettersi a Internet e offre le funzionalità più avanzate e caratteristiche. L’utilizzo di DHCP semplifica notevolmente il lavoro degli amministratori di sistema in caso di espansione della rete.

Indice dei contenuti

  • Differenza tra DHCP e IP statico
  • Come funziona DHCP?
  • Come abilitare il DHCP

Differenza tra DHCP e IP statico

Gli indirizzi IP statici consentono ai dispositivi di rete di mantenere lo stesso indirizzo IP in modo permanente. Un amministratore di rete deve tenere traccia di ogni dispositivo assegnato staticamente per garantire che questo indirizzo IP non venga utilizzato di nuovo. Poiché un indirizzo IP statico richiede una configurazione manuale, può creare problemi di rete se lo si utilizza senza una buona conoscenza di TCP/IP.

Considerando che DHCP è un protocollo per automatizzare l’attività di assegnazione degli indirizzi IP, DHCP è vantaggioso per gli amministratori di rete perché elimina l’attività ripetitiva di assegnare più indirizzi IP ad ogni dispositivo su una rete. Potrebbe volerci solo un minuto, ma quando configuri centinaia di dispositivi di rete, è davvero time-consuming. Anche i punti di accesso wireless utilizzano DHCP, quindi gli amministratori non devono configurare i propri dispositivi da soli. Per i punti di accesso wireless, gli switch di rete PoE supportano il collegamento dinamico definito dall’utente, generalmente utilizzato per allocare gli indirizzi IP per ogni dispositivo connesso insieme. Inoltre, ciò che rende attraente DHCP è che è più economico degli indirizzi IP statici con costi di manutenzione inferiori.

È certo che DHCP è l’opzione più popolare per la maggior parte degli utenti in quanto sono più facili ed economici da implementare. Avere un indirizzo IP statico e determinare quale indirizzo IP è disponibile è davvero fastidioso e richiede tempo, soprattutto per coloro che non hanno familiarità con il processo. Tuttavia, un indirizzo IP statico è ancora richiesto e utile se si ospita un sito Web da casa, si dispone di un file server sulla rete, si utilizzano stampanti di rete o si utilizza un programma di accesso remoto. Poiché un indirizzo IP statico non cambia mai, altri dispositivi possono sempre sapere esattamente come contattare un dispositivo utilizzando un indirizzo IP statico.

Come funziona DHCP?

Ogni dispositivo per connettersi alla rete deve avere un indirizzo IP che lo identifichi. Quando sono apparse le prime reti private, questo processo è stato fatto manualmente: ogni utente che voleva connettere un dispositivo gli ha assegnato lui stesso un indirizzo IP. Quando sono apparse le reti aziendali, la situazione si è complicata ed è nata l’idea di creare un sistema per la distribuzione automatica degli indirizzi IP. In altre parole, furono gettate le basi per quello che sarebbe diventato DHCP.

Oggi i server e i router DHCP sono completamente automatizzati e assegnano indirizzi IP ai dispositivi a cui vuoi connetterti. Quando un client (che può essere un PC, uno smartphone, un tablet) si connette alla rete, invia un opportuno segnale (DHCPDISCOVER) al server DHCP, che risponde con un indirizzo IP (DHCPOFFER). Il client riceve queste informazioni e chiede al server il permesso di utilizzare l’indirizzo precedentemente proposto (DHCPREQUEST). A questo punto, il server DHCP approva la richiesta e il client può quindi connettersi alla rete utilizzando questo indirizzo IP.

Come abilitare il DHCP

Dopo aver installato il server DHCP, è necessario configurarlo. Per impostazione predefinita, il servizio DHCP sui router è già configurato. È sufficiente connettere il dispositivo client tramite Wi-Fi o cavo e gli verrà automaticamente assegnato un indirizzo IP. Tuttavia, potrebbe essere necessario modificare le impostazioni DHCP, disabilitarlo o abilitarlo. Prendi in considerazione l’impostazione di DHCP utilizzando l’esempio di un router TP-link. Per altri router, l’algoritmo sarà uguale.

Entriamo nell’interfaccia web del router e nel menu a destra vediamo la voce “DHCP” e la sottovoce “Setting DHCP”. Nella scheda che si apre, puoi modificare le impostazioni predefinite. Puoi anche abilitare o disabilitare il servizio DHCP.

Il servizio DHCP deve essere impostato su un intervallo di indirizzi IP da utilizzare, che rientrano nei campi appropriati. L’indirizzo IP iniziale è rispettivamente il primo indirizzo nell’intervallo e l’indirizzo IP finale è l’ultimo.

Il prossimo elemento obbligatorio è il periodo di validità dell’indirizzo in minuti. Questo è il tempo per il quale un particolare IP può essere assegnato a un dispositivo. Dopo la scadenza, l’IP può essere modificato o assegnato a un altro dispositivo.

Non è necessario compilare il resto degli elementi, DHCP stesso indicherà i parametri necessari per i dispositivi client. Tuttavia, questi parametri possono essere inseriti manualmente se lo si desidera.

Il gateway predefinito è l’indirizzo IP del router, il canale attraverso il quale viene scambiato il traffico con Internet. Di solito viene indicato se l’accesso a Internet avviene tramite un punto di accesso con un indirizzo diverso. Ma se nella tua rete è presente un solo router ed è direttamente connesso a Internet, non è necessario registrare nulla.

Il dominio predefinito è il nome di dominio della tua rete. Nelle piccole reti in cui viene utilizzato un numero limitato di dispositivi client, non ha senso configurarlo.

Il server DNS preferito e alternativo viene generalmente specificato dall’ISP. Ma qui puoi inserire i server DNS pubblici di Google: 8.8.8.8 e 8.8.4.4. Questo, ad esempio, aiuta a risolvere i problemi con l’accesso a Internet: succede che il DNS del provider è difettoso, c’è una connessione, ma le pagine non si aprono. Inoltre, spesso ti consente di aggirare il blocco dell’accesso a determinate risorse, come i torrent.

Dopo aver apportato le modifiche, fare clic sul pulsante “Salva” per applicare le nuove impostazioni.

Affinché la tua rete inizi a funzionare con i nuovi parametri, il router deve essere riavviato.

Affinché i dispositivi client possano connettersi al servizio DHCP, devono essere impostati su Ottieni automaticamente un indirizzo IP nelle impostazioni di connessione di rete.

Desideri parlare con un nostro esperto? Contattaci

    Ultime News Data Center
    • Multi-cloud vs Hybrid cloud: Confronto, Cosa sono, Differenze
      Multi-cloud vs Hybrid cloud: Confronto, Cosa sono, Differenze
      29 Novembre 2023
    • OLAP: Cos’è, Come funziona, Caratteristiche e Tipologie
      OLAP: Cos’è, Come funziona, Caratteristiche e Tipologie
      27 Novembre 2023
    • ChatGPT: Cos’è, cosa chiedergli, a cosa serve e come usarlo gratis
      ChatGPT: Cos’è, cosa chiedergli, a cosa serve e come usarlo gratis
      1 Novembre 2023
    • Tipi di cloud computing e modelli di servizio
      Tipi di cloud computing e modelli di servizio
      30 Ottobre 2023
    • Cambio server: Perché farlo, Quando e Consigli
      Cambio server: Perché farlo, Quando e Consigli
      21 Ottobre 2023
    • Data Transformation: Cos’è, Processo, Tipologie e tecniche
      Data Transformation: Cos’è, Processo, Tipologie e tecniche
      14 Ottobre 2023
    • OLTP vs OLAP: Cosa sono, Differenze, Vantaggi e Svantaggi
      OLTP vs OLAP: Cosa sono, Differenze, Vantaggi e Svantaggi
      8 Ottobre 2023
    • ERP (Enterprise Resource Planning): cos’è e perché è importante
      ERP (Enterprise Resource Planning): cos’è e perché è importante
      19 Settembre 2023
    • Data mesh: cos’è, differenze e architettura
      Data mesh: cos’è, differenze e architettura
      14 Settembre 2023
    • Switch di rete: cos’è, tipologie e vantaggi
      Switch di rete: cos’è, tipologie e vantaggi
      31 Agosto 2023

    Hanno scelto IT Impresa

    clienti
    clienti
    clienti
    clienti
    clienti
    clienti
    clienti
    clienti
    clienti
    itimpresa soluzioni informatiche

    IT Impresa è una PMI Innovativa.
    IT Impresa progetta, realizza e gestisce soluzioni informatiche per le aziende che vogliono mettere la tecnologia al servizio del loro successo. Consulenza informatica, servizi IT, Cyber Security, consulenza software, abbinate a eccellenza, innovazione e affidabilità.

    Contatti
    • Cremona Via Gazzoletto 4C, 26100

      Monza Via Amati 76, 20900

      Torino Via Ventimiglia 16/1, 10126

      Fidenza Via San Michele 25/A, 43036

    • info@it-impresa.it

    • +39 0372 838068

    • Lavora con noi

    • Apri Ticket

    • Scarica TeamViewer
    Links

    Servizi IT

    Iperconvergenza

    Gestione Database

    Cyber Security

    Gestione Cloud

    © Copyright 2023 IT Impresa | P.IVA 01515690194 | Capitale sociale € 190.000,00 i.v. | REA CR 178399 | pec: itimpresa@legalmail.it | note legali | privacy policy

    Utilizziamo i cookie per garantire la migliore esperienza sul nostro sito. Puoi accettare tutti i cookie oppure personalizzarli. Leggi tutto
    Personalizza CookieAccetta Tutti
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Sempre abilitato
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurataDescrizione
    _GRECAPTCHA5 months 27 daysThis cookie is set by the Google recaptcha service to identify bots to protect the website against malicious spam attacks.
    _GRECAPTCHA5 months 27 daysThis cookie is set by the Google recaptcha service to identify bots to protect the website against malicious spam attacks.
    cookielawinfo-checkbox-advertisement1 yearSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
    cookielawinfo-checkbox-advertisement1 yearSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    CookieLawInfoConsent1 yearRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
    CookieLawInfoConsent1 yearRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    CookieDurataDescrizione
    bcookie2 yearsLinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser ID.
    bscookie2 yearsLinkedIn sets this cookie to store performed actions on the website.
    langsessionLinkedIn sets this cookie to remember a user's language setting.
    lidc1 dayLinkedIn sets the lidc cookie to facilitate data center selection.
    UserMatchHistory1 monthLinkedIn sets this cookie for LinkedIn Ads ID syncing.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    CookieDurataDescrizione
    __kla_id2 yearsCookie set to track when someone clicks through a Klaviyo email to a website.
    SRM_B1 year 24 daysUsed by Microsoft Advertising as a unique ID for visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    CookieDurataDescrizione
    _ga2 yearsThe _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
    _ga2 yearsThe _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
    _gat_UA-137720848-11 minuteA variation of the _gat cookie set by Google Analytics and Google Tag Manager to allow website owners to track visitor behaviour and measure site performance. The pattern element in the name contains the unique identity number of the account or website it relates to.
    _gat_UA-35242002-11 minuteA variation of the _gat cookie set by Google Analytics and Google Tag Manager to allow website owners to track visitor behaviour and measure site performance. The pattern element in the name contains the unique identity number of the account or website it relates to.
    _gcl_au3 monthsProvided by Google Tag Manager to experiment advertisement efficiency of websites using their services.
    _gid1 dayInstalled by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
    _gid1 dayInstalled by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
    _hjAbsoluteSessionInProgress30 minutesHotjar sets this cookie to detect the first pageview session of a user. This is a True/False flag set by the cookie.
    _hjFirstSeen30 minutesHotjar sets this cookie to identify a new user’s first session. It stores a true/false value, indicating whether it was the first time Hotjar saw this user.
    _hjIncludedInPageviewSample2 minutesHotjar sets this cookie to know whether a user is included in the data sampling defined by the site's pageview limit.
    _hjIncludedInSessionSample2 minutesHotjar sets this cookie to know whether a user is included in the data sampling defined by the site's daily session limit.
    _hjTLDTestsessionTo determine the most generic cookie path that has to be used instead of the page hostname, Hotjar sets the _hjTLDTest cookie to store different URL substring alternatives until it fails.
    ajs_anonymous_id1 yearThis cookie is set by Segment to count the number of people who visit a certain site by tracking if they have visited before.
    CONSENT2 yearsYouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    CookieDurataDescrizione
    _fbp3 monthsThis cookie is set by Facebook to display advertisements when either on Facebook or on a digital platform powered by Facebook advertising, after visiting the website.
    _fbp3 monthsThis cookie is set by Facebook to display advertisements when either on Facebook or on a digital platform powered by Facebook advertising, after visiting the website.
    ANONCHK10 minutesThe ANONCHK cookie, set by Bing, is used to store a user's session ID and also verify the clicks from ads on the Bing search engine. The cookie helps in reporting and personalization as well.
    fr3 monthsFacebook sets this cookie to show relevant advertisements to users by tracking user behaviour across the web, on sites that have Facebook pixel or Facebook social plugin.
    fr3 monthsFacebook sets this cookie to show relevant advertisements to users by tracking user behaviour across the web, on sites that have Facebook pixel or Facebook social plugin.
    MUID1 year 24 daysBing sets this cookie to recognize unique web browsers visiting Microsoft sites. This cookie is used for advertising, site analytics, and other operations.
    test_cookie15 minutesThe test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
    VISITOR_INFO1_LIVE5 months 27 daysA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
    YSCsessionYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
    yt-remote-connected-devicesneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
    yt-remote-device-idneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
    yt.innertube::nextIdneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
    yt.innertube::requestsneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    CookieDurataDescrizione
    __awc_tld_test__sessionNo description
    _clck1 yearNo description
    _clsk1 dayNo description
    _hjSession_195624030 minutesNo description
    _hjSessionUser_19562401 yearNo description
    AnalyticsSyncHistory1 monthNo description
    CLID1 yearNo description
    last_pys_landing_page7 daysNo description
    last_pysTrafficSource7 daysNo description
    li_gc2 yearsNo description
    pys_first_visit7 daysNo description
    pys_landing_page7 daysNo description
    pys_session_limit1 hourNo description
    pys_start_sessionsessionNo description
    pysTrafficSource7 daysNo description
    SMsessionNo description available.
    ACCETTA E SALVA
    Powered by CookieYes Logo

    10 Passi fondamentali per la sicurezza delle PMI

    Scarica la GUIDA PRATICA per la sicurezza informatica delle PMI.

    Proteggi i tuoi dati e assicura la continuità aziendale.

    SCARICA ORA